Bluetooth: MGMT: validate advertising TLV before type checks (Linux Linux)

CVE-2026-53255
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: validate advertising TLV before type checks tlv_data_is_valid() reads each advertising data field length from data[i], then inspects data[i + 1] for managed EIR types before checking that the current field still fits inside the supplied buffer. A malformed field whose length byte is the last byte of the buffer can therefore make the parser read one byte past the advertising data. KASAN reported the following when a malformed MGMT_OP_ADD_ADVERTISING request reached that path: BUG: KASAN: vmalloc-out-of-bounds in tlv_data_is_valid() Read of size 1 Call trace: tlv_data_is_valid() add_advertising() hci_mgmt_cmd() hci_sock_sendmsg() Move the existing element-length check before any type-octet inspection so each non-empty element is proven to contain its type byte before the parser looks at data[i + 1].

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < 13ad995071a06570668dd8daab3616c247c72080 ; affected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < 06fcbd79c3c360a50f9be9d370769bbd738d0976 ; affected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < f7093ac233c1e7f51d125534f46067772a113175 ; affected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < 74c08e4db35a476c3462aeb65846f955be732626 ; affected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < 18fea1cb0c2599752e908c8217490f73ddd33e00 ; affected 2bb36870e8cb29949ef9acec37129cd8e70f1857 < 1a3c8ffbb469859b076445af44bdfa6a711d483e
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD