{"id":"CVE-2026-143164","state":"PUBLISHED","title":"macsec: reject frames that decapsulate into runt Ethernet frames","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmacsec: reject frames that decapsulate into runt Ethernet frames\n\nWhen an SCI is unknown and the C bit is clear, macsec_handle_frame()\nremoves the SecTAG and the default ICV without checking how much of the\nframe remains. A short frame can therefore become an skb shorter than\nETH_HLEN. eth_type_trans() cannot pull its Ethernet header, and a second\nstacked MACsec device can copy stale skb headroom into a packet delivered\nto a packet socket.\n\nThe matched-SCI path has a related hole: macsec_validate_skb() accepts a\nshort_length of one, so a frame that passes the existing length check can\nstill become a 13-byte Ethernet frame.\n\nRequire enough bytes for the MACsec overhead and a complete Ethernet\nheader before decapsulating an unknown-SCI frame. Apply the same bound\nin macsec_validate_skb(), using the selected SecY's ICV length, to cover\nthe no-SA, synchronous-decrypt and asynchronous-decrypt delivery paths.\nLeave other unknown-SCI handling unchanged.","publishedAt":"2026-12-03T09:20:02.377Z","updatedAt":"2026-12-03T09:20:02.377Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"2edba845227b628e0da5930160f83ad0dce4a6cf","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"92b5b6a909653128b74753dff6be369e11ea2fd4","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"8a66dd77c4344b729f9ea5986d7c6eacc1147586","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"1d5e2c57e9ffc134e14b3f837c8d7c53b508bd22","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/macsec.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.6","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/macsec.c"]}],"references":["https://git.kernel.org/stable/c/2edba845227b628e0da5930160f83ad0dce4a6cf","https://git.kernel.org/stable/c/92b5b6a909653128b74753dff6be369e11ea2fd4","https://git.kernel.org/stable/c/8a66dd77c4344b729f9ea5986d7c6eacc1147586","https://git.kernel.org/stable/c/1d5e2c57e9ffc134e14b3f837c8d7c53b508bd22"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143164.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143164","state":"PUBLISHED","datePublished":"2026-12-03T09:20:02.377Z","dateUpdated":"2026-12-03T09:20:02.377Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.356Z"},"containers":{"cna":{"title":"macsec: reject frames that decapsulate into runt Ethernet frames","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmacsec: reject frames that decapsulate into runt Ethernet frames\n\nWhen an SCI is unknown and the C bit is clear, macsec_handle_frame()\nremoves the SecTAG and the default ICV without checking how much of the\nframe remains. A short frame can therefore become an skb shorter than\nETH_HLEN. eth_type_trans() cannot pull its Ethernet header, and a second\nstacked MACsec device can copy stale skb headroom into a packet delivered\nto a packet socket.\n\nThe matched-SCI path has a related hole: macsec_validate_skb() accepts a\nshort_length of one, so a frame that passes the existing length check can\nstill become a 13-byte Ethernet frame.\n\nRequire enough bytes for the MACsec overhead and a complete Ethernet\nheader before decapsulating an unknown-SCI frame. Apply the same bound\nin macsec_validate_skb(), using the selected SecY's ICV length, to cover\nthe no-SA, synchronous-decrypt and asynchronous-decrypt delivery paths.\nLeave other unknown-SCI handling unchanged."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"2edba845227b628e0da5930160f83ad0dce4a6cf","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"92b5b6a909653128b74753dff6be369e11ea2fd4","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"8a66dd77c4344b729f9ea5986d7c6eacc1147586","versionType":"git"},{"version":"c09440f7dcb304002dfced8c0fea289eb25f2da0","status":"affected","lessThan":"1d5e2c57e9ffc134e14b3f837c8d7c53b508bd22","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/macsec.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.6","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/macsec.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/2edba845227b628e0da5930160f83ad0dce4a6cf"},{"url":"https://git.kernel.org/stable/c/92b5b6a909653128b74753dff6be369e11ea2fd4"},{"url":"https://git.kernel.org/stable/c/8a66dd77c4344b729f9ea5986d7c6eacc1147586"},{"url":"https://git.kernel.org/stable/c/1d5e2c57e9ffc134e14b3f837c8d7c53b508bd22"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:02.377Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}