{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5ab154f1463a111e1dc8fd5d31eaa7a2a71fe2e6"
            },
            {
              "fixed": "4993f4e99dd231a2e0cdfe3e2cd8733a99bd1737"
            },
            {
              "fixed": "b234b2562450ea07132d744e1786d36183a52689"
            },
            {
              "fixed": "f17bedcd29517739a6491c1c51cc6a593f6a0332"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.17.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-139603.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Skip zero-length stream writes\n\nA stream write whose formatted output is empty still allocates a stream\nelement and links it into the stream log. Capacity accounting only counts\npayload bytes, so such elements never count against the stream limit, and a\nprogram that keeps producing empty output allocates elements without bound\nuntil a reader drains them.\n\nReturn success without allocating anything when there is nothing to write,\nfor both bpf_stream_vprintk() and staged writes. Every element in a stream\nlog then carries at least one byte, which later changes rely on when they\nderive read readiness from published byte counts.",
  "id": "CVE-2026-139603",
  "modified": "2026-11-30T14:45:33.291223588Z",
  "published": "2026-11-30T13:36:16.730Z",
  "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/4993f4e99dd231a2e0cdfe3e2cd8733a99bd1737"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b234b2562450ea07132d744e1786d36183a52689"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f17bedcd29517739a6491c1c51cc6a593f6a0332"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139603.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139603"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Skip zero-length stream writes"
}