NetSight
medium5.5

CVE-2022-50374

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure syzbot is reporting NULL p…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 4.14.63 before 4.15
from 4.14.63 before 5.10.150
from 5.11 before 5.15.75
from 5.16 before 5.19.17
from 6.0 before 6.0.3

Weakness classification

References