{"id":"CVE-2025-38315","state":"PUBLISHED","title":"Bluetooth: btintel: Check dsbr size from EFI variable","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btintel: Check dsbr size from EFI variable\n\nSince the size of struct btintel_dsbr is already known, we can just\nstart there instead of querying the EFI variable size. If the final\nresult doesn't match what we expect also fail. This fixes a stack buffer\noverflow when the EFI variable is larger than struct btintel_dsbr.","publishedAt":"2025-07-10T07:42:22.569Z","updatedAt":"2026-05-11T21:25:36.214Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"9427f6081f37c795a8bd29d0ee72a4da3bd64af8","versionType":"git"},{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"7b8526bb489780ccc0caffc446ecabec83cfe568","versionType":"git"},{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"3aa1dc3c9060e335e82e9c182bf3d1db29220b1b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btintel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.34","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btintel.c"]}],"references":["https://git.kernel.org/stable/c/9427f6081f37c795a8bd29d0ee72a4da3bd64af8","https://git.kernel.org/stable/c/7b8526bb489780ccc0caffc446ecabec83cfe568","https://git.kernel.org/stable/c/3aa1dc3c9060e335e82e9c182bf3d1db29220b1b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38315.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38315","state":"PUBLISHED","datePublished":"2025-07-10T07:42:22.569Z","dateUpdated":"2026-05-11T21:25:36.214Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.003Z"},"containers":{"cna":{"title":"Bluetooth: btintel: Check dsbr size from EFI variable","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btintel: Check dsbr size from EFI variable\n\nSince the size of struct btintel_dsbr is already known, we can just\nstart there instead of querying the EFI variable size. If the final\nresult doesn't match what we expect also fail. This fixes a stack buffer\noverflow when the EFI variable is larger than struct btintel_dsbr."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"9427f6081f37c795a8bd29d0ee72a4da3bd64af8","versionType":"git"},{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"7b8526bb489780ccc0caffc446ecabec83cfe568","versionType":"git"},{"version":"eb9e749c0182affafadfbe5ded4503c4b5a9b57c","status":"affected","lessThan":"3aa1dc3c9060e335e82e9c182bf3d1db29220b1b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btintel.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.34","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.3","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btintel.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9427f6081f37c795a8bd29d0ee72a4da3bd64af8"},{"url":"https://git.kernel.org/stable/c/7b8526bb489780ccc0caffc446ecabec83cfe568"},{"url":"https://git.kernel.org/stable/c/3aa1dc3c9060e335e82e9c182bf3d1db29220b1b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:25:36.214Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}