CVEBrief

Home / Linux / Linux / CVE-2026-142987

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

CVE-2026-142987 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, 18:39 UTC). Affected: Linux before 5.10.276, Linux before 5.15.227, Linux before 6.12.120 and 2 more (CVE record by Linux). Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66 and 2 more (CVE record by Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record December 3, 2026, 09:20 UTC and NVD December 3, 2026, 11:13 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:39 UTC
Affected
Linux before 5.10.276, Linux before 5.15.227, Linux before 6.12.120 and 2 more
CVE record by Linux
Fixed in
5.10.276, 5.15.227, 6.12.120, 6.18.66 and 2 more
CVE record by Linux
Exploit odds (EPSS)
0.21% in 30 days
higher than 13% 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-2026-142987?

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_mass_storage: take filesem in nofua store to fix backing-file UAF fsg_store_nofua() syncs the LUN's backing file when switching from async to sync mode: if (!nofua && curlun->nofua) fsg_lun_fsync_sub(curlun); fsg_lun_fsync_sub() dereferences curlun->filp (vfs_fsync(filp)). Unlike every other store that touches the backing file -- fsg_store_ro() and fsg_store_cdrom() (down_read), fsg_store_file() (down_write) -- fsg_store_nofua() holds no filesem while doing so. A concurrent close of the backing file runs under down_write(filesem) and does fput(curlun->filp) in fsg_lun_close() (fsg_store_file() with an empty path, the SCSI START_STOP eject in do_start_stop(), or forced_eject), so it can free the file while fsg_store_nofua() is dereferencing it: BUG: KASAN: slab-use-after-free in vfs_fsync+0x20/0xe0 vfs_fsync+0x20/0xe0 fsg_lun_fsync_sub+0xa0/0xd0 fsg_store_nofua+0x138/0x160 configfs_write_iter+0x1a7/0x250 vfs_write+0x5df/0x940 Allocated by task 3459: fsg_store_file+0x150/0x1f0 configfs_write_iter+0x1a7/0x250 Freed by task 3459: __fput+0x456/0x6c0 __fput_deferred+0x10d/0x330 fsg_store_file+0x9e/0x1f0 configfs_write_iter+0x1a7/0x250 Hold filesem for read around the fsync in fsg_store_nofua() so the backing file cannot be closed underneath it. The lock is only needed when the fsync actually runs, so it is taken only in that branch. Reproduced on a mass_storage gadget over dummy_hcd by writing lun.N/nofua (1 then 0) from one task while another task rewrites and clears lun.N/file.

From the CVE record by Linux, last updated December 3, 2026, 09:17 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxbefore 5.10.276
before 5.15.227
before 6.12.120
before 6.18.66
before 7.3.7
5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7
LinuxLinuxall versions (default)5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc4

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

Is CVE-2026-142987 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.21% probability of exploitation activity in the next 30 days, percentile 12.6 (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
December 3, 2026
Published
December 3, 2026, 09:17 UTC
CVE record updated
December 3, 2026, 09:17 UTC by Linux
NVD
Received, last modified December 3, 2026, 10:17 UTC
Last checked
CVE list December 3, 2026, 09:20 UTC; NVD December 3, 2026, 11:13 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2026-142987

Is CVE-2026-142987 exploited in the wild?

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

Which versions of Linux are affected by CVE-2026-142987?

Linux before 5.10.276, Linux before 5.15.227, Linux before 6.12.120, Linux before 6.18.66 and Linux before 7.3.7, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2026-142987?

5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 and 7.4-rc4, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

Where is the official record of CVE-2026-142987?

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.