Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
30a59cc79754fd9ff3f41b7ee2eb21da85988548 to < 34b1bb33a025787e05f966e74de18cd36276f801affected30a59cc79754fd9ff3f41b7ee2eb21da85988548 to < a6e11a81da3420fd37f1518d4f238c4d5784086eaffected30a59cc79754fd9ff3f41b7ee2eb21da85988548 to < 52fb1756ea1d2759dfef2d86245be00b05dac3a2affectedfe5b68fdcec0f3d97a32f4c4acfef59cf90718f7affected6.11.6 to < 6.12affected
Linux Linux
Default version status: affected
6.12affected0 to < 6.12unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected