Skip to contentSkip to conversation

bluez5: fix CVE-2026-19774

PATCH New Ashishkumar Parmar X (asparmar - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Nov 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5: fix CVE-2026-19774

From: Ashishkumar Parmar <[email protected]>

This patch applies the upstream BlueZ codec capability storage fix [1] and its required cache-loading correction [3] to version 5.86. The public security advisory is referenced in [2]. Both upstream code changes are preserved without adaptation.

Bound serialization and cache parsing while retaining normal endpoint restoration and checking the decoded capability buffer length.

[1] https://github.com/bluez/bluez/commit/912f5efb0dd9bb08e408d33371a57182c5678aef
[2] https://www.zerodayinitiative.com/advisories/ZDI-26-589/
[3] https://github.com/bluez/bluez/commit/b7d71e5067856b0daf2f1f73b3fc95483236610e

---
 meta/recipes-connectivity/bluez5/bluez5.inc   |  2 +
 .../bluez5/bluez5/CVE-2026-19774_p1.patch     | 63 +++++++++++++++++++
 .../bluez5/bluez5/CVE-2026-19774_p2.patch     | 62 ++++++++++++++++++
 3 files changed, 127 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch
meta/recipes-connectivity/bluez5/bluez5.inc +2 -0
index d857c23a57..a748d40768 100644
@@ -76,6 +76,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
            file://0001-src-device-Fix-stored-gatt-cache-DB-Hash-value-no.patch    \
            file://0001-profile-Set-L2CAP-IMTU-for-OBEX-profile-listeners.patch \
            file://0001-adapter-restrict-delta-0-RSSI-to-proximity-filters.patch \
+           file://CVE-2026-19774_p1.patch \
+           file://CVE-2026-19774_p2.patch \
            "
 S = "${UNPACKDIR}/bluez-${PV}"
 
meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p1.patch new file +63 -0

63 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/CVE-2026-19774_p2.patch new file +62 -0

62 lines not on this page · raw message

Signature · 1 line
2.35.6