Skip to contentSkip to conversation

CVE-2026-98019: bpf: mark a NULL call argument precise

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

bpf: mark a NULL call argument precise

check_func_arg() allows bpf_register_is_null() for nullable arguments w/o marking the underlying scalar register precise. Hence a checkpoint created on such a path would prune against arbitrary scalar value.

check_helper_call() enforces second parameter of the bpf_get_local_storage() to be zero, w/o marking the underlying scalar register precise. Hence a checkpoint created on such a path would prune against arbitrary scalar value.

Grouping these two into one patch, as they share the same fixes tag.

The Linux kernel CVE team has assigned CVE-2026-98019 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.3 with commit b5dc0163d8fd78e64a7e21f309cf932fda34353e and fixed in 7.2.7 with commit 69a9ad004ccf5d45e534c7d503f47f643abe64b7
	Issue introduced in 5.3 with commit b5dc0163d8fd78e64a7e21f309cf932fda34353e and fixed in 7.3-rc2 with commit 1a3a10b030c96ea88868ccc060a16827c01eaa5a

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98019

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
kernel/bpf/verifier.c tools/testing/selftests/bpf/progs/verifier_subprog_precision.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/69a9ad004ccf5d45e534c7d503f47f643abe64b7
	https://git.kernel.org/stable/c/1a3a10b030c96ea88868ccc060a16827c01eaa5a