Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
Summary
| CVE | CVE-2022-50419 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-18 16:15:45 UTC |
| Updated | 2026-08-04 10:18:16 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times device_add shall not be called multiple times as stated in its documentation: 'Do not call this routine or device_register() more than once for any device structure' Syzkaller reports a bug as follows [1]: ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:33! invalid opcode: 0000 [#1] PREEMPT SMP KASAN [...] Call Trace: <TASK> __list_add include/linux/list.h:69 [inline] list_add_tail include/linux/list.h:102 [inline] kobj_kset_join lib/kobject.c:164 [inline] kobject_add_internal+0x18f/0x8f0 lib/kobject.c:214 kobject_add_varg lib/kobject.c:358 [inline] kobject_add+0x150/0x1c0 lib/kobject.c:410 device_add+0x368/0x1e90 drivers/base/core.c:3452 hci_conn_add_sysfs+0x9b/0x1b0 net/bluetooth/hci_sysfs.c:53 hci_le_cis_estabilished_evt+0x57c/0xae0 net/bluetooth/hci_event.c:6799 hci_le_meta_evt+0x2b8/0x510 net/bluetooth/hci_event.c:7110 hci_event_func net/bluetooth/hci_event.c:7440 [inline] hci_event_packet+0x63d/0xfd0 net/bluetooth/hci_event.c:7495 hci_rx_work+0xae7/0x1230 net/bluetooth/hci_core.c:4007 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 </TASK> |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-415 | CWE-415 CWE-415 Double Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 4bcefec3636208b4c97536b26014d5935d5c10a0 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 6144423712d570247b8ca26e50a277c30dd13702 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 671fee73e08ff415d36a7c16bdf238927df83884 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 6e85d2ad958c6f034b1b158d904019869dbb3c81 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 7b674dce4162bb46d396586e30e4653427023875 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 3423a50fa018e88aed4c900d59c3c8334d8ad583 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec ef055094df4c10b73cfe67c8d43f9de1fb608a8b git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 1b6c89571f453101251201f0fad1c26f7256e937 git | Not specified |
| CNA | Linux | Linux | affected b219e3ac66183fc9771b94af931fb5fd41d586ec 448a496f760664d3e2e79466aa1787e6abc922b5 git | Not specified |
| CNA | Linux | Linux | affected 2.6.19 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.19 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.9.331 4.9.* semver | Not specified |
| CNA | Linux | Linux | unaffected 4.14.296 4.14.* semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.262 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.220 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.150 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.75 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.19.17 5.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.0.3 6.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/1b6c89571f453101251201f0fad1c26f7256e937 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/671fee73e08ff415d36a7c16bdf238927df83884 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/ef055094df4c10b73cfe67c8d43f9de1fb608a8b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4bcefec3636208b4c97536b26014d5935d5c10a0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3423a50fa018e88aed4c900d59c3c8334d8ad583 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7b674dce4162bb46d396586e30e4653427023875 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6e85d2ad958c6f034b1b158d904019869dbb3c81 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/6144423712d570247b8ca26e50a277c30dd13702 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/448a496f760664d3e2e79466aa1787e6abc922b5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.