CVE-2025-40294: Bluetooth: MGMT: Fix OOB access in parse_adv_monitor_pattern()

Published Dec 8, 2025
·
Updated

Bluetooth: MGMT: Fix OOB access in parseadvmonitorpattern()

Affected Software

7 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.112.1-2
IBM Verify Identity Access<=11.0 - 11.0.2
IBM Security Verify Access<=10.0 - 10.0.9.1
IBM Verify Identity Access Container<=11.0 - 11.0.2
IBM Security Verify Access Container<=10.0 - 10.0.9.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    To avoid OOB access, revert the limits for 'offset' in the parse_adv_monitor_pattern() function (after user-controlled pattern[i].length may exceed the mgmt_adv_pattern 'value' array size of 31).

    Linux kernel Bluetooth MGMT (parse_adv_monitor_pattern) offset limits = revert limits for 'offset'
  2. Configuration

    In parse_adv_monitor_pattern(), revert the 'length' variable so it is limited back to HCI_MAX_AD_LENGTH; currently 'length' is limited to HCI_MAX_EXT_AD_LENGTH(251), which allows patterns[i].value (array size 31) to be accessed out of bounds when copied.

    Linux kernel Bluetooth MGMT (parse_adv_monitor_pattern) patterns[i].value array length handling = set 'length' back to HCI_MAX_AD_LENGTH

Event History

Dec 8, 2025
CVE Published
via MITRE·12:46 AM
Data Sourced
via MITRE·12:46 AM
Description
Data Sourced
via NVD·01:16 AM
Description
Data Sourced
via Red Hat·07:06 AM
DescriptionSeverityAffected Software
Dec 9, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
DescriptionSeverity
Jul 8, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-40294?

CVE-2025-40294 has a high severity due to the risk of out-of-bounds memory access in the Linux kernel's Bluetooth functionality.

2

How do I fix CVE-2025-40294?

The fix for CVE-2025-40294 is to upgrade to the latest version of the Linux kernel where the issue has been patched.

3

What systems are affected by CVE-2025-40294?

CVE-2025-40294 affects all versions of the Linux kernel that utilize the Bluetooth MGMT subsystem.

4

What type of vulnerability is CVE-2025-40294?

CVE-2025-40294 is characterized as an out-of-bounds access vulnerability in the Linux kernel.

5

Can CVE-2025-40294 be exploited remotely?

CVE-2025-40294 may allow for remote code execution if exploited through the Bluetooth stack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203