{"id":"CVE-2022-50374","summary":"Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failure\n\nsyzbot is reporting NULL pointer dereference at hci_uart_tty_close() [1],\nfor rcu_sync_enter() is called without rcu_sync_init() due to\nhci_uart_tty_open() ignoring percpu_init_rwsem() failure.\n\nWhile we are at it, fix that hci_uart_register_device() ignores\npercpu_init_rwsem() failure and hci_uart_unregister_device() does not\ncall percpu_free_rwsem().","modified":"2026-03-20T11:47:25.472927Z","published":"2025-09-17T14:56:28.974Z","related":["SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50374.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3124d320c22f3f4388d9ac5c8f37eaad0cefd6b1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75b2c71ea581c7bb1303860d89366a42ad0506d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98ce10f3f345e61fc6c83bff9cd11cda252b05ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8917dce2134739b39bc0a5648b18427f2cad569"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7cc0d51ffcbfd1caaa809fcf9cff05c46d0fb4d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50374.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50374"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"67d2f8781b9f00d1089aafcfa3dc09fcd0f343e2"},{"fixed":"d7cc0d51ffcbfd1caaa809fcf9cff05c46d0fb4d"},{"fixed":"b8917dce2134739b39bc0a5648b18427f2cad569"},{"fixed":"75b2c71ea581c7bb1303860d89366a42ad0506d2"},{"fixed":"98ce10f3f345e61fc6c83bff9cd11cda252b05ac"},{"fixed":"3124d320c22f3f4388d9ac5c8f37eaad0cefd6b1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"f6ec33f6bd3723a8146768106434ef6ab3d9d990"},{"last_affected":"4a53c4e84ace1bc75157a7281af3fe8f5b19d08c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50374.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}