{"api_version":"1","generated_at":"2026-11-30T15:21:43+00:00","cve":"CVE-2026-139606","urls":{"html":"https://cve.report/CVE-2026-139606","api":"https://cve.report/api/cve/CVE-2026-139606.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139606","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139606"},"summary":{"title":"bpf: Leave out the hidden exit edge of a subprogram without an exit","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:42","updated_at":"2026-11-30 14:19:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64","name":"https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/046cdb35953063b5d38fa7de541c0bb86011feb2","name":"https://git.kernel.org/stable/c/046cdb35953063b5d38fa7de541c0bb86011feb2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139606","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139606","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd 046cdb35953063b5d38fa7de541c0bb86011feb2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd 939bb6270ee32cfef0631b30ff07a9e0b8806e64 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 928d354ae3557e8f755a227e67be88034eb3cd7f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de1055e7f9e67af32b1f3376066272b04e5223c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 37ad2bb11e9de92cb7b94548705eeedd87f7d392 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8674e2db06cff6b50f2216eed9a761d15425bb34 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.265 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.216 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.183 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.148 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.101 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.42 6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 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":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"046cdb35953063b5d38fa7de541c0bb86011feb2","status":"affected","version":"e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd","versionType":"git"},{"lessThan":"939bb6270ee32cfef0631b30ff07a9e0b8806e64","status":"affected","version":"e40f5a6bf88a781d5f81bc6b8aab9ac31d8c98dd","versionType":"git"},{"status":"affected","version":"928d354ae3557e8f755a227e67be88034eb3cd7f","versionType":"git"},{"status":"affected","version":"8a800497d9f6c2ec9c2c1ba7b71d0ac2ea7f7bbe","versionType":"git"},{"status":"affected","version":"de1055e7f9e67af32b1f3376066272b04e5223c0","versionType":"git"},{"status":"affected","version":"37ad2bb11e9de92cb7b94548705eeedd87f7d392","versionType":"git"},{"status":"affected","version":"8674e2db06cff6b50f2216eed9a761d15425bb34","versionType":"git"},{"status":"affected","version":"ce01a4e5cfac7adbe0be565f90cd32ecbb2f8337","versionType":"git"},{"lessThan":"5.11","status":"affected","version":"5.10.265","versionType":"semver"},{"lessThan":"5.16","status":"affected","version":"5.15.216","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.183","versionType":"semver"},{"lessThan":"6.7","status":"affected","version":"6.6.148","versionType":"semver"},{"lessThan":"6.13","status":"affected","version":"6.12.101","versionType":"semver"},{"lessThan":"6.19","status":"affected","version":"6.18.42","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["include/linux/bpf_verifier.h","kernel/bpf/cfg.c","kernel/bpf/verifier.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.19"},{"lessThan":"6.19","status":"unaffected","version":"0","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":"7.3.6","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.265","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.216","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.183","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.148","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.101","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.42","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:18.368Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/046cdb35953063b5d38fa7de541c0bb86011feb2"},{"url":"https://git.kernel.org/stable/c/939bb6270ee32cfef0631b30ff07a9e0b8806e64"}],"title":"bpf: Leave out the hidden exit edge of a subprogram without an exit","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139606","datePublished":"2026-11-30T13:36:18.368Z","dateReserved":"2026-11-30T13:22:15.943Z","dateUpdated":"2026-11-30T13:36:18.368Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:42","lastModifiedDate":"2026-11-30 14:19:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139606","Ordinal":"1","Title":"bpf: Leave out the hidden exit edge of a subprogram without an e","CVE":"CVE-2026-139606","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139606","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"bpf: Leave out the hidden exit edge of a subprogram without an e"}]}}}