VDB

CVE-2026-74337

CVE-2026-74337 PUBLISHED

bpf: Fix NMI/tracepoint re-entry deadlock on lru locks

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NMI/tracepoint re-entry deadlock on lru locks NMI and tracepoint BPF programs can re-enter the per-CPU or global LRU lock that bpf_lru_pop_free()/push_free() already hold on the same CPU, AA-deadlocking. Lockdep reports "inconsistent {INITIAL USE} -> {IN-NMI}" on &l->lock (syzbot c69a0a2c816716f1e0d5) and "possible recursive locking detected" on &loc_l->lock (syzbot 18b26edb69b2e19f3b33). Prior trylock and rqspinlock based fixes (see links) were nacked because compromised on reliability. This patch converts every LRU lock site to rqspinlock_t and adds a recovery path for some failure windows to avoid node leaks. Failure recovery: - *_pop_free top-level: return NULL; prealloc_lru_pop() already treats that as no-free-element (-ENOMEM). - Cross-CPU steal: skip the victim's locked loc_l, try next CPU. - Post-steal local lock fail: publish stolen node to lockless per-CPU free_llist; next pop on this CPU picks it up. - push_free fail: mark node pending_free=1. __local_list_flush(), __local_list_pop_pending() reclaim the node from pending_list. __bpf_lru_list_shrink_inactive() reclaims the node from inactive list. Nodes from active list are reclaimed by __bpf_lru_list_shrink() or after __bpf_lru_list_rotate_active() demotes it to the inactive.

EPSS 0.21% · 10.7th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-tools-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
bpftool6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-develAmazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.41-94.142.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
LinuxLinux8b0510cc3a4a000d4ed1a56cd96231f3d3ba94c5, 89edbdfc5d0308cef57b71359331de5c4ddbf763, 440a2fdbb40608d55a7b11f2be53592a3785131d, 4.10

Risk scores

EPSS Score
0.21%
10.7th percentile

Affected products

VendorProductVersions
LinuxLinux3a08c2fd763450a927d1130de078d6f9e74944fb, 3a08c2fd763450a927d1130de078d6f9e74944fb, 3a08c2fd763450a927d1130de078d6f9e74944fb
LinuxLinux4.10, 0, 6.18.40
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023python3-perf6.180
LinuxLinux7.2, 3a08c2fd763450a927d1130de078d6f9e74944fb, 3a08c2fd763450a927d1130de078d6f9e74944fb
amazon:2023perf6.180
linuxlinux_kernel4.10, 4.10, 4.10
amazon:2023kernel6.18-tools0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-headers0

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (13 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74337
vulnetix vdb fixes CVE-2026-74337

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74337/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›