CVE-2026-139185: net: atlantic: Unregister before clearing RXNFC rules

Published Nov 30, 2026
·
Updated

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

net: atlantic: Unregister before clearing RXNFC rules

aqpciremove() clears the driver's RXNFC rule list before unregistering the netdevice. Until unregisternetdev() returns, ethtool operations can still call aqgetrxnfcrule(), aqgetrxnfcallrules(), aqaddrxnfcrule(), or aqdelrxnfcrule(). Those paths traverse the same unlocked hlist that aqclearrxnfcallrules() is mutating and freeing.

The race is reachable by issuing RXNFC ethtool commands concurrently with PCI device removal or driver unbind. A reader can dereference a node that has just been freed, and two writers can corrupt the list or free the same rule more than once, causing KASAN reports, list corruption, or a kernel panic.

Reverse the removal order: unregister the netdevice first, then clear the RXNFC rules. After unregisternetdev() returns, ethtool can no longer enter the driver, while the PCI device is still available for the rule-clearing routine to issue hardware commands.

Found during a static-analysis-assisted audit: candidate sites were surfaced by a Coccinelle rule, and the reader/writer paths were confirmed by LLM-assisted (GLM-5.3) code inspection. The issue was not observed at runtime; it is identified by code inspection only.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In aq_pci_remove(), unregister the netdevice before clearing the driver's RXNFC rule list.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

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