net: hsr: free learned nodes on device setup failure (Linux Linux)

CVE-2026-100071
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < e691eee886871b933d772ffc76d66c80b4c0a25e ; affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < 0a340ffd96943a49a78e367efac9517ca767d99b ; affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < f7289e3492f2694dccd3d79287e0e31879b58650 ; affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < 65702339b3e9fd792f65d4b740928798194d86ce ; affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < 49b01f2939abc676a6f9a118f07a10110ee5f683 ; affected 81ba6afd6e6443d2bf4bf40f16df1f1f91c603f8 < 7f16289b91eb316f170a6bd22d32e6c632f6a5b6
Linux · Linuxaffected 3.17 ; unaffected 0 < 3.17 ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD