bpf: Fix immediate JMP JEQ/JNE on MIPS32
- 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.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9
- 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: Fix immediate JMP JEQ/JNE on MIPS32 An addu instruction was emitted instead of addiu, causing the immediate value 1 to be interpreted as register $at. This made the comparison result invalid when the immediate operand was negative. Note that $at is mapped to BPF_REG_AX, which is used for constant blinding. Fix the instruction to use the immediate form. Found with test_bpf on MIPS32r1 emulated by QEMU.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in 1547e9f3a7d71971216e6dba30270cae13fe4e02; From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in beeae92e70e705e90a0d6d9b3b8498ee3b92f495; From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in 6f939529ed6c580e9b6c5daa20be67fa0b3d4cf0; From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in 876ef04c75c2751acfd355606fca3eced71dec65; From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in 1bd91670966a7142ac94f2cebe2b5ae6bf5cb0c8; From eb63cfcd2ee8ec3805f6881f43341f589c3d2278 · fixed in db762fd96be225bd06161c9631160c755d891693
- Linux Linux
5.16
- KernelLinux
From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9