CVE-2026-74331

Source
https://cve.org/CVERecord?id=CVE-2026-74331
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74331.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74331
Downstream
Published
2026-08-15T05:58:24.420Z
Modified
2026-08-16T03:48:34.957606924Z
Summary
firmware_loader: Fix recursive lock in device_cache_fw_images()
Details

In the Linux kernel, the following vulnerability has been resolved:

firmwareloader: Fix recursive lock in devicecachefwimages()

A recursive locking deadlock can occur in the firmware loader's power management notification handler.

During system suspend or hibernation preparation, fwpmnotify() calls devicecachefwimages(). This function acquires fwlock to set the firmware cache state to FWLOADERSTARTCACHE and then iterates over all devices using dpmforeachdev() while still holding the lock.

For each device, devcachefwimage() schedules asynchronous work to cache the firmware. If memory allocation for the async work entry fails (e.g., in out-of-memory conditions), asyncschedulenodedomain() falls back to executing the work function synchronously in the current thread.

The synchronous execution path (_asyncdevcachefwimage() -> cachefirmware() -> requestfirmware() -> assignfw()) attempts to acquire fwlock again. Since the current thread already holds fwlock, this results in a recursive locking deadlock.

Fix this by releasing fwlock immediately after updating the cache state and before calling dpmforeachdev(). The lock is only needed to protect the state update. Concurrent firmware requests will correctly see the FWLOADERSTARTCACHE state and use the piggyback mechanism, which is independently protected by its own fwc->namelock.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74331.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ac39b3ea73aacde876d1d5ee1ca3e2719f771482
Fixed
806cb8fabfde7f830da5ae87777d52fdf50c4774
Fixed
7865a1bfd20d10c03b083a5fc392d907ca5099b3
Fixed
490b0385e4cfac691f7b18dde821c13e77b4770b
Fixed
38149b57427c736c08d9aa4c7b87deacd53e9e63
Fixed
a5b2a68a391b05d54552f13548a72a46c65006f7
Fixed
f25d6e4ec4c257030592bd671f113cf9584c52f0
Fixed
c0f2dedd41fe14dbe076c1672214802fb42cd8c8
Fixed
d3ec78f8f8d48a04a9fac38d47275c34645e5103

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74331.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.7.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74331.json"