net: atlantic: Unregister before clearing RXNFC rules

Summary

CVECVE-2026-139185
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:37 UTC
Updated2026-11-30 14:18:37 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: atlantic: Unregister before clearing RXNFC rules aq_pci_remove() clears the driver's RXNFC rule list before unregistering the netdevice. Until unregister_netdev() returns, ethtool operations can still call aq_get_rxnfc_rule(), aq_get_rxnfc_all_rules(), aq_add_rxnfc_rule(), or aq_del_rxnfc_rule(). Those paths traverse the same unlocked hlist that aq_clear_rxnfc_all_rules() 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 unregister_netdev() 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 83cbc002b791a2cca732124de4f88a9ab9c9bfe9 git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 9ed684fae0d8d31cc4759d6efd7fb27469277363 git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 a2ba0bf93500c0c489a6908b004ce8e3227d0e7c git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 1baa01b6d4dbbfce9bf19f22c197cf80511dc602 git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 21d6837289c149f3af110c97ab54b9e2efc67aca git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 f3c9889dede78991b1cc6339035cdc0bb0e155fc git Not specified
CNA Linux Linux affected 8d0bcb012f57729e44991a45f5ba3266a58de268 13b364c765e69db1f8446399d8db0b331c23b50c git Not specified
CNA Linux Linux affected 5.0 Not specified
CNA Linux Linux unaffected 5.0 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a2ba0bf93500c0c489a6908b004ce8e3227d0e7c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/13b364c765e69db1f8446399d8db0b331c23b50c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1baa01b6d4dbbfce9bf19f22c197cf80511dc602 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9ed684fae0d8d31cc4759d6efd7fb27469277363 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/83cbc002b791a2cca732124de4f88a9ab9c9bfe9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/21d6837289c149f3af110c97ab54b9e2efc67aca 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f3c9889dede78991b1cc6339035cdc0bb0e155fc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report