Linux
bpf: Check pointer type for all atomic RMW paths
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d503a04f8bc0c75dc9db9452d8cc79d748afb752, < b14dabe9656c1029abf3aa01e69c0d62f37f2f88
- >= d503a04f8bc0c75dc9db9452d8cc79d748afb752, < d4ba9d888ac0a8f12c78071fff73e1205a0b9293
- >= d503a04f8bc0c75dc9db9452d8cc79d748afb752, < eb287c6e81dedef92da01eb947f380d0aae513c3
- >= d503a04f8bc0c75dc9db9452d8cc79d748afb752, < 4bc49ae344d65cfcef738f281ac575cf73ca2fc5
Fixed in b14dabe9656c1029abf3aa01e69c0d62f37f2f88, d4ba9d888ac0a8f12c78071fff73e1205a0b9293, eb287c6e81dedef92da01eb947f380d0aae513c3, 4bc49ae344d65cfcef738f281ac575cf73ca2fc5
- 6.10
Fixed in 0, 6.12.114, 6.18.57, 7.2.6, 7.3
Mitigation
Upgrade Linux to b14dabe9656c1029abf3aa01e69c0d62f37f2f88 or d4ba9d888ac0a8f12c78071fff73e1205a0b9293 or eb287c6e81dedef92da01eb947f380d0aae513c3 or 4bc49ae344d65cfcef738f281ac575cf73ca2fc5 or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.57 or 7.2.6 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.