CVE Feed
— Unscored

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmassstorage: take filesem in nofua store to fix…

CVE-2026-142987

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fmassstorage: take filesem in nofua store to fix backing-file UAF fsgstorenofua() syncs the LUN's backing file when switching from async to sync mode: if (!nofua && curlun->nofua) fsglunfsyncsub(curlun); fsglunfsyncsub() dereferences curlun->filp (vfsfsync(filp)). Unlike every other store that touches the backing file -- fsgstorero() and fsgstorecdrom() (downread), fsgstorefile() (downwrite) -- fsgstorenofua() holds no filesem while doing so. A concurrent close of the backing file runs under downwrite(filesem) and does fput(curlun->filp) in fsglunclose() (fsgstorefile() with an empty path, the SCSI STARTSTOP eject in dostartstop(), or forcedeject), so it can free the file while fsgstorenofua() is dereferencing it: BUG: KASAN: slab-use-after-free in vfsfsync+0x20/0xe0 vfsfsync+0x20/0xe0 fsglunfsyncsub+0xa0/0xd0 fsgstorenofua+0x138/0x160 configfswriteiter+0x1a7/0x250 vfswrite+0x5df/0x940 Allocated by task 3459: fsgstorefile+0x150/0x1f0 configfswriteiter+0x1a7/0x250 Freed by task 3459: fput+0x456/0x6c0 fputdeferred+0x10d/0x330 fsgstorefile+0x9e/0x1f0 configfswriteiter+0x1a7/0x250 Hold filesem for read…

Assessment

CVSS
Not yet scored
Severity
Unscored
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
3 December 2026
Last updated
3 December 2026
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-142987