CVE-2026-139304: bpf: Check the maps that sleepable callbacks use

Published Nov 30, 2026
·
Updated

bpf: Check the maps that sleepable callbacks use

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.12.0<7.3.6
7.3.6
debian/linux*
debian/linux*
debian/linux<7.3.6-1
7.3.6-1
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description
Data Sourced
via OSV·01:33 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which BPF deployments are exposed to this issue?

The issue affects BPF programs that use bpf_wq or bpf_task_work callbacks, because those callbacks run in sleepable context even when the originating program is non-sleepable. It also applies when such a callback accesses an inner map that was not directly bound to the program.

2

What map access pattern triggers the problem?

A sleepable callback must not use a map type that requires an RCU read-side critical section unless an RCU read lock is held. The described example is a bpf_wq callback from a tc program performing a lookup in a sockhash.

3

How can this be mitigated if the kernel update cannot be applied immediately?

Programs can continue using affected maps in a sleepable callback if they take the RCU read lock with bpf_rcu_read_lock(). A helper that invokes the callback may also provide the required protection, such as bpf_for_each_map_elem() for a hash map; disabling preemption or interrupts is not sufficient.

4

What evidence may indicate that a system is encountering this condition?

The described sockhash lookup case can reach a kernel warning at net/core/sock_map.c:903 in __sock_hash_lookup_elem. The warning occurs when the callback performs the map lookup without the required RCU read-side protection.

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