CVE-2026-64123

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

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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().

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 0ea70fb46940620848c08d9d399455c9e82fecdbAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 8be6685cdd1255bcc85f9b59e4bfc313aefc5c1bAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before c5580114e0492bcd2e0a37613ed4c311e3fa3d4dAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 7713f4aafb577ff49fa67f0488d9c7dddc64d6ceAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 6324423a8e6591f41a16c09a8f9a84e554ac147cAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 48d09dea506de667eb55f939bf98eec721effbdbAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before 8c3af18bb0d7c921a5219194037509463eb2ffdeAffected
  • b9a1e627405d68d475a3c1f35e685ccfb5bbe668 to before aaec7096f9961eb223b5b149abe9495525c205d9Affected
  • 08523d5a2f4a9e4202e00d282c164d453cabe2d2Affected
  • 5.2.12 to before 5.3Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 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.