CVEBrief

Home / Linux / Linux / CVE-2025-40008

CVE-2025-40008: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-40008 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, 22:39 UTC). Affected: Linux from 6.1.94 before 6.1.155, Linux from 6.6.34 before 6.6.109, Linux from 6.9.5 before 6.10 and 1 more (CVE record by Linux). Fixed in 6.1.155, 6.6.109, 6.10, 6.12.50 and 2 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 22:39 UTC, CVE record November 28, 2026, 17:38 UTC and NVD November 19, 2026, 07:16 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 22:39 UTC
Affected
Linux from 6.1.94 before 6.1.155, Linux from 6.6.34 before 6.6.109, Linux from 6.9.5 before 6.10 and 1 more
CVE record by Linux
Fixed in
6.1.155, 6.6.109, 6.10, 6.12.50 and 2 more
CVE record by Linux
Exploit odds (EPSS)
0.24% in 30 days
higher than 17% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-40008?

In the Linux kernel, the following vulnerability has been resolved: kmsan: fix out-of-bounds access to shadow memory Running sha224_kunit on a KMSAN-enabled kernel results in a crash in kmsan_internal_set_shadow_origin(): BUG: unable to handle page fault for address: ffffbc3840291000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 1810067 P4D 1810067 PUD 192d067 PMD 3c17067 PTE 0 Oops: 0000 [#1] SMP NOPTI CPU: 0 UID: 0 PID: 81 Comm: kunit_try_catch Tainted: G N 6.17.0-rc3 #10 PREEMPT(voluntary) Tainted: [N]=TEST Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014 RIP: 0010:kmsan_internal_set_shadow_origin+0x91/0x100 [...] Call Trace: <TASK> __msan_memset+0xee/0x1a0 sha224_final+0x9e/0x350 test_hash_buffer_overruns+0x46f/0x5f0 ? kmsan_get_shadow_origin_ptr+0x46/0xa0 ? __pfx_test_hash_buffer_overruns+0x10/0x10 kunit_try_run_case+0x198/0xa00 This occurs when memset() is called on a buffer that is not 4-byte aligned and extends to the end of a guard page, i.e. the next page is unmapped. The bug is that the loop at the end of kmsan_internal_set_shadow_origin() accesses the wrong shadow memory bytes when the address is not 4-byte aligned. Since each 4 bytes are associated with an origin, it rounds the address and size so that it can access all the origins that contain the buffer. However, when it checks the corresponding shadow bytes for a particular origin, it incorrectly uses the original unrounded shadow address. This results in reads from shadow memory beyond the end of the buffer's shadow memory, which crashes when that memory is not mapped. To fix this, correctly align the shadow address before accessing the 4 shadow bytes corresponding to each origin.

From the CVE record by Linux, last updated May 23, 2026, 16:01 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxfrom 6.1.94 before 6.1.155
from 6.6.34 before 6.6.109
from 6.9.5 before 6.10
6.1.155, 6.6.109, 6.10
LinuxLinuxfrom 6.10 until the fixed versions6.1.155, 6.6.109, 6.12.50, 6.16.10, 6.17

As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Is CVE-2025-40008 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.24% probability of exploitation activity in the next 30 days, percentile 16.7 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2025
Published
October 20, 2025, 15:26 UTC
CVE record updated
May 23, 2026, 16:01 UTC by Linux
NVD
Deferred, last modified October 19, 2026, 21:10 UTC
Last checked
CVE list November 28, 2026, 17:38 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 22:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-40008

Is CVE-2025-40008 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 22:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2025-40008?

Linux from 6.1.94 before 6.1.155, Linux from 6.6.34 before 6.6.109, Linux from 6.9.5 before 6.10 and Linux from 6.10 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-40008?

6.1.155, 6.6.109, 6.10, 6.12.50, 6.16.10 and 6.17, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2025-40008?

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.