CVE-2026-98064Linux Kernel NULL pointer dereference
CVSS score
5.5
Medium
CVSS 3.1 from NVD
Exploit probability (EPSS)
0.12%
0.12% chance of exploitation in the next 30 days, higher than 2.02% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix NULL-ptr-deref when showing a void BTF type
btf_modifier_show() resolves the modifier and then calls
btf_type_ops(t)->show() unconditionally. For the void type (type_id 0,
BTF_KIND_UNKN) kind_ops[] has no entry, so ->show is NULL.
A "const void" (a modifier resolving to void) cannot be a map key or
value - map_check_btf() rejects it because void has no size - so the map
dump path does not reach it. But bpf_snprintf_btf() takes a type_id
straight from the BPF program, and passing such a "const void" from the
vmlinux BTF NULL-derefs:
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
RIP: 0010:btf_modifier_show (kernel/bpf/btf.c:2914)
Call Trace:
<TASK>
btf_type_show (kernel/bpf/btf.c:8251)
btf_type_snprintf_show (kernel/bpf/btf.c:8321)
bpf_snprintf_btf (kernel/trace/bpf_trace.c:1047)
bpf_prog_test_run_raw_tp (net/bpf/test_run.c:829)
__sys_bpf (kernel/bpf/syscall.c:4804)
do_syscall_64 (arch/x86/entry/syscall_64.c:94)
entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
</TASK>
Fall back to btf_df_show() when the resolved type has no show op; it
emits the "<unsupported kind:N>" placeholder already used for kinds like
FWD and FUNC. bpf_snprintf_btf() then returns the length as usual.
Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
How to fix it, step by step
Check whether you're affected
Find every system running Linux Kernel, Linux and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel to 5.10.271, 5.15.222, 6.1.189, 6.6.158 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
- git.kernel.org/stable/c/4ea508b9ebd78bce7f212166d2e2cba66b875f08
- git.kernel.org/stable/c/5324f4e75ff6e9c2ca2e267c5f34f0937f9d0ac9
- git.kernel.org/stable/c/62b00074b58ccf43f61f70f2cfcac80937b530c6
- git.kernel.org/stable/c/717abdfd1d559d01fdd102023f0a990fb0437240
- git.kernel.org/stable/c/86d86f9fcf62dd3654090fbf3cf7ae5f42aa0706
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| Linux Linux Kernel | ≥ 5.10, < 5.10.271 · ≥ 5.11, < 5.15.222 · ≥ 5.16, < 6.1.189 · ≥ 6.2, < 6.6.158 · ≥ 6.7, < 6.12.111 · ≥ 6.13, < 6.18.53 |
| Linux Linux | ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < cf528f2d7a0a54f2a3c6d439cfa3c8d7dfe90d8d · ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < adb15557a641cb8a31f83e5f62bd12042b138c7b · ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 62b00074b58ccf43f61f70f2cfcac80937b530c6 · ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 86d86f9fcf62dd3654090fbf3cf7ae5f42aa0706 · ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 717abdfd1d559d01fdd102023f0a990fb0437240 · ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 98f1cb95221332139acf514350ae2cae3b8656c5 |
Weakness
- CWE-476 NULL pointer dereference
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-98064 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.1% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-98064?
CVE-2026-98064 has a CVSS 3.1 base score of 5.5 (medium).
Which versions are affected?
Linux Linux Kernel (≥ 5.10, < 5.10.271; ≥ 5.11, < 5.15.222; ≥ 5.16, < 6.1.189; ≥ 6.2, < 6.6.158; ≥ 6.7, < 6.12.111; ≥ 6.13, < 6.18.53), Linux Linux (≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < cf528f2d7a0a54f2a3c6d439cfa3c8d7dfe90d8d; ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < adb15557a641cb8a31f83e5f62bd12042b138c7b; ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 62b00074b58ccf43f61f70f2cfcac80937b530c6; ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 86d86f9fcf62dd3654090fbf3cf7ae5f42aa0706; ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 717abdfd1d559d01fdd102023f0a990fb0437240; ≥ c4d0bfb45068d853a478b9067a95969b1886a30f, < 98f1cb95221332139acf514350ae2cae3b8656c5)
Is there a patch for CVE-2026-98064?
The official record links to vendor advisories or patches; see “What to do” above.
References
- git.kernel.org/stable/c/4ea508b9ebd78bce7f212166d2e2cba66b875f08(Patch)
- git.kernel.org/stable/c/5324f4e75ff6e9c2ca2e267c5f34f0937f9d0ac9(Patch)
- git.kernel.org/stable/c/62b00074b58ccf43f61f70f2cfcac80937b530c6(Patch)
- git.kernel.org/stable/c/717abdfd1d559d01fdd102023f0a990fb0437240(Patch)
- git.kernel.org/stable/c/86d86f9fcf62dd3654090fbf3cf7ae5f42aa0706(Patch)
- git.kernel.org/stable/c/98f1cb95221332139acf514350ae2cae3b8656c5(Patch)
- git.kernel.org/stable/c/adb15557a641cb8a31f83e5f62bd12042b138c7b(Patch)
- git.kernel.org/stable/c/cf528f2d7a0a54f2a3c6d439cfa3c8d7dfe90d8d(Patch)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.