Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 30a59cc79754fd9ff3f41b7ee2eb21da85988548 before 34b1bb33a025787e05f966e74de18cd36276f801; affected 30a59cc79754fd9ff3f41b7ee2eb21da85988548 before a6e11a81da3420fd37f1518d4f238c4d5784086e; affected 30a59cc79754fd9ff3f41b7ee2eb21da85988548 before 52fb1756ea1d2759dfef2d86245be00b05dac3a2; affected fe5b68fdcec0f3d97a32f4c4acfef59cf90718f7; affected 6.11.6 before 6.12 |
| Linux / Linux | affected 6.12; unaffected 0 before 6.12; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.