bpf: Check pointer type for all atomic RMW paths
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.57, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d503a04f8bc0c75dc9db9452d8cc79d748afb752 · fixed in b14dabe9656c1029abf3aa01e69c0d62f37f2f88; From d503a04f8bc0c75dc9db9452d8cc79d748afb752 · fixed in d4ba9d888ac0a8f12c78071fff73e1205a0b9293; From d503a04f8bc0c75dc9db9452d8cc79d748afb752 · fixed in eb287c6e81dedef92da01eb947f380d0aae513c3; From d503a04f8bc0c75dc9db9452d8cc79d748afb752 · fixed in 4bc49ae344d65cfcef738f281ac575cf73ca2fc5
- Linux Linux
6.10
- KernelLinux
From 6.10.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.6