{"id":"CVE-2026-139178","aliases":["CVE-2026-139178"],"related":[],"kind":"vulnerability","state":"published","title":"net: lan966x: do not inject uninitialised bytes past skb->len","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:32:18.133Z","modified":"2026-11-30T14:18:36.893Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"33041f173345986e7139d1687b703eb373c1a598","status":"affected"},{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"e32fbfc5ad788b85fc8ed692981b643db8cf8053","status":"affected"},{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"99d87e161915fc55423f9b6367f4f911605efbc7","status":"affected"},{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"b191152faaa57cd5b5b72f20c4a2d2b8dc96f899","status":"affected"},{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"a287ac76e7b5735bce619c060237095824eb0ae5","status":"affected"},{"type":"git","introduced":"d28d6d2e37d10d607f931d25c835a0bd94d370e3","fixed":"b4a7180558eb3cd8affa1e240b22171425bdfcb4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139178","url":"https://www.cve.org/CVERecord?id=CVE-2026-139178","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:18.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139178","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139178","licence":"Public domain","modified":"2026-11-30T14:18:36.893Z"}],"updatedAt":"2026-11-30T14:32:54.289Z","epss":{"score":0.00222,"percentile":0.13675,"date":"2026-12-01T12:00:22.000Z"}}