Bug 2586863 (CVE-2026-139628) - CVE-2026-139628 kernel: kernel: Denial of Service via invalid memory free in RISC-V BPF
Summary: CVE-2026-139628 kernel: kernel: Denial of Service via invalid memory free in ...
Keywords:
Status: NEW
Alias: CVE-2026-139628
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:44 UTC by OSIDB Bzimport
Modified: 2026-12-01 05:10 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:44:57 UTC
In the Linux kernel, the following vulnerability has been resolved:

bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscv

When CFI is enabled, the actual BPF program entry point is shifted
forward by a CFI preamble. During bpf_jit_free(), this shifted pointer
causes the wrong ro_header to be fetched, leading to a potential invalid
memory free.

Fix this by subtracting cfi_get_offset() from prog->bpf_func to
correctly restore the original JITed allocation address before freeing.


Note You need to log in before you can comment on or make changes to this bug.