Skip to main content
← All vulnerabilities
CVE-2026-90392

bpf: Fix potential UAF when reading bpf link info

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.157, 6.12.110, 6.18.52, 7.2.6
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix potential UAF when reading bpf link info In bpf_link_show_fdinfo and bpf_link_get_info_by_fd, link->prog is accessed without holding any locks. If the prog is concurrently replaced via bpf_link_update, the old prog can be freed, leading to a potential UAF issue. Fix this by accessing link->prog under RCU protection to safely fetch the pointer and guarantee its lifetime while reading its fields.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab · fixed in a5c936ac904767fc1d943d40b0308bcb2ae2509b; From 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab · fixed in d7d7208e2603b45724b684f4df73904fb347741e; From 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab · fixed in 85cf991c881e7198be32be05a9daa2625390c8b3; From 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab · fixed in 79347e42cfbc9e78872922e8f08a70609c9af82f; From 0c991ebc8c69d29b7fc44db17075c5aa5253e2ab · fixed in 863f3ddd0b8ac65abfb50d3be0869268ac0e277b

  • Linux Linux

    5.7

  • KernelLinux

    From 5.7.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6

References 5

git.kernel.org