CVE-2026-139607
JSON

Not scored

bpf: Rebase the exception callback subprog when dead subprogs are removed

Severity
Not scored
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Rebase the exception callback subprog when dead subprogs are removed adjust_subprog_starts_after_remove() compacts subprog_info[] and the func_info when whole subprograms are removed as dead code, but leaves env->exception_callback_subprog alone, so an exception callback declared through the exception_callback decl tag which sits behind a removed subprogram keeps its old index. jit_subprogs() then takes the exception callback from func[] at that index, which is past the end when the callback was the last subprogram, or another subprogram otherwise. Rebase the index along with the entries it refers to.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b9ae0c9dd0aca79bffc17be51c2dc148d1f72708 before 2aea71e5eaafa8a07cd72458a5fe9d8b3d917484, from b9ae0c9dd0aca79bffc17be51c2dc148d1f72708 before 8c22349f05366cd5ab04c16ed8132e570f0fe2e6, from b9ae0c9dd0aca79bffc17be51c2dc148d1f72708 before 1969470a530e376e87e9497a00ff25e32da922e1, from b9ae0c9dd0aca79bffc17be51c2dc148d1f72708 before 8608ec8e981974b18834e2d67ed39638a9ec2e63, 6.7
Not affected: before 6.7, from 6.12.120 up to 6.12.*, from 6.18.66 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139607 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139607 changed 2026-11-30Public domain