VDB

CVE-2026-74331

CVE-2026-74331 PUBLISHED

firmware_loader: Fix recursive lock in device_cache_fw_images()

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: firmware_loader: Fix recursive lock in device_cache_fw_images() A recursive locking deadlock can occur in the firmware loader's power management notification handler. During system suspend or hibernation preparation, fw_pm_notify() calls device_cache_fw_images(). This function acquires fw_lock to set the firmware cache state to FW_LOADER_START_CACHE and then iterates over all devices using dpm_for_each_dev() while still holding the lock. For each device, dev_cache_fw_image() schedules asynchronous work to cache the firmware. If memory allocation for the async work entry fails (e.g., in out-of-memory conditions), async_schedule_node_domain() falls back to executing the work function synchronously in the current thread. The synchronous execution path (__async_dev_cache_fw_image() -> cache_firmware() -> request_firmware() -> assign_fw()) attempts to acquire fw_lock again. Since the current thread already holds fw_lock, this results in a recursive locking deadlock. Fix this by releasing fw_lock immediately after updating the cache state and before calling dpm_for_each_dev(). The lock is only needed to protect the state update. Concurrent firmware requests will correctly see the FW_LOADER_START_CACHE state and use the piggyback mechanism, which is independently protected by its own fwc->name_lock.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.100-125.179.amzn2023
kernel-livepatch-6.1.180-225.360Amazon Linux1:1.0-0.amzn2023
kernel6.12-headersAmazon Linux1:6.12.100-125.179.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernelAmazon Linux1:6.1.180-225.360.amzn2023
LinuxLinux490b0385e4cfac691f7b18dde821c13e77b4770b, 3.7

Affected products

VendorProductVersions
LinuxLinuxac39b3ea73aacde876d1d5ee1ca3e2719f771482, ac39b3ea73aacde876d1d5ee1ca3e2719f771482, ac39b3ea73aacde876d1d5ee1ca3e2719f771482
LinuxLinux3.7, 0, 5.10.261
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel6.12-headers0
amazon:2023python3-perf6.180
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel0
LinuxLinux6.1.178, 5.15.212, 5.10.261
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-devel0
amazon:2023perf6.180
amazon:2023perf0

…and 18 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (15 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74331
vulnetix vdb fixes CVE-2026-74331

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74331/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›