{"id":"CVE-2026-68479","state":"PUBLISHED","title":"Bluetooth: btrtl: validate firmware patch bounds","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btrtl: validate firmware patch bounds\n\nrtlbt_parse_firmware() copies patch_length - 4 bytes before appending the\nfirmware version. A malformed firmware patch shorter than the version field\ncan make this subtraction underflow and turn the copy into an oversized\nread and write during Bluetooth setup.\n\nThe existing patch_offset + patch_length check can also wrap on 32-bit\narchitectures. Validate the patch length and range without arithmetic\noverflow before allocating or copying the patch.","publishedAt":"2026-08-15T05:51:34.106Z","updatedAt":"2026-10-19T21:09:12.177Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"39e01b4addfbbe177567d6ed1dfb81f9cccb19e6","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"bda3c598ade6ea03884074b91e31608326684921","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"a4cb830e0b55ac76c849fd7840afb251f4c028fa","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"68c5a2a19987c035eb129e627e579adafb04f637","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"83534891c058ed71e251135072640911670869aa","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"6744ab60dfac55d1df5733960aad5be300984301","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"f1ca750c0510bdbb504bf084d2f196ef2af92ea6","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"609c5b04a28dc1b0f3af6a7bc93055135b2d2059","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.2","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]}],"references":["https://git.kernel.org/stable/c/39e01b4addfbbe177567d6ed1dfb81f9cccb19e6","https://git.kernel.org/stable/c/bda3c598ade6ea03884074b91e31608326684921","https://git.kernel.org/stable/c/a4cb830e0b55ac76c849fd7840afb251f4c028fa","https://git.kernel.org/stable/c/68c5a2a19987c035eb129e627e579adafb04f637","https://git.kernel.org/stable/c/83534891c058ed71e251135072640911670869aa","https://git.kernel.org/stable/c/6744ab60dfac55d1df5733960aad5be300984301","https://git.kernel.org/stable/c/f1ca750c0510bdbb504bf084d2f196ef2af92ea6","https://git.kernel.org/stable/c/609c5b04a28dc1b0f3af6a7bc93055135b2d2059"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68479.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68479","state":"PUBLISHED","datePublished":"2026-08-15T05:51:34.106Z","dateUpdated":"2026-10-19T21:09:12.177Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.397Z"},"containers":{"cna":{"title":"Bluetooth: btrtl: validate firmware patch bounds","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btrtl: validate firmware patch bounds\n\nrtlbt_parse_firmware() copies patch_length - 4 bytes before appending the\nfirmware version. A malformed firmware patch shorter than the version field\ncan make this subtraction underflow and turn the copy into an oversized\nread and write during Bluetooth setup.\n\nThe existing patch_offset + patch_length check can also wrap on 32-bit\narchitectures. Validate the patch length and range without arithmetic\noverflow before allocating or copying the patch."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"39e01b4addfbbe177567d6ed1dfb81f9cccb19e6","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"bda3c598ade6ea03884074b91e31608326684921","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"a4cb830e0b55ac76c849fd7840afb251f4c028fa","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"68c5a2a19987c035eb129e627e579adafb04f637","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"83534891c058ed71e251135072640911670869aa","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"6744ab60dfac55d1df5733960aad5be300984301","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"f1ca750c0510bdbb504bf084d2f196ef2af92ea6","versionType":"git"},{"version":"db33c77dddc2ed2cff3061d0b096a9f5ab0c3647","status":"affected","lessThan":"609c5b04a28dc1b0f3af6a7bc93055135b2d2059","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.2","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.97","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.40","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/bluetooth/btrtl.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/39e01b4addfbbe177567d6ed1dfb81f9cccb19e6"},{"url":"https://git.kernel.org/stable/c/bda3c598ade6ea03884074b91e31608326684921"},{"url":"https://git.kernel.org/stable/c/a4cb830e0b55ac76c849fd7840afb251f4c028fa"},{"url":"https://git.kernel.org/stable/c/68c5a2a19987c035eb129e627e579adafb04f637"},{"url":"https://git.kernel.org/stable/c/83534891c058ed71e251135072640911670869aa"},{"url":"https://git.kernel.org/stable/c/6744ab60dfac55d1df5733960aad5be300984301"},{"url":"https://git.kernel.org/stable/c/f1ca750c0510bdbb504bf084d2f196ef2af92ea6"},{"url":"https://git.kernel.org/stable/c/609c5b04a28dc1b0f3af6a7bc93055135b2d2059"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Malformed input is parsed from host firmware files via request_firmware() during Realtek Bluetooth hci_power_on/setup (btusb_setup_realtek or h5_btrtl_setup → btrtl_initialize → rtlbt_parse_firmware); no network or Bluetooth packet path reaches this parser.\nAC:L - Attacker fully controls EPATCH patch_length and patch_offset in a crafted firmware blob; unsigned underflow of patch_length-4 and 32-bit patch_offset+patch_length wrap reliably trigger oversized memcpy on the next adapter power-on without races or attacker-uncontrolled layout.\nPR:L - Firmware is loaded from /lib/firmware/rtl_bt/ or Android /vendor/firmware/ paths that on many embedded and phone builds are writable by non-root system or vendor accounts; no init-namespace administrator privileges are needed to position the malicious EPATCH image.\nUI:N - rtlbt_parse_firmware runs automatically from hci_dev_setup_sync during hci_power_on when Realtek Bluetooth is enabled at boot or by bluetoothd, requiring no victim interaction such as pairing, mounting, or accepting prompts.\nS:U - Heap corruption and out-of-bounds access occur entirely within kernel memory during local firmware parsing on the same host; this does not cross VM, container, or IOMMU security boundaries.\nC:H - patch_length-4 unsigned underflow turns memcpy into a massive out-of-bounds read past the kvmemdup firmware buffer, exposing adjacent kernel heap or vmalloc contents well beyond any bounded leak.\nI:H - The same undersized patch_length allocates a small kvmalloc buffer then memcpy writes a huge amount into kernel heap, yielding a controllable heap overflow and out-of-bounds write usable for privilege escalation.\nA:H - Heap overflow and out-of-range copies during Bluetooth setup commonly cause kernel oops or panic; even without full exploitation the bug produces immediate high availability impact on affected Realtek adapters."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:39:20.556Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-68479","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:49:41.950928Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","type":"CWE","description":"CWE-190 Integer Overflow or Wraparound"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T21:09:12.177Z"}}]}}}