CVE-2024-50044

Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
Oct 15, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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

Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change

rfcomm_sk_state_change attempts to use sock_lock so it must never be called with it locked but rfcomm_sock_ioctl always attempt to lock it causing the following trace:

====================================================== WARNING: possible circular locking dependency detected 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Not tainted ------------------------------------------------------ syz-executor386/5093 is trying to acquire lock: ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1671 [inline] ffff88807c396258 (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+.}-{0:0}, at: rfcomm_sk_state_change+0x5b/0x310 net/bluetooth/rfcomm/sock.c:73

but task is already holding lock: ffff88807badfd28 (&d->lock){+.+.}-{3:3}, at: __rfcomm_dlc_close+0x226/0x6a0 net/bluetooth/rfcomm/core.c:491

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3241ad820dbb172021e0268b5611031991431626 to before b77b3fb12fd483cae7c28648903b1d8a6b275f01Affected
  • 3241ad820dbb172021e0268b5611031991431626 to before 869c6ee62ab8f01bf2419e45326642be5c9b670aAffected
  • 3241ad820dbb172021e0268b5611031991431626 to before ef44274dae9b0a90d1a97ce8b242a3b8243a7745Affected
  • 3241ad820dbb172021e0268b5611031991431626 to before 496b2ab0fd10f205e08909a125485fdc98843dbeAffected
  • 3241ad820dbb172021e0268b5611031991431626 to before ced98072d3511b232ae1d3347945f35f30c0e303Affected
  • 3241ad820dbb172021e0268b5611031991431626 to before 38b2d5a57d125e1c17661b8308c0240c4a43b534Affected
  • 3241ad820dbb172021e0268b5611031991431626 to before 4cb9807c9b53bf1e5560420d26f319f528b50268Affected
  • 3241ad820dbb172021e0268b5611031991431626 to before 08d1914293dae38350b8088980e59fbc699a72feAffected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 4.19.323 through 4.19.*Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.227 through 5.10.*Not affected
  • 5.15.168 through 5.15.*Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.57 through 6.6.*Not affected
  • 6.11.4 through 6.11.*Not affected
  • 6.12 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.