{"id":"CVE-2026-139607","summary":"bpf: Rebase the exception callback subprog when dead subprogs are removed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Rebase the exception callback subprog when dead subprogs are removed\n\nadjust_subprog_starts_after_remove() compacts subprog_info[] and the\nfunc_info when whole subprograms are removed as dead code, but leaves\nenv-\u003eexception_callback_subprog alone, so an exception callback declared\nthrough the exception_callback decl tag which sits behind a removed\nsubprogram keeps its old index. jit_subprogs() then takes the exception\ncallback from func[] at that index, which is past the end when the\ncallback was the last subprogram, or another subprogram otherwise.\n\nRebase the index along with the entries it refers to.","modified":"2026-12-01T21:02:34.899022808Z","published":"2026-11-30T13:36:18.898Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139607.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1969470a530e376e87e9497a00ff25e32da922e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2aea71e5eaafa8a07cd72458a5fe9d8b3d917484"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8608ec8e981974b18834e2d67ed39638a9ec2e63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c22349f05366cd5ab04c16ed8132e570f0fe2e6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139607.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139607"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b9ae0c9dd0aca79bffc17be51c2dc148d1f72708"},{"fixed":"2aea71e5eaafa8a07cd72458a5fe9d8b3d917484"},{"fixed":"8c22349f05366cd5ab04c16ed8132e570f0fe2e6"},{"fixed":"1969470a530e376e87e9497a00ff25e32da922e1"},{"fixed":"8608ec8e981974b18834e2d67ed39638a9ec2e63"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139607.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139607.json"}}],"schema_version":"1.9.2"}