Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-98378

HIGH 7.8EPSS 4%

bpf: Skip unsettled links in link iterator

Mitigation

  • Upgrade Linux to 50e80e2bb5e2be8515205b9c496b9640ddefa434 or later.

Who should check

  • Anyone running Linux >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 68930f8d40ab4c10ca3b019f076136758fd100a8; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < c251ed48bd9063cf7de6049421e78b6de989060f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 798a61edbc436cacdb659927d067368eeb1e30e2; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 6e271f093d15d323f42de26f66556af53fa8e19f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 87ce4b53b7436b50fc984f0a6afaf77f68ac5573; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 50e80e2bb5e2be8515205b9c496b9640ddefa434
  • Anyone running Linux 5.19

Vulnerability facts

Affected
Linux >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 68930f8d40ab4c10ca3b019f076136758fd100a8; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < c251ed48bd9063cf7de6049421e78b6de989060f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 798a61edbc436cacdb659927d067368eeb1e30e2; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 6e271f093d15d323f42de26f66556af53fa8e19f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 87ce4b53b7436b50fc984f0a6afaf77f68ac5573; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 50e80e2bb5e2be8515205b9c496b9640ddefa434; Linux 5.19
Fixed in
Linux 68930f8d40ab4c10ca3b019f076136758fd100a8, Linux 798a61edbc436cacdb659927d067368eeb1e30e2, Linux 6e271f093d15d323f42de26f66556af53fa8e19f, Linux 87ce4b53b7436b50fc984f0a6afaf77f68ac5573, Linux 50e80e2bb5e2be8515205b9c496b9640ddefa434
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
Published
Modified

Description

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 ...

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 68930f8d40ab4c10ca3b019f076136758fd100a8; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < c251ed48bd9063cf7de6049421e78b6de989060f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 798a61edbc436cacdb659927d067368eeb1e30e2; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 6e271f093d15d323f42de26f66556af53fa8e19f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 87ce4b53b7436b50fc984f0a6afaf77f68ac5573; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 50e80e2bb5e2be8515205b9c496b9640ddefa434—cvelist
Linux5.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-98378. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98378.md
Affected: Linux >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 68930f8d40ab4c10ca3b019f076136758fd100a8; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < c251ed48bd9063cf7de6049421e78b6de989060f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 798a61edbc436cacdb659927d067368eeb1e30e2; >= 9f88361273082825d9f0d13…
Fixed in: Linux 68930f8d40ab4c10ca3b019f076136758fd100a8, Linux 798a61edbc436cacdb659927d067368eeb1e30e2, Linux 6e271f093d15d323f42de26f66556af53fa8e19f, Linux 87ce4b53b7436b50fc984f0a6afaf77f68ac5573, Linux 50e80e2bb5e2be8515205b9c496b9640ddefa434

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-98378 being exploited?

There is no confirmed exploitation: CVE-2026-98378 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-98378?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-98378?

Linux >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 68930f8d40ab4c10ca3b019f076136758fd100a8; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < c251ed48bd9063cf7de6049421e78b6de989060f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 798a61edbc436cacdb659927d067368eeb1e30e2; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 6e271f093d15d323f42de26f66556af53fa8e19f; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 87ce4b53b7436b50fc984f0a6afaf77f68ac5573; >= 9f88361273082825d9f0d13a543d49f9fa0d44a8, < 50e80e2bb5e2be8515205b9c496b9640ddefa434; Linux 5.19.

Is there a fix for CVE-2026-98378?

Yes. Fixed in Linux 68930f8d40ab4c10ca3b019f076136758fd100a8, Linux 798a61edbc436cacdb659927d067368eeb1e30e2, Linux 6e271f093d15d323f42de26f66556af53fa8e19f, Linux 87ce4b53b7436b50fc984f0a6afaf77f68ac5573, Linux 50e80e2bb5e2be8515205b9c496b9640ddefa434. Upgrade Linux to 50e80e2bb5e2be8515205b9c496b9640ddefa434 or later.

How do I check if I'm affected by CVE-2026-98378?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors