{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd"
            },
            {
              "fixed": "046cdb35953063b5d38fa7de541c0bb86011feb2"
            },
            {
              "fixed": "939bb6270ee32cfef0631b30ff07a9e0b8806e64"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "928d354ae3557e8f755a227e67be88034eb3cd7f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "de1055e7f9e67af32b1f3376066272b04e5223c0"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "37ad2bb11e9de92cb7b94548705eeedd87f7d392"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "8674e2db06cff6b50f2216eed9a761d15425bb34"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.10.265"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.15.216"
            },
            {
              "fixed": "5.16"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.1.183"
            },
            {
              "fixed": "6.2"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.6.148"
            },
            {
              "fixed": "6.7"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.12.101"
            },
            {
              "fixed": "6.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.18.42"
            },
            {
              "fixed": "6.19"
            }
          ],
          "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-139606.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Leave out the hidden exit edge of a subprogram without an exit\n\nvisit_abnormal_return_insn() gives tail_call and ld_{abs,ind} insns a\nsecond successor, the exit_idx of their subprogram, so that the hidden\nexit from the subprogram is part of the CFG. check_subprogs() only\nassigns exit_idx when it walks over a BPF_EXIT, and a subprogram whose\nlast insn jumps back into itself never has one, so exit_idx stays zero\nand the edge points at insn 0 of the program:\n\n  0: r0 = 0\n  1: r0 = *(u8 *)skb[0]\n  2: goto -2\n\nFor a subprogram other than main, update_insn() then reads the liveness\nmasks at a negative relative index. Such a subprogram can still load\nwhen it leaves through a bpf_throw(), so mark exit_idx as unset in that\ncase and leave the hidden edge out, as there is no exit for it to reach.",
  "id": "CVE-2026-139606",
  "modified": "2026-12-01T20:45:48.970315869Z",
  "published": "2026-11-30T13:36:18.368Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/046cdb35953063b5d38fa7de541c0bb86011feb2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139606.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139606"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "bpf: Leave out the hidden exit edge of a subprogram without an exit"
}