CVE-2025-40294

high
Published 2026-01-26 · Modified 2026-01-30
CVSS v3
CVSS v2
VIR risk
8.0

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: MGMT: Fix OOB access in parse_adv_monitor_pattern() In the parse_adv_monitor_pattern() function, the value of the 'length' variable is currently limited to HCI_MAX_EXT_AD_LENGTH(251). The size of the 'value' array in the mgmt_adv_pattern structure is 31. If the value of 'pattern[i].length' is set in the user space and exceeds 31, the 'patterns[i].value' array can be accessed out of bound when copied. Increasing the size of the 'value' array in the 'mgmt_adv_pattern' structure will break the userspace. Considering this, and to avoid OOB access revert the limits for 'offset' and 'length' back to the value of HCI_MAX_AD_LENGTH. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2026-1143.html

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2422840

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2422836

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2419891

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2418876

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2418872

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2393488

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2381870

vendor Authored 2026-05-27

Vendor advisory: alma — https://bugzilla.redhat.com/2376052

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2025-40294

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2026:1143

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2025-40294.html

vendor Authored 2026-05-27

Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2026:1143

OS impact

OSVersionStatusFixed in
redhat rhel9fixed
suse slesaffected
rockylinux rocky9fixed
debian debianbookwormfixed6.1.159-1
debian debianbullseyefixed0
debian debianforkyfixed6.17.8-1
debian debiansidfixed6.17.8-1
debian debiantrixiefixed6.12.63-1

References

Verify integrity in audit chain (admin only). AS-IS.