{"api_version":"1","generated_at":"2026-11-30T19:24:02+00:00","cve":"CVE-2026-139178","urls":{"html":"https://cve.report/CVE-2026-139178","api":"https://cve.report/api/cve/CVE-2026-139178.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139178","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139178"},"summary":{"title":"net: lan966x: do not inject uninitialised bytes past skb->len","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: do not inject uninitialised bytes past skb->len\n\nlan966x_port_ifh_xmit() writes the frame to the injection FIFO one\n32-bit word at a time, and pads frames shorter than 60 bytes with zero\nwords.\n\nBefore this patch, the last word is loaded whole even when skb->len is\nnot a multiple of four, so 1 to 3 bytes past the end of the frame are\nread. For a frame shorter than 60 bytes those bytes are also\ntransmitted, as VLD_BYTES marks the whole last word valid and the\npadding starts at the next word.\n\nWrite the trailing bytes from a zeroed word. The number of words written\nand VLD_BYTES are unchanged.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with\nregister injection, by sending a\n57 byte frame and capturing it on the link partner: byte 57 of the\npadded frame was not zero. With the fix all padding bytes are zero.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:36","updated_at":"2026-11-30 14:18:36"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598","name":"https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7","name":"https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053","name":"https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5","name":"https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899","name":"https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4","name":"https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139178","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139178","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 33041f173345986e7139d1687b703eb373c1a598 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 e32fbfc5ad788b85fc8ed692981b643db8cf8053 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 99d87e161915fc55423f9b6367f4f911605efbc7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 b191152faaa57cd5b5b72f20c4a2d2b8dc96f899 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 a287ac76e7b5735bce619c060237095824eb0ae5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d28d6d2e37d10d607f931d25c835a0bd94d370e3 b4a7180558eb3cd8affa1e240b22171425bdfcb4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"33041f173345986e7139d1687b703eb373c1a598","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"},{"lessThan":"e32fbfc5ad788b85fc8ed692981b643db8cf8053","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"},{"lessThan":"99d87e161915fc55423f9b6367f4f911605efbc7","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"},{"lessThan":"b191152faaa57cd5b5b72f20c4a2d2b8dc96f899","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"},{"lessThan":"a287ac76e7b5735bce619c060237095824eb0ae5","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"},{"lessThan":"b4a7180558eb3cd8affa1e240b22171425bdfcb4","status":"affected","version":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/microchip/lan966x/lan966x_main.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.17"},{"lessThan":"5.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: do not inject uninitialised bytes past skb->len\n\nlan966x_port_ifh_xmit() writes the frame to the injection FIFO one\n32-bit word at a time, and pads frames shorter than 60 bytes with zero\nwords.\n\nBefore this patch, the last word is loaded whole even when skb->len is\nnot a multiple of four, so 1 to 3 bytes past the end of the frame are\nread. For a frame shorter than 60 bytes those bytes are also\ntransmitted, as VLD_BYTES marks the whole last word valid and the\npadding starts at the next word.\n\nWrite the trailing bytes from a zeroed word. The number of words written\nand VLD_BYTES are unchanged.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with\nregister injection, by sending a\n57 byte frame and capturing it on the link partner: byte 57 of the\npadded frame was not zero. With the fix all padding bytes are zero."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:18.133Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598"},{"url":"https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053"},{"url":"https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7"},{"url":"https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899"},{"url":"https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5"},{"url":"https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4"}],"title":"net: lan966x: do not inject uninitialised bytes past skb->len","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139178","datePublished":"2026-11-30T13:32:18.133Z","dateReserved":"2026-11-30T13:22:15.918Z","dateUpdated":"2026-11-30T13:32:18.133Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:36","lastModifiedDate":"2026-11-30 14:18:36","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139178","Ordinal":"1","Title":"net: lan966x: do not inject uninitialised bytes past skb->len","CVE":"CVE-2026-139178","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139178","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: do not inject uninitialised bytes past skb->len\n\nlan966x_port_ifh_xmit() writes the frame to the injection FIFO one\n32-bit word at a time, and pads frames shorter than 60 bytes with zero\nwords.\n\nBefore this patch, the last word is loaded whole even when skb->len is\nnot a multiple of four, so 1 to 3 bytes past the end of the frame are\nread. For a frame shorter than 60 bytes those bytes are also\ntransmitted, as VLD_BYTES marks the whole last word valid and the\npadding starts at the next word.\n\nWrite the trailing bytes from a zeroed word. The number of words written\nand VLD_BYTES are unchanged.\n\nFound by an AI code review agent. Reproduced on a lan9668 board with\nregister injection, by sending a\n57 byte frame and capturing it on the link partner: byte 57 of the\npadded frame was not zero. With the fix all padding bytes are zero.","Type":"Description","Title":"net: lan966x: do not inject uninitialised bytes past skb->len"}]}}}