{"api_version":"1","generated_at":"2026-11-30T18:48:00+00:00","cve":"CVE-2026-139185","urls":{"html":"https://cve.report/CVE-2026-139185","api":"https://cve.report/api/cve/CVE-2026-139185.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139185","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139185"},"summary":{"title":"net: atlantic: Unregister before clearing RXNFC rules","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: atlantic: Unregister before clearing RXNFC rules\n\naq_pci_remove() clears the driver's RXNFC rule list before unregistering\nthe netdevice.  Until unregister_netdev() returns, ethtool operations can\nstill call aq_get_rxnfc_rule(), aq_get_rxnfc_all_rules(),\naq_add_rxnfc_rule(), or aq_del_rxnfc_rule().  Those paths traverse the\nsame unlocked hlist that aq_clear_rxnfc_all_rules() is mutating and\nfreeing.\n\nThe race is reachable by issuing RXNFC ethtool commands concurrently with\nPCI device removal or driver unbind.  A reader can dereference a node that\nhas just been freed, and two writers can corrupt the list or free the same\nrule more than once, causing KASAN reports, list corruption, or a kernel\npanic.\n\nReverse the removal order: unregister the netdevice first, then clear the\nRXNFC rules.  After unregister_netdev() returns, ethtool can no longer\nenter the driver, while the PCI device is still available for the\nrule-clearing routine to issue hardware commands.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.  The issue was\nnot observed at runtime; it is identified by code inspection only.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:37","updated_at":"2026-11-30 14:18:37"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/a2ba0bf93500c0c489a6908b004ce8e3227d0e7c","name":"https://git.kernel.org/stable/c/a2ba0bf93500c0c489a6908b004ce8e3227d0e7c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/13b364c765e69db1f8446399d8db0b331c23b50c","name":"https://git.kernel.org/stable/c/13b364c765e69db1f8446399d8db0b331c23b50c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1baa01b6d4dbbfce9bf19f22c197cf80511dc602","name":"https://git.kernel.org/stable/c/1baa01b6d4dbbfce9bf19f22c197cf80511dc602","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9ed684fae0d8d31cc4759d6efd7fb27469277363","name":"https://git.kernel.org/stable/c/9ed684fae0d8d31cc4759d6efd7fb27469277363","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d","name":"https://git.kernel.org/stable/c/b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/83cbc002b791a2cca732124de4f88a9ab9c9bfe9","name":"https://git.kernel.org/stable/c/83cbc002b791a2cca732124de4f88a9ab9c9bfe9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/21d6837289c149f3af110c97ab54b9e2efc67aca","name":"https://git.kernel.org/stable/c/21d6837289c149f3af110c97ab54b9e2efc67aca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3c9889dede78991b1cc6339035cdc0bb0e155fc","name":"https://git.kernel.org/stable/c/f3c9889dede78991b1cc6339035cdc0bb0e155fc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139185","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139185","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 83cbc002b791a2cca732124de4f88a9ab9c9bfe9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 9ed684fae0d8d31cc4759d6efd7fb27469277363 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 a2ba0bf93500c0c489a6908b004ce8e3227d0e7c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 1baa01b6d4dbbfce9bf19f22c197cf80511dc602 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 21d6837289c149f3af110c97ab54b9e2efc67aca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 f3c9889dede78991b1cc6339035cdc0bb0e155fc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8d0bcb012f57729e44991a45f5ba3266a58de268 13b364c765e69db1f8446399d8db0b331c23b50c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"83cbc002b791a2cca732124de4f88a9ab9c9bfe9","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"9ed684fae0d8d31cc4759d6efd7fb27469277363","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"a2ba0bf93500c0c489a6908b004ce8e3227d0e7c","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"1baa01b6d4dbbfce9bf19f22c197cf80511dc602","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"21d6837289c149f3af110c97ab54b9e2efc67aca","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"f3c9889dede78991b1cc6339035cdc0bb0e155fc","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"},{"lessThan":"13b364c765e69db1f8446399d8db0b331c23b50c","status":"affected","version":"8d0bcb012f57729e44991a45f5ba3266a58de268","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.0"},{"lessThan":"5.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: atlantic: Unregister before clearing RXNFC rules\n\naq_pci_remove() clears the driver's RXNFC rule list before unregistering\nthe netdevice.  Until unregister_netdev() returns, ethtool operations can\nstill call aq_get_rxnfc_rule(), aq_get_rxnfc_all_rules(),\naq_add_rxnfc_rule(), or aq_del_rxnfc_rule().  Those paths traverse the\nsame unlocked hlist that aq_clear_rxnfc_all_rules() is mutating and\nfreeing.\n\nThe race is reachable by issuing RXNFC ethtool commands concurrently with\nPCI device removal or driver unbind.  A reader can dereference a node that\nhas just been freed, and two writers can corrupt the list or free the same\nrule more than once, causing KASAN reports, list corruption, or a kernel\npanic.\n\nReverse the removal order: unregister the netdevice first, then clear the\nRXNFC rules.  After unregister_netdev() returns, ethtool can no longer\nenter the driver, while the PCI device is still available for the\nrule-clearing routine to issue hardware commands.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.  The issue was\nnot observed at runtime; it is identified by code inspection only."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:22.023Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/83cbc002b791a2cca732124de4f88a9ab9c9bfe9"},{"url":"https://git.kernel.org/stable/c/9ed684fae0d8d31cc4759d6efd7fb27469277363"},{"url":"https://git.kernel.org/stable/c/b4dc5e99b8b04671ce8ccfa5cc44cbd85404f45d"},{"url":"https://git.kernel.org/stable/c/a2ba0bf93500c0c489a6908b004ce8e3227d0e7c"},{"url":"https://git.kernel.org/stable/c/1baa01b6d4dbbfce9bf19f22c197cf80511dc602"},{"url":"https://git.kernel.org/stable/c/21d6837289c149f3af110c97ab54b9e2efc67aca"},{"url":"https://git.kernel.org/stable/c/f3c9889dede78991b1cc6339035cdc0bb0e155fc"},{"url":"https://git.kernel.org/stable/c/13b364c765e69db1f8446399d8db0b331c23b50c"}],"title":"net: atlantic: Unregister before clearing RXNFC rules","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139185","datePublished":"2026-11-30T13:32:22.023Z","dateReserved":"2026-11-30T13:22:15.919Z","dateUpdated":"2026-11-30T13:32:22.023Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:37","lastModifiedDate":"2026-11-30 14:18:37","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139185","Ordinal":"1","Title":"net: atlantic: Unregister before clearing RXNFC rules","CVE":"CVE-2026-139185","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139185","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: atlantic: Unregister before clearing RXNFC rules\n\naq_pci_remove() clears the driver's RXNFC rule list before unregistering\nthe netdevice.  Until unregister_netdev() returns, ethtool operations can\nstill call aq_get_rxnfc_rule(), aq_get_rxnfc_all_rules(),\naq_add_rxnfc_rule(), or aq_del_rxnfc_rule().  Those paths traverse the\nsame unlocked hlist that aq_clear_rxnfc_all_rules() is mutating and\nfreeing.\n\nThe race is reachable by issuing RXNFC ethtool commands concurrently with\nPCI device removal or driver unbind.  A reader can dereference a node that\nhas just been freed, and two writers can corrupt the list or free the same\nrule more than once, causing KASAN reports, list corruption, or a kernel\npanic.\n\nReverse the removal order: unregister the netdevice first, then clear the\nRXNFC rules.  After unregister_netdev() returns, ethtool can no longer\nenter the driver, while the PCI device is still available for the\nrule-clearing routine to issue hardware commands.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.  The issue was\nnot observed at runtime; it is identified by code inspection only.","Type":"Description","Title":"net: atlantic: Unregister before clearing RXNFC rules"}]}}}