Skip to contentSkip to conversation

CVE-2026-90177: bpf: Check pointer type for all atomic RMW paths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

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: Check pointer type for all atomic RMW paths

Atomic RMW verification records an instruction pointer type only when the current destination is PTR_TO_ARENA. A second path can therefore reach the same instruction with an ordinary pointer without comparing it against the saved arena type.

The post-verification fixup uses the saved type to rewrite the instruction to BPF_PROBE_ATOMIC for every path. Record the actual destination type for all atomic RMW paths so the existing mismatch check rejects incompatible uses of one instruction.

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

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

	Issue introduced in 6.10 with commit d503a04f8bc0c75dc9db9452d8cc79d748afb752 and fixed in 7.2.6 with commit eb287c6e81dedef92da01eb947f380d0aae513c3
	Issue introduced in 6.10 with commit d503a04f8bc0c75dc9db9452d8cc79d748afb752 and fixed in 7.3-rc1 with commit 4bc49ae344d65cfcef738f281ac575cf73ca2fc5

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

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

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/eb287c6e81dedef92da01eb947f380d0aae513c3
	https://git.kernel.org/stable/c/4bc49ae344d65cfcef738f281ac575cf73ca2fc5