Home / Linux / Linux / CVE-2025-40294
CVE-2025-40294: is it exploited, and which versions of Linux are affected and fixed?
CVE-2025-40294 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: Linux from 6.1.83 before 6.1.159 and Linux from 6.6 until the fixed versions (CVE record by Linux). Fixed in 6.1.159, 6.6.117, 6.12.58, 6.17.8 and 1 more (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 28, 2026, 17:36 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-40294?
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.
From the CVE record by Linux, last updated June 16, 2026, 19:53 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 6.1.83 before 6.1.159 | 6.1.159 |
| Linux | Linux | from 6.6 until the fixed versions | 6.1.159, 6.6.117, 6.12.58, 6.17.8, 6.18 |
As the CVE record by Linux states it, last updated June 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2025-40294 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 16, 2026)
- EPSS
- 0.22% probability of exploitation activity in the next 30 days, percentile 12.7 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/96616530f524a0a76248cd44201de0a9e8526190
- https://git.kernel.org/stable/c/5f7350ff2b179764a4f40ba4161b60b8aaef857b
- https://git.kernel.org/stable/c/4b7d4aa5399b5a64caee639275615c63c008540d
- https://git.kernel.org/stable/c/3a50d59b3781bc3a4e96533612509546a4c309a7
- https://git.kernel.org/stable/c/8d59fba49362c65332395789fd82771f1028d87e
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- December 8, 2025, 00:46 UTC
- CVE record updated
- June 16, 2026, 19:53 UTC by Linux
- NVD
- Deferred, last modified October 14, 2026, 22:10 UTC
- Last checked
- CVE list November 28, 2026, 17:36 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2025-40294
Is CVE-2025-40294 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2025-40294?
Linux from 6.1.83 before 6.1.159 and Linux from 6.6 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2025-40294?
6.1.159, 6.6.117, 6.12.58, 6.17.8 and 6.18, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2025-40294?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.