Junglewise Threat Intelligence

CVE-2024-50044: Linux Kernel deadlock in Bluetooth RFCOMM state change

CVE-2024-50044 · Severity: low · CVSS 3.3 · Published 2024-10-21

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Bluetooth component could allow a local user to cause a system deadlock. This occurs during specific Bluetooth RFCOMM operations, potentially leading to a partial or full system hang. While it does not allow for data theft, it can impact the availability and stability of affected devices.

Technical details

A deadlock vulnerability exists in the Linux kernel Bluetooth RFCOMM implementation due to a circular locking dependency. The function 'rfcomm_sk_state_change' attempts to acquire 'sock_lock', but it can be called while that lock is already held by 'rfcomm_sock_ioctl'. An attacker with local access could trigger this condition to cause a denial-of-service (system hang). The issue was identified using syzbot and has been resolved by removing the redundant 'lock_sock' call in 'rfcomm_sock_ioctl' within 'net/bluetooth/rfcomm/sock.c'.

Affected products

  • Linux Linux Kernel 2.6.27 to 5.10.227, 5.11 to 5.15.168, 5.16 to 6.1.113, 6.2 to 6.6.57, 6.7 to 6.11.4

Timeline

  • 2024-10-21: disclosed
  • 2024-10-21: advisory
  • 2024-10-17: patched

References

Related threats