{"id":"CVE-2025-38641","state":"PUBLISHED","title":"Bluetooth: btusb: Fix potential NULL dereference on kmalloc failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: Fix potential NULL dereference on kmalloc failure\n\nAvoid potential NULL pointer dereference by checking the return value of\nkmalloc and handling allocation failure properly.","publishedAt":"2025-08-22T16:00:47.492Z","updatedAt":"2026-05-11T21:32:09.002Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d70989fcea7f79afe018a7e34d3486406c7a94e","status":"affected","lessThan":"5029d80bfc30b60ff57c70ccb04e027acb404f6a","versionType":"git"},{"version":"7d70989fcea7f79afe018a7e34d3486406c7a94e","status":"affected","lessThan":"b505902c66a282dcb01bcdc015aa1fdfaaa075db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btusb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.16.1","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btusb.c"]}],"references":["https://git.kernel.org/stable/c/5029d80bfc30b60ff57c70ccb04e027acb404f6a","https://git.kernel.org/stable/c/b505902c66a282dcb01bcdc015aa1fdfaaa075db"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38641.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38641","state":"PUBLISHED","datePublished":"2025-08-22T16:00:47.492Z","dateUpdated":"2026-05-11T21:32:09.002Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.030Z"},"containers":{"cna":{"title":"Bluetooth: btusb: Fix potential NULL dereference on kmalloc failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: Fix potential NULL dereference on kmalloc failure\n\nAvoid potential NULL pointer dereference by checking the return value of\nkmalloc and handling allocation failure properly."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7d70989fcea7f79afe018a7e34d3486406c7a94e","status":"affected","lessThan":"5029d80bfc30b60ff57c70ccb04e027acb404f6a","versionType":"git"},{"version":"7d70989fcea7f79afe018a7e34d3486406c7a94e","status":"affected","lessThan":"b505902c66a282dcb01bcdc015aa1fdfaaa075db","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btusb.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.16.1","status":"unaffected","lessThanOrEqual":"6.16.*","versionType":"semver"},{"version":"6.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btusb.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5029d80bfc30b60ff57c70ccb04e027acb404f6a"},{"url":"https://git.kernel.org/stable/c/b505902c66a282dcb01bcdc015aa1fdfaaa075db"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:32:09.002Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.16.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}