CVE-2026-139346: bpf: Fix NULL task dereference in task work cancellation

Published Nov 30, 2026
·
Updated

bpf: Fix NULL task dereference in task work cancellation

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.18.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
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 6.18.65
  2. Upgrade

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

    Fixed in 7.3.6
  3. Upgrade

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

    Fixed in 7.3.6-1
  4. Compensating control

    In bpf_task_work_irq(), capture ctx->task before task_work_add() publishes the callback, then use the captured task pointer for the handler’s cancellation attempt.

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

What conditions are needed to trigger this issue?

The race requires BPF task work to be queued for a target task, the target task to run its callback concurrently on another CPU, and the associated map value to be deleted during the state-transition window. The vulnerable path occurs when cancellation is attempted after the callback or context destruction has cleared ctx->task.

2

What is the likely impact if the race is triggered?

The cancellation path can pass a NULL task pointer to task_work_cancel(), resulting in a NULL pointer dereference in the Linux kernel. The provided information does not specify the resulting system behavior beyond that dereference.

3

How can I determine whether systems are remediated?

Check whether the kernel includes one of the referenced stable fixes: fd91c41b1d4ab85ce806d61c8e5b7add292046dc, 2fd1c3f2128a59d118e6656dcbd065a588a5aac7, or c961f7b41a108313a4705baac7b27d2174cc8035. No affected or fixed kernel version ranges are provided.

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