CVE-2026-74725: enic: fix tx_hang_reset use-after-free on device removal

Published Aug 22, 2026
·
Updated

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

enic: fix txhangreset use-after-free on device removal

enicremove() cancels the reset and changemtuwork items but does not cancel txhangreset. A TX timeout that fires while the device is being removed can schedule enictxhangreset() so that it runs after freenetdev(), resulting in a use-after-free.

cancelworksync() alone is not sufficient here: the still-live watchdog and notify paths can re-schedule these work items in the window between the cancel and unregisternetdev(). Use disableworksync(), which cancels the work and blocks any subsequent schedulework() from requeuing it, and apply it to the reset and changemtuwork items as well so the same requeue race is closed for all teardown work.

Event History

Aug 22, 2026
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

What timing is required for the use-after-free to occur?

A TX timeout must fire while the device is being removed, allowing enic_tx_hang_reset() to be scheduled after free_netdev() has run.

2

Why is cancel_work_sync() insufficient during teardown?

The watchdog and notify paths can still schedule the work again between cancellation and unregister_netdev(). This leaves a race in which teardown work can run after the network device has been freed.

3

Which work items need protection from requeueing during device removal?

The tx_hang_reset work item must be disabled, and the reset and change_mtu_work items must receive the same treatment to close equivalent requeue races.

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