VDB

CVE-2026-98378

CVE-2026-98378 PUBLISHED CVSS 7.8 HIGH

bpf: Skip unsettled links in link iterator

Reported by linux · Published October 9, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Skip unsettled links in link iterator bpf_link_prime() inserts a link into link_idr before anon_inode_getfile() succeeds and before bpf_link_settle() publishes the ID in link->id. bpf_link_by_id() treats such an ID-zero link as unsettled, but the link iterator takes a reference without this check. If anon_inode_getfile() then fails, the creator removes the ID and frees its still-private link directly. The iterator is left with a dangling reference and its next bpf_link_put() accesses freed memory. Treat ID-zero entries as transient in bpf_link_get_curr_or_next(), just as bpf_link_by_id() does. BUG: KASAN: slab-use-after-free in bpf_link_put Write of size 8 by task exp/384 Call Trace: bpf_link_put kernel/bpf/syscall.c:3372 bpf_link_seq_next kernel/bpf/link_iter.c:33 bpf_seq_read kernel/bpf/bpf_iter.c:158 vfs_read fs/read_write.c:572 ksys_read fs/read_write.c:716 do_syscall_64 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe arch/x86/entry/entry_64.S:121 Kernel panic - not syncing: KASAN: panic_on_warn set ...

EPSS 0.12% · 1.7th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-livepatch-6.1.189-236.399Amazon Linux1:1.0-0.amzn2023
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
python3-perfAmazon Linux1:6.1.189-236.399.amzn2023
bpftool6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023
kernelAmazon Linux1:6.1.189-236.399.amzn2023

5 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.12%
1.7th percentile

Affected products

VendorProductVersions
LinuxLinux9f88361273082825d9f0d13a543d49f9fa0d44a8, 9f88361273082825d9f0d13a543d49f9fa0d44a8, 9f88361273082825d9f0d13a543d49f9fa0d44a8
LinuxLinux5.19, 0, 6.1.189
amazon:2023kernel-livepatch-6.1.189-236.3990
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023microvm-kernel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.180
LinuxLinux7.3, 9f88361273082825d9f0d13a543d49f9fa0d44a8, 9f88361273082825d9f0d13a543d49f9fa0d44a8
amazon:2023kernel6.18-devel0

…and 19 more

Timeline

  • Oct 9, 2026 EPSS Score (4 in total, the first dated here)
  • Oct 9, 2026 Coalition ESS Score
  • Oct 9, 2026 CVE Published
  • Oct 24, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98378
vulnetix vdb fixes CVE-2026-98378

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-98378/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 ›