CVE-2022-50374

Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure

State
Published
Severity
5.5 Medium
Published
Sep 17, 2025
Updated
May 23, 2026
Reserved
Sep 17, 2025

Read the record on cve.org

Description

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

Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure

syzbot is reporting NULL pointer dereference at hci_uart_tty_close() [1], for rcu_sync_enter() is called without rcu_sync_init() due to hci_uart_tty_open() ignoring percpu_init_rwsem() failure.

While we are at it, fix that hci_uart_register_device() ignores percpu_init_rwsem() failure and hci_uart_unregister_device() does not call percpu_free_rwsem().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-908 Use of Uninitialized Resource

Affected Products

ProductVersions
LinuxLinux
  • 67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 to before d7cc0d51ffcbfd1caaa809fcf9cff05c46d0fb4dAffected
  • 67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 to before b8917dce2134739b39bc0a5648b18427f2cad569Affected
  • 67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 to before 75b2c71ea581c7bb1303860d89366a42ad0506d2Affected
  • 67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 to before 98ce10f3f345e61fc6c83bff9cd11cda252b05acAffected
  • 67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 to before 3124d320c22f3f4388d9ac5c8f37eaad0cefd6b1Affected
  • f6ec33f6bd3723a8146768106434ef6ab3d9d990Affected
  • 4a53c4e84ace1bc75157a7281af3fe8f5b19d08cAffected
  • 4.14.63 to before 4.15Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.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.