CVE-2025-40294Linux
No score
Follow: this CVE · Linux · Linux We alert you by email or Slack (account required).
- Priority
- 0
- CVSS
- —
- EPSS
- —
- Auth required
- Unknown
- Published
- Dec 8, 2025
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
What happens
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.
What to do
- Apply the vendor's security update for Linux.
Affected products
- Linux · Linux
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:2761 · Feb 17, 2026 Medium
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:2594 · Feb 12, 2026 Medium
- Red Hat Security Advisory: kernel security update · Red Hat · RHSA-2026:2352 · Feb 10, 2026 Medium
- Security update for the Linux Kernel · SUSE · openSUSE-SU-2026:20145-1 · Feb 2, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20207-1 · Feb 2, 2026 Critical
- Security update for the Linux Kernel · SUSE · SUSE-SU-2026:20220-1 · Feb 2, 2026 Critical
Also: Red Hat (+2), SUSE (+5)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.