bpf: Check pointer type for all atomic RMW paths
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eb287c6e81dedef92da01eb947f380d0aae513c3, Kernel 4bc49ae344d65cfcef738f281ac575cf73ca2fc5, Kernel b14dabe9656c1029abf3aa01e69c0d62f37f2f88 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: bpf: Check pointer type for all atomic RMW paths Atomic RMW verification records an instruction pointer type only when the current destination is PTR_TO_ARENA. A second path can therefore reach the same instruction with an ordinary pointer without comparing it against the saved arena type. The post-verification fixup uses the saved type to rewrite the instruction to BPF_PROBE_ATOMIC for every path. Record the actual destination type for all atomic RMW paths so the existing mismatch check rejects incompatible uses of one instruction.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d503a04f8bc0c75dc9db9452d8cc79d748afb752 <eb287c6e81dedef92da01eb947f380d0aae513c3, >=d503a04f8bc0c75dc9db9452d8cc79d748afb752 <4bc49ae344d65cfcef738f281ac575cf73ca2fc5, >=d503a04f8bc0c75dc9db9452d8cc79d748afb752 <b14dabe9656c1029abf3aa01e69c0d62f37f2f88, >=d503a04f8bc0c75dc9db9452d8cc79d748afb752 <d4ba9d888ac0a8f12c78071fff73e1205a0b9293, =6.10 | eb287c6e81dedef92da01eb947f380d0aae513c3, 4bc49ae344d65cfcef738f281ac575cf73ca2fc5, b14dabe9656c1029abf3aa01e69c0d62f37f2f88, d4ba9d888ac0a8f12c78071fff73e1205a0b9293 |
| linux-kernel: Kernel | >=6.13.0 <6.18.57, >=6.19.0 <7.2.6, >=6.10.0 <6.12.114 | 6.18.57, 7.2.6, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket