CVE-2026-139620

Not scored yetLast modified Nov 30, 2026

Description

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

bpf: Fix uninit read for non-fetch atomics on partially spilled slots

check_stack_read_fixed_off() skips partial spill checks for non-fetch atomics; the following prog can be loaded:

0: (b7) r1 = 1 ; R1=1 1: (63) *(u32 *)(r10 -8) = r1 ; R1=1 R10=fp0 fp-8=????1 2: (db) lock *(u64 *)(r10 -8) += r1 ; R1=1 R10=fp0 fp-8=mmmmmmmm 3: (79) r0 = *(u64 *)(r10 -8) ; R0=scalar() R10=fp0 fp-8=mmmmmmmm 4: (77) r0 >>= 32 ; R0=scalar(smin=0,smax=umax=0xffffffff,var_off=(0x0; 0xffffffff)) 5: (95) exit

When test run: retval=4294967295

Note fp-8 is ????1 at #1, yet it becomes fp-8=mmmmmmmm after the non-fetching atomic add at #2; hence the high 32 bits are leaked.

Fix by applying the partial load check; after the patch, the prog is rejected:

Verification failed: Memory Safety: Uninitialized stack read

Reason: This rejected read uses 8 bytes at stack offset -8, but byte 4 in that range is uninitialized on this path. Programs loaded with CAP_PERFMON can be allowed to read uninitialized stack bytes, but this program is being rejected without that allowance.

At: ... 0 | (b7) r1 = 1 1 | (63) *(u32 *)(r10 -8) = r1 >>> 2 | (db) lock *(u64 *)(r10 -8) += r1 3 | (79) r0 = *(u64 *)(r10 -8) 4 | (77) r0 >>= 32

This affects CAP_BPF only.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139621In the Linux kernel, the following vulnerability has been resolved: bpf: Don't converge a loop on an iterator that was created anew When tCVE-2026-139622In the Linux kernel, the following vulnerability has been resolved: bpf: Fix overflow of jump offset in may_goto expansion may_goto is expCVE-2026-1396237.0In the Linux kernel, the following vulnerability has been resolved: bpf: Adjust pc-relative insn copied into its own patch bpf_do_misc_fixCVE-2026-139624In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Fix timed may_goto with private stack arch_bpf_timed_may_gotCVE-2026-139625In the Linux kernel, the following vulnerability has been resolved: spi: rockchip-sfc: skip DMA cleanup in PIO mode With rockchip,sfc-no-dCVE-2026-139626In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_asrc_m2m: fix pm_runtime usage counter leak on error pm_runtCVE-2026-139627In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl_asrc: check the second front-end DMA channel The temporary FCVE-2026-139628In the Linux kernel, the following vulnerability has been resolved: bpf: Adjust bpf_func to account for CFI offset in bpf_jit_free on riscvCVE-2026-139629In the Linux kernel, the following vulnerability has been resolved: bpf: Check fastcall stack contract once for all stack accesses When thCVE-2026-139633.1Inappropriate implementation in DevTools in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who convinced a user to engage inCVE-2026-1396307.1In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Preallocate hardware context schedulers The hardware coCVE-2026-139631In the Linux kernel, the following vulnerability has been resolved: mfd: intel_quark_i2c_gpio: Manage the fixed-rate clock The I2C clock i
CVE-2026-139620: Unscored | Vulnix