Bug 2541416 (CVE-2026-100071) - CVE-2026-100071 kernel: net: hsr: free learned nodes on device setup failure
Summary: CVE-2026-100071 kernel: net: hsr: free learned nodes on device setup failure
Keywords:
Status: NEW
Alias: CVE-2026-100071
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 13:24 UTC by OSIDB Bzimport
Modified: 2026-09-30 16:53 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 13:24:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.