Skip to main content

Linux EUVDEUVD-2026-142603

| CVE-2026-142987
2026-12-03 Linux GHSA-h3g4-6fr3-q6j6
View
Awaiting Data No severity or threat signals available yet. Label will update when CVSS score is published or threat intelligence arrives. Why: No CVSS yet + weak signal (CWE or non-zero EPSS).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisCVE.org

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.

Affected VersionsENISA

Linux 0 <5.10.276
Linux patch: 7.3.7
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5c0e66058314fc994feef9e1a1879146ea3698b6
Linux patch: 6.12.120
Linux 0 <6.18.66
Linux 0 <5.15.227
Linux patch: 7.4-rc4
Linux patch: 6.18.66
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2ef64b32ceb561e85d572ed2b7aaa45d36087f26
Linux 0 <6.12.120
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <450fa94d7ae9fc91c3df525f5d1322bf8fecf7b2
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <94bc557fc0c78e7c148974baf0be33db9b3cbc93
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <02d11b2e20bbd98b6496458ebc7522f6d429dc36
Linux patch: 5.10.276
Linux 0 <7.3.7
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <efe2605be71f6f22dcdf08fa9a0b1669e41a68d2
Linux patch: 5.15.227

Affected Packages

euvd linux fix: 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 10:03 EUVD
CVE Published
Dec 03, 2026 - 09:17 cve.org
UNKNOWN (no severity yet)

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Data Quality
2 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity Not scored yet
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
No CVSS yet + weak signal (CWE or non-zero EPSS)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy