Junglewise Threat Intelligence

CVE-2024-57948: Linux kernel list corruption in mac802154 interface removal

CVE-2024-57948 · Severity: medium · CVSS 5.5 · Published 2025-01-31

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was found in the Linux kernel's networking component for IEEE 802.15.4 (low-power wireless) devices. This flaw can cause a system crash (kernel panic) when a wireless network interface is removed while the hardware is being unregistered. An attacker with local access could exploit this to disrupt system availability and cause a denial-of-service.

Technical details

A race condition exists in net/mac802154/iface.c within the ieee802154_if_remove function. The vulnerability occurs when a network interface is removed concurrently with the unregistration of the underlying IEEE 802.15.4 hardware device. Specifically, if ieee802154_remove_interfaces is called on one CPU while ieee802154_if_remove is called on another, the sdata list can be corrupted, leading to a 'kernel BUG' or NULL pointer dereference (CWE-476). The fix introduces a check for local->interfaces before attempting to delete the sdata list entry. This is a local attack vector requiring low privileges. Patches have been backported to various stable kernel branches including 5.4.y, 5.10.y, 5.15.y, 6.1.y, 6.6.y, and 6.12.y.

Affected products

  • Linux Linux kernel up to 5.4.290, 5.5 to 5.10.234, 5.11 to 5.15.177, 5.16 to 6.1.127, 6.2 to 6.6.75, 6.7 to 6.12.11, 6.13-rc1 to 6.13-rc6

Timeline

  • 2024-11-13: patched: Initial patch submitted by Lizhi Xu
  • 2025-01-31: disclosed: CVE-2024-57948 published

References

Related threats