CVE-2026-100071

net: hsr: free learned nodes on device setup failure

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before e691eee886871b933d772ffc76d66c80b4c0a25eAffected
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before 0a340ffd96943a49a78e367efac9517ca767d99bAffected
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before f7289e3492f2694dccd3d79287e0e31879b58650Affected
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before 65702339b3e9fd792f65d4b740928798194d86ceAffected
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before 49b01f2939abc676a6f9a118f07a10110ee5f683Affected
  • 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 to before 7f16289b91eb316f170a6bd22d32e6c632f6a5b6Affected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.52 through 6.18.*Not affected
  • 7.2.6 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.