CVE-2025-40079
BaseFortify
Publication date: 2025-10-28
Last updated on: 2025-10-30
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.17.0-rc1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel on the RISC-V architecture related to the BPF (Berkeley Packet Filter) subsystem. Specifically, the issue is that the bpf_fifo_dequeue program returns a pointer (skb), but this pointer is incorrectly treated as a 32-bit value and sign-extended to 64-bit in the epilogue. While this behavior is correct for most BPF program types, it is incorrect for struct ops, which require sign extension according to the RISC-V ABI. This improper handling can cause a kernel panic due to an invalid memory access.
How can this vulnerability impact me? :
This vulnerability can cause a kernel panic on systems running the affected Linux kernel on RISC-V architecture. A kernel panic leads to a system crash, causing downtime and potential data loss or service interruption.