GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel BPF: rendering a "const void" BTF type through bpf_snprintf_btf() NULL-derefs a missing show op

UnscoredCVE-2026-98064Kernel, userspace & hypervisorcurated

Impact

btf_modifier_show() resolved the modifier and then called btf_type_ops(t)->show() unconditionally, but the void type (type_id 0, BTF_KIND_UNKN) has no kind_ops entry, so ->show is NULL. Map key and value paths cannot reach it because void has no size, but bpf_snprintf_btf() takes a type_id straight from the BPF program, so passing a "const void" from the vmlinux BTF crashes the kernel. On a GPU host that is an unplanned node loss - the job on the GPU dies and the node needs a reboot - and the trigger is in a system agent, since only a privileged BPF loader can reach the path. Distinct from the btf_var_show() NULL deref fixed separately: different function, different missing guard, different fix.

Who can reach it

Local, privileged: requires the ability to load and run a BPF program calling bpf_snprintf_btf() with an attacker-chosen type_id (CAP_BPF/CAP_SYS_ADMIN).

What to do

Update to a stable kernel with the fix, which falls back to btf_df_show() when the resolved type has no show op, emitting the existing "<unsupported kind:N>" placeholder. Requires draining the node and rebooting into the patched kernel. No configuration-level mitigation other than restricting BPF program loading.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.