CVE-2026-139372: Bluetooth: btintel: Zero version data before parsing TLVs
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btintel: Zero version data before parsing TLVs
Firmware may omit optional TLVs, leaving their corresponding fields unset in the caller-supplied struct intelversiontlv. Since the structure is typically stack-allocated and not cleared beforehand, fields for which no TLV is received retain uninitialized stack memory. This stale data can be logged via btintelversioninfotlv() and copied back to the caller, leaking kernel stack contents.
Clear the structure in btintelreadversiontlv() before parsing so that fields with no corresponding TLV are deterministically zero instead of containing garbage.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Zero the structure in btintel_read_version_tlv() before parsing TLVs so fields without corresponding TLVs are initialized.
Event History
Frequently Asked Questions
What conditions are required for the kernel stack disclosure to occur?
The Bluetooth firmware must omit one or more optional version TLVs. The caller-provided intel_version_tlv structure must contain uncleared data before those absent TLVs are parsed.
What information can be exposed?
Fields corresponding to omitted TLVs can retain uninitialized kernel stack contents. Those stale values may be logged by btintel_version_info_tlv() and copied back to the caller.
How does the fix prevent the leak?
The fix clears the intel_version_tlv structure in btintel_read_version_tlv() before TLV parsing. Fields for TLVs not supplied by firmware are then zero rather than containing residual stack data.