CVE-2026-98063: Linux kernel · bpf: Fix NULL-ptr-deref in btf_var_show()
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in ea383b3ea56979ce54c8aa88e6ec67164986c401 : update Linux kernel when convenient.
Data as of 18 Nov 2026, 17:34 UTC
- Patch
- Available – fixed in ea383b3ea56979ce54c8aa88e6ec67164986c401, e472ae0d97865e2021ee668a13eab64013aebf23, e83fcbe3b5d4a1ffb0569bb7c280358065c6017a +5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
A fix is available that addresses the NULL pointer dereference by adding appropriate checks in btf_var_show(). Users should apply the official Linux kernel patches that include this fix. Since this is a kernel vulnerability, upgrading to a patched kernel version is the recommended remediation. No alternative mitigations or workarounds are indicated.
Description
CVE-2026-98063 is a medium severity vulnerability in the Linux kernel's BPF subsystem. It involves a NULL pointer dereference in the btf_var_show() function when handling BTF_KIND_VAR types from the base BTF (e.g., vmlinux BTF). This occurs because btf_var_show() calls btf_type_id_resolve() without checking if resolved_ids is NULL, leading to a kernel crash (KASAN detected). The flaw was fixed by adding a check to resolve the variable's type directly when resolved_ids is NULL, similar to the existing guard in btf_modifier_show().
References
- nvd.nist.gov/vuln/detail/CVE-2026-98063 (opens in a new tab)
- git.kernel.org/stable/c/5403a383f52fc0905703b488f7c3db4b2447dc58 (opens in a new tab)
- git.kernel.org/stable/c/5756450c9a702da0efb4a993d0a6766b965736f3 (opens in a new tab)
- git.kernel.org/stable/c/aec0a9c1579eb9edf534960be592d09481bd7ac3 (opens in a new tab)
- git.kernel.org/stable/c/ca086264e98108b44fdf53971033811a48defe2b (opens in a new tab)
- git.kernel.org/stable/c/e0d6a06171633d3ee3f7a39b57e5c845fb2b79f2 (opens in a new tab)
- git.kernel.org/stable/c/e472ae0d97865e2021ee668a13eab64013aebf23 (opens in a new tab)
- git.kernel.org/stable/c/e83fcbe3b5d4a1ffb0569bb7c280358065c6017a (opens in a new tab)
- git.kernel.org/stable/c/ea383b3ea56979ce54c8aa88e6ec67164986c401 (opens in a new tab)