{"id":"CVE-2022-48971","state":"PUBLISHED","title":"Bluetooth: Fix not cleanup led when bt_init fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Fix not cleanup led when bt_init fails\n\nbt_init() calls bt_leds_init() to register led, but if it fails later,\nbt_leds_cleanup() is not called to unregister it.\n\nThis can cause panic if the argument \"bluetooth-power\" in text is freed\nand then another led_trigger_register() tries to access it:\n\nBUG: unable to handle page fault for address: ffffffffc06d3bc0\nRIP: 0010:strcmp+0xc/0x30\n  Call Trace:\n    <TASK>\n    led_trigger_register+0x10d/0x4f0\n    led_trigger_register_simple+0x7d/0x100\n    bt_init+0x39/0xf7 [bluetooth]\n    do_one_initcall+0xd0/0x4e0","publishedAt":"2024-10-21T20:05:52.363Z","updatedAt":"2026-05-11T18:50:42.178Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"8a66c3a94285552f6a8e45d73b34ebbad11d388b","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"2c6cf0afc3856359e620e96edd952457d258e16c","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"e7b950458156d410509a08c41930b75e72985938","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"edf7284a98296369dd0891a0457eec37df244873","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"2f3957c7eb4e07df944169a3e50a4d6790e1c744","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/af_bluetooth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"4.19.269","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.227","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.159","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/af_bluetooth.c"]}],"references":["https://git.kernel.org/stable/c/8a66c3a94285552f6a8e45d73b34ebbad11d388b","https://git.kernel.org/stable/c/2c6cf0afc3856359e620e96edd952457d258e16c","https://git.kernel.org/stable/c/e7b950458156d410509a08c41930b75e72985938","https://git.kernel.org/stable/c/edf7284a98296369dd0891a0457eec37df244873","https://git.kernel.org/stable/c/5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f","https://git.kernel.org/stable/c/2f3957c7eb4e07df944169a3e50a4d6790e1c744"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48971.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48971","state":"PUBLISHED","datePublished":"2024-10-21T20:05:52.363Z","dateUpdated":"2026-05-11T18:50:42.178Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-08-22T01:27:53.629Z"},"containers":{"cna":{"title":"Bluetooth: Fix not cleanup led when bt_init fails","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: Fix not cleanup led when bt_init fails\n\nbt_init() calls bt_leds_init() to register led, but if it fails later,\nbt_leds_cleanup() is not called to unregister it.\n\nThis can cause panic if the argument \"bluetooth-power\" in text is freed\nand then another led_trigger_register() tries to access it:\n\nBUG: unable to handle page fault for address: ffffffffc06d3bc0\nRIP: 0010:strcmp+0xc/0x30\n  Call Trace:\n    <TASK>\n    led_trigger_register+0x10d/0x4f0\n    led_trigger_register_simple+0x7d/0x100\n    bt_init+0x39/0xf7 [bluetooth]\n    do_one_initcall+0xd0/0x4e0"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"8a66c3a94285552f6a8e45d73b34ebbad11d388b","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"2c6cf0afc3856359e620e96edd952457d258e16c","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"e7b950458156d410509a08c41930b75e72985938","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"edf7284a98296369dd0891a0457eec37df244873","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f","versionType":"git"},{"version":"e64c97b53bc6727aa4385535166aaa047281e02d","status":"affected","lessThan":"2f3957c7eb4e07df944169a3e50a4d6790e1c744","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/af_bluetooth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"4.19.269","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.227","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.159","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.83","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.0.13","status":"unaffected","lessThanOrEqual":"6.0.*","versionType":"semver"},{"version":"6.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/bluetooth/af_bluetooth.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8a66c3a94285552f6a8e45d73b34ebbad11d388b"},{"url":"https://git.kernel.org/stable/c/2c6cf0afc3856359e620e96edd952457d258e16c"},{"url":"https://git.kernel.org/stable/c/e7b950458156d410509a08c41930b75e72985938"},{"url":"https://git.kernel.org/stable/c/edf7284a98296369dd0891a0457eec37df244873"},{"url":"https://git.kernel.org/stable/c/5ecf7cd6fde5e72c87122084cf00d63e35d8dd9f"},{"url":"https://git.kernel.org/stable/c/2f3957c7eb4e07df944169a3e50a4d6790e1c744"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:50:42.178Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"4.19.269"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.4.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.10.159"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.15.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48971","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-10-22T13:19:08.445851Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-22T13:28:37.798Z"}}]}}}