CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel when CONFIG_CFI_CLANG is enabled, specifically in the RISC-V architecture's BPF tailcall mechanism. An improper handling of the jump offset can lead to kernel stack corruption, potentially compromising system stability and security. System administrators and developers working with Linux kernel configurations, particularly those utilizing BPF and RISC-V, should prioritize addressing this issue to mitigate risks associated with stack corruption.
Original NVD 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.