CVEBrief

Home / Linux / Linux / CVE-2025-40237

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

CVE-2025-40237 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, 11:38 UTC). Affected: Linux from 6.6.72 before 6.6.73, Linux from 6.6.74 before 6.6.115, Linux from 6.12.10 before 6.12.56 and 1 more (CVE record by Linux). Fixed in 6.6.73, 6.6.115, 6.12.56, 6.17.6 and 1 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 28, 2026, 17:37 UTC and NVD November 19, 2026, 07:15 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
Linux from 6.6.72 before 6.6.73, Linux from 6.6.74 before 6.6.115, Linux from 6.12.10 before 6.12.56 and 1 more
CVE record by Linux
Fixed in
6.6.73, 6.6.115, 6.12.56, 6.17.6 and 1 more
CVE record by Linux
Exploit odds (EPSS)
0.22% in 30 days
higher than 13% of CVEs; FIRST, December 2, 2026

What is CVE-2025-40237?

In the Linux kernel, the following vulnerability has been resolved: fs/notify: call exportfs_encode_fid with s_umount Calling intotify_show_fdinfo() on fd watching an overlayfs inode, while the overlayfs is being unmounted, can lead to dereferencing NULL ptr. This issue was found by syzkaller. Race Condition Diagram: Thread 1 Thread 2 -------- -------- generic_shutdown_super() shrink_dcache_for_umount sb->s_root = NULL | | vfs_read() | inotify_fdinfo() | * inode get from mark * | show_mark_fhandle(m, inode) | exportfs_encode_fid(inode, ..) | ovl_encode_fh(inode, ..) | ovl_check_encode_origin(inode) | * deref i_sb->s_root * | | v fsnotify_sb_delete(sb) Which then leads to: [ 32.133461] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN NOPTI [ 32.134438] KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] [ 32.135032] CPU: 1 UID: 0 PID: 4468 Comm: systemd-coredum Not tainted 6.17.0-rc6 #22 PREEMPT(none) <snip registers, unreliable trace> [ 32.143353] Call Trace: [ 32.143732] ovl_encode_fh+0xd5/0x170 [ 32.144031] exportfs_encode_inode_fh+0x12f/0x300 [ 32.144425] show_mark_fhandle+0xbe/0x1f0 [ 32.145805] inotify_fdinfo+0x226/0x2d0 [ 32.146442] inotify_show_fdinfo+0x1c5/0x350 [ 32.147168] seq_show+0x530/0x6f0 [ 32.147449] seq_read_iter+0x503/0x12a0 [ 32.148419] seq_read+0x31f/0x410 [ 32.150714] vfs_read+0x1f0/0x9e0 [ 32.152297] ksys_read+0x125/0x240 IOW ovl_check_encode_origin derefs inode->i_sb->s_root, after it was set to NULL in the unmount path. Fix it by protecting calling exportfs_encode_fid() from show_mark_fhandle() with s_umount lock. This form of fix was suggested by Amir in [1]. [1]: https://lore.kernel.org/all/CAOQ4uxhbDwhb+2Brs1UdkoF0a3NSdBAOQPNfEHjahrgoKJpLEw@mail.gmail.com/

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.6.72 before 6.6.73
from 6.6.74 before 6.6.115
from 6.12.10 before 6.12.56
6.6.73, 6.6.115, 6.12.56
LinuxLinuxfrom 6.13 until the fixed versions6.6.73, 6.6.115, 6.12.56, 6.17.6, 6.18

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-40237 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
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?

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

Reserved
April 16, 2025
Published
December 4, 2025, 15:31 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:37 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-40237

Is CVE-2025-40237 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 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-40237?

Linux from 6.6.72 before 6.6.73, Linux from 6.6.74 before 6.6.115, Linux from 6.12.10 before 6.12.56 and Linux from 6.13 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-40237?

6.6.73, 6.6.115, 6.12.56, 6.17.6 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-40237?

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.