Bug 2419891 (CVE-2025-40294) - CVE-2025-40294 kernel: Linux kernel: Out-of-bounds write in Bluetooth MGMT can lead to information disclosure and denial of service
Summary: CVE-2025-40294 kernel: Linux kernel: Out-of-bounds write in Bluetooth MGMT ca...
Keywords:
Status: NEW
Alias: CVE-2025-40294
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-08 07:06 UTC by OSIDB Bzimport
Modified: 2026-02-12 00:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:1143 0 None None None 2026-01-26 14:21:02 UTC
Red Hat Product Errata RHSA-2026:1690 0 None None None 2026-02-02 09:50:43 UTC
Red Hat Product Errata RHSA-2026:2352 0 None None None 2026-02-09 17:46:42 UTC
Red Hat Product Errata RHSA-2026:2594 0 None None None 2026-02-12 00:44:48 UTC

Description OSIDB Bzimport 2025-12-08 07:06:36 UTC
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.

Comment 4 errata-xmlrpc 2026-01-26 14:21:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:1143 https://access.redhat.com/errata/RHSA-2026:1143

Comment 5 errata-xmlrpc 2026-02-02 09:50:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:1690 https://access.redhat.com/errata/RHSA-2026:1690

Comment 7 errata-xmlrpc 2026-02-09 17:46:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:2352 https://access.redhat.com/errata/RHSA-2026:2352

Comment 8 errata-xmlrpc 2026-02-12 00:44:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:2594 https://access.redhat.com/errata/RHSA-2026:2594


Note You need to log in before you can comment on or make changes to this bug.