CVE-2022-50374

Summary

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

Affected Software

VendorProductVersion RangeStatus
LinuxLinux67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 < d7cc0d51ffcbfd1caaa809fcf9cff05c46d0fb4daffected
LinuxLinux67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 < b8917dce2134739b39bc0a5648b18427f2cad569affected
LinuxLinux67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 < 75b2c71ea581c7bb1303860d89366a42ad0506d2affected
LinuxLinux67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 < 98ce10f3f345e61fc6c83bff9cd11cda252b05acaffected
LinuxLinux67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2 < 3124d320c22f3f4388d9ac5c8f37eaad0cefd6b1affected
LinuxLinuxf6ec33f6bd3723a8146768106434ef6ab3d9d990affected
LinuxLinux4a53c4e84ace1bc75157a7281af3fe8f5b19d08caffected
LinuxLinux4.14.63 < 4.15affected
LinuxLinux4.15affected
LinuxLinux0 < 4.15unaffected
LinuxLinux5.10.150 <= 5.10.*unaffected
LinuxLinux5.15.75 <= 5.15.*unaffected
LinuxLinux5.19.17 <= 5.19.*unaffected
LinuxLinux6.0.3 <= 6.0.*unaffected
LinuxLinux6.1 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References