AZL-117292: CVE-2026-139700 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

bpf: Fix program BTF use-after-free in sleepable programs

Object kfunc calls embed metadata owned by the program BTF. A sleepable program can remain active under Tasks Trace RCU after its last reference is dropped, while program teardown releases the BTF through ordinary RCU. The invocation can then dereference freed metadata in bpfobjnew().

Move btfput() into bpfprogputrcu(), the callback that frees the program. When teardown is deferred, that callback runs after the program's own grace period (Tasks Trace RCU for sleepable programs and ordinary RCU otherwise), so the BTF outlives every active invocation. The non-deferred path invokes the callback synchronously, so load-error cleanup stays direct.

Affected Software

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

Event History

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

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required for the use-after-free to occur?

The issue involves sleepable BPF programs that make object kfunc calls, because those calls use metadata owned by the program's BTF. It can occur when the program's last reference is dropped while an invocation remains active under Tasks Trace RCU.

2

What is the impact window during program teardown?

A still-active sleepable program invocation can dereference BTF metadata after ordinary RCU teardown has released it. The affected dereference is described as occurring in bpf_obj_new().

3

How does the resolution prevent the issue?

The fix moves BTF release into __bpf_prog_put_rcu(), which frees the program after the applicable grace period. For sleepable programs, this ensures BTF remains available until Tasks Trace RCU confirms active invocations have completed.

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