net: hsr: free learned nodes on device setup failure

Summary

CVECVE-2026-100071
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-25 14:17:13 UTC
Updated2026-09-25 14:17:13 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: net: hsr: free learned nodes on device setup failure hsr_dev_finalize() can fail after a lower-device RX handler has already been registered (slave A is added before the failable slave B and interlink adds). RX handlers run in softirq regardless of the master's state, so frames received in that window can learn dynamic nodes into node_db, and the error unwind never releases them. Free both owned dynamic databases in the unwind, mirroring hsr_dellink(). proxy_node_db is provably empty on every current error exit (only interlink RX feeds it, and the interlink add is the last failable step) and is freed for symmetry. The order is safe: hsr_del_port() unregisters each RX handler with synchronize_net() before hsr_del_nodes() runs, which removes remaining entries with list_del_rcu() and defers their release with call_rcu() for readers already under RCU.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 e691eee886871b933d772ffc76d66c80b4c0a25e git Not specified
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 0a340ffd96943a49a78e367efac9517ca767d99b git Not specified
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 f7289e3492f2694dccd3d79287e0e31879b58650 git Not specified
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 65702339b3e9fd792f65d4b740928798194d86ce git Not specified
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 49b01f2939abc676a6f9a118f07a10110ee5f683 git Not specified
CNA Linux Linux affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 7f16289b91eb316f170a6bd22d32e6c632f6a5b6 git Not specified
CNA Linux Linux affected 3.17 Not specified
CNA Linux Linux unaffected 3.17 semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/65702339b3e9fd792f65d4b740928798194d86ce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f7289e3492f2694dccd3d79287e0e31879b58650 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0a340ffd96943a49a78e367efac9517ca767d99b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7f16289b91eb316f170a6bd22d32e6c632f6a5b6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/49b01f2939abc676a6f9a118f07a10110ee5f683 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e691eee886871b933d772ffc76d66c80b4c0a25e 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