Where
-Infinity
0
Severity
7.8
Use After Free
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved:

net: hsr: defer node table free until after RCU readers

HSR node-list and node-status generic-netlink operations run under rcureadlock(). They walk hsr->nodedb through hsrgetnextnode() and hsrgetnodedata(), but RTMDELLINK teardown removes the same node table with plain listdel() and frees each node immediately.

That lets a generic-netlink reader hold a struct hsrnode pointer across hsrdellink(). In a KASAN build, widening the reader window after hsrgetnextnode() obtains the node reproduces a slab-use-after-free when the reader copies node->macaddressA; the freeing stack is hsrdelnodes() from hsrdellink().

Use listdelrcu() and defer the free through the existing hsrfreenodercu() callback. This matches the lifetime rule used by the HSR prune paths, which already delete nodes with listdelrcu() and callrcu().

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203