Security mailing lists by PureSourceCode

CVE-2026-139628

not scored yet

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

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= e63985ecd22681c7f5975f2e8637187a326b6791, < bc6c4dc3d16d64bd51fa9e8629e0db199bf857be; >= e63985ecd22681c7f5975f2e8637187a326b6791, < 6d256cd19d8c9fe49ece8a398ff78e55719626ee; >= e63985ecd22681c7f5975f2e8637187a326b6791, < b31fef1d42ddcce4670e172eb9a381fcddbd051c; >= e63985ecd22681c7f5975f2e8637187a326b6791, < 93df8ae3267f19bf0c1135d26a0e21145dd0ea1c bc6c4dc3d16d64bd51fa9e8629e0db199bf857be, 6d256cd19d8c9fe49ece8a398ff78e55719626ee, b31fef1d42ddcce4670e172eb9a381fcddbd051c, 93df8ae3267f19bf0c1135d26a0e21145dd0ea1c
CVE List Linux Linux = 6.9

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.