All reports
Medium

kernel: bpf: Check pointer type for all atomic RMW paths

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-90177

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's BPF (Berkeley Packet Filter) verifier. This vulnerability arises because the atomic Read-Modify-Write (RMW) verification process does not consistently check pointer types across all execution paths. Specifically, it only records the instruction pointer type when the destination is a specific memory region (PTR_TO_ARENA), allowing other paths to use ordinary pointers without proper type comparison. This inconsistency could enable a bypass of security checks within the BPF verifier, potentially leading to unintended operations or integrity issues within the kernel.