bpf: Rebase the exception callback subprog when dead subprogs are removed
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | b9ae0c9dd0aca79bffc17be51c2dc148d1f72708 to before 2aea71e5eaafa8a07cd72458a5fe9d8b3d917484 Affectedb9ae0c9dd0aca79bffc17be51c2dc148d1f72708 to before 8c22349f05366cd5ab04c16ed8132e570f0fe2e6 Affectedb9ae0c9dd0aca79bffc17be51c2dc148d1f72708 to before 1969470a530e376e87e9497a00ff25e32da922e1 Affectedb9ae0c9dd0aca79bffc17be51c2dc148d1f72708 to before 8608ec8e981974b18834e2d67ed39638a9ec2e63 Affected |
| Linux Linux | 6.7 Affectedbefore 6.7 Not Affected6.12.120 through 6.12.* Not Affected6.18.66 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.