Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.8

Linux Kernel: HSR Node Table Freeing Issue

published 3 months ago
Summary

A bug in the Linux kernel's HSR (High-Speed Router) module can cause data to be accessed after it has been freed, potentially leading to system instability. This issue affects systems running Linux with the HSR module enabled. To resolve this issue, system administrators should apply the latest Linux kernel updates to ensure the HSR node table is properly freed.

What to do
  • Update linux kernel to version 7.0.11.
Affected software
Ecosystem VendorProductAffected versions
Linux linux kernel >= 6.13.0, < 7.0.11
Fix: upgrade to 7.0.11
Original advisory text
net: hsr: defer node table free until after RCU readers
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
rcu_read_lock(). They walk hsr->node_db through hsr_get_next_node() and
hsr_get_node_data(), but RTM_DELLINK teardown removes the same node table
with plain list_del() and frees each node immediately.

That lets a generic-netlink reader hold a struct hsr_node pointer across
hsr_dellink(). In a KASAN build, widening the reader window after
hsr_get_next_node() obtains the node reproduces a slab-use-after-free
when the reader copies node->macaddress_A; the freeing stack is
hsr_del_nodes() from hsr_dellink().

Use list_del_rcu() and defer the free through the existing
hsr_free_node_rcu() callback. This matches the lifetime rule used by the
HSR prune paths, which already delete nodes with list_del_rcu() and
call_rcu().
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
7.8 High
Timeline
Published19 Jul 2026
Updated1 Aug 2026
First seen1 Aug 2026
Track software like this
Free during beta