{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d28d6d2e37d10d607f931d25c835a0bd94d370e3"
            },
            {
              "fixed": "33041f173345986e7139d1687b703eb373c1a598"
            },
            {
              "fixed": "e32fbfc5ad788b85fc8ed692981b643db8cf8053"
            },
            {
              "fixed": "99d87e161915fc55423f9b6367f4f911605efbc7"
            },
            {
              "fixed": "b191152faaa57cd5b5b72f20c4a2d2b8dc96f899"
            },
            {
              "fixed": "a287ac76e7b5735bce619c060237095824eb0ae5"
            },
            {
              "fixed": "b4a7180558eb3cd8affa1e240b22171425bdfcb4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.17.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139178.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: lan966x: do not inject uninitialised bytes past skb-\u003elen\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-\u003elen 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.",
  "id": "CVE-2026-139178",
  "modified": "2026-11-30T14:46:06.224811716Z",
  "published": "2026-11-30T13:32:18.133Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/33041f173345986e7139d1687b703eb373c1a598"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/99d87e161915fc55423f9b6367f4f911605efbc7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a287ac76e7b5735bce619c060237095824eb0ae5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b191152faaa57cd5b5b72f20c4a2d2b8dc96f899"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b4a7180558eb3cd8affa1e240b22171425bdfcb4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e32fbfc5ad788b85fc8ed692981b643db8cf8053"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139178.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139178"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: lan966x: do not inject uninitialised bytes past skb-\u003elen"
}