AZL-117055: CVE-2026-139320 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

bpf: Look at all 64 bits of a BPFJSET mask on 32-bit

In the branch of a BPFJSET which is taken, the verifier can learn something about the register only if the mask has a single bit: then this bit is set. regsrefinecondop() tests this with ispowerof2(val) and then ORs val into varoff.

val is a u64, but ispowerof2() takes an unsigned long. On a 32-bit kernel it only sees the lower half of the mask. For

if r1 & 0xffffffff80000000 goto l

which is a BPFJSET | BPFK with an immediate of 0x80000000, the lower half is a power of two. So the verifier takes all 33 bits for set at l, while the branch is taken if any of them is. A mask of 0x100000001 from a register does the same for bit 0.

The log of an i386 kernel, for r6 = bpfgetprandomu32() << 31:

3: (45) if r6 & 0x80000000 goto pc+2 from 3 to 6: R6=0xffffffff80000000 R10=fp0 6: (77) r6 >>= 63 ; R6=1

When the program runs, r6 >> 63 is 0.

From then on the verifier works with known bits which the register does not have at run time. It accepts, for example, an offset into a map value which it derives from these bits and believes to be constant, and the program can access memory outside of the map value.

Count the bits of the whole value.

Only 32-bit kernels are affected. On a 64-bit kernel unsigned long holds the whole mask, and this patch changes nothing.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:18 PM
Data Sourced
via OSV·02:18 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are exposed to this verifier issue?

The described condition affects 32-bit Linux kernels. It arises when the BPF verifier evaluates BPF_JSET masks using an unsigned long and therefore considers only the lower 32 bits of a 64-bit mask.

2

What does an exploit attempt need to do?

A BPF program must use a BPF_JSET condition with a mask whose lower 32 bits appear to be a single set bit while the full 64-bit mask contains additional set bits. Examples described include 0xffffffff80000000 and a register-supplied mask of 0x100000001.

3

What is the practical consequence of successful verifier confusion?

The verifier can incorrectly treat all bits in such a mask as known set on a taken branch, even though execution takes the branch when any masked bit is set. This can cause it to accept operations, including a map-value offset derived from those bits, as constant when the runtime register does not have the assumed value.

4

How can I assess whether a system is potentially affected?

Check whether the system is running a 32-bit kernel and whether its installed kernel package is 6.6.161.1-1, the package identified in this advisory. The issue is relevant to environments that process BPF programs subject to verifier validation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203