{"id":"CVE-2024-35851","state":"PUBLISHED","title":"Bluetooth: qca: fix NULL-deref on non-serdev suspend","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: qca: fix NULL-deref on non-serdev suspend\n\nQualcomm ROME controllers can be registered from the Bluetooth line\ndiscipline and in this case the HCI UART serdev pointer is NULL.\n\nAdd the missing sanity check to prevent a NULL-pointer dereference when\nwakeup() is called for a non-serdev controller during suspend.\n\nJust return true for now to restore the original behaviour and address\nthe crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657\n(\"Bluetooth: hci_qca: only assign wakeup with serial port support\") that\ncauses the crash to happen already at setup() time.","publishedAt":"2024-05-17T14:47:28.787Z","updatedAt":"2026-05-11T20:12:28.948Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"52f9041deaca3fc5c40ef3b9cb943993ec7d2489","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"e60502b907be350c518819297b565007a94c706d","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"6b47cdeb786c38e4174319218db3fa6d7b4bba88","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"73e87c0a49fda31d7b589edccf4c72e924411371","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.158","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.90","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.30","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.9","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]}],"references":["https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489","https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d","https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88","https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189","https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35851.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35851","state":"PUBLISHED","datePublished":"2024-05-17T14:47:28.787Z","dateUpdated":"2026-05-11T20:12:28.948Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-17T13:50:33.105Z"},"containers":{"cna":{"title":"Bluetooth: qca: fix NULL-deref on non-serdev suspend","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: qca: fix NULL-deref on non-serdev suspend\n\nQualcomm ROME controllers can be registered from the Bluetooth line\ndiscipline and in this case the HCI UART serdev pointer is NULL.\n\nAdd the missing sanity check to prevent a NULL-pointer dereference when\nwakeup() is called for a non-serdev controller during suspend.\n\nJust return true for now to restore the original behaviour and address\nthe crash with pre-6.2 kernels, which do not have commit e9b3e5b8c657\n(\"Bluetooth: hci_qca: only assign wakeup with serial port support\") that\ncauses the crash to happen already at setup() time."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"52f9041deaca3fc5c40ef3b9cb943993ec7d2489","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"e60502b907be350c518819297b565007a94c706d","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"6b47cdeb786c38e4174319218db3fa6d7b4bba88","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189","versionType":"git"},{"version":"c1a74160eaf1ac218733b371158432b52601beff","status":"affected","lessThan":"73e87c0a49fda31d7b589edccf4c72e924411371","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.158","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.90","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.30","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.9","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/hci_qca.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489"},{"url":"https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d"},{"url":"https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88"},{"url":"https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189"},{"url":"https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:12:28.948Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.158"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.90"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.30"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.8.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.9"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35851","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-28T19:42:46.493832Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:34:17.737Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/52f9041deaca3fc5c40ef3b9cb943993ec7d2489","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e60502b907be350c518819297b565007a94c706d","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6b47cdeb786c38e4174319218db3fa6d7b4bba88","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/b64092d2f108f0cd1d7fd7e176f5fb2a67a2f189","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/73e87c0a49fda31d7b589edccf4c72e924411371","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:21:48.657Z"}}]}}}