riscv, bpf: Fix kernel stack corruption in tailcall with CFI
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12, Kernel 34b1bb33a025787e05f966e74de18cd36276f801, Kernel 52fb1756ea1d2759dfef2d86245be00b05dac3a2 and 3 more.
In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix kernel stack corruption in tailcall with CFI When CONFIG_CFI_CLANG is enabled, prog->bpf_func already skips the kcfi instruction during setup. Including it again in the tailcall jump offset causes it to jump over an extra 4 bytes, skipping the stack pointer adjustment, which will result in kernel stack corruption.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.11.6 <6.12, >=30a59cc79754fd9ff3f41b7ee2eb21da85988548 <34b1bb33a025787e05f966e74de18cd36276f801, >=30a59cc79754fd9ff3f41b7ee2eb21da85988548 <52fb1756ea1d2759dfef2d86245be00b05dac3a2, >=30a59cc79754fd9ff3f41b7ee2eb21da85988548 <a6e11a81da3420fd37f1518d4f238c4d5784086e, =6.12, =fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7 | 6.12, 34b1bb33a025787e05f966e74de18cd36276f801, 52fb1756ea1d2759dfef2d86245be00b05dac3a2, a6e11a81da3420fd37f1518d4f238c4d5784086e |
| linux-kernel: Kernel | >=6.12.0 <6.18.52, >=6.19.0 <7.2.6, >=6.11.6 <6.12 | 6.18.52, 7.2.6, 6.12 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket