CVE-2026-74331
kernel: firmware_loader: Fix recursive lock in device_cache_fw_images()
Overview
Description
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.
Source: OX vulnerability database
Severity
5.5 · LOW
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 102 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +13 | 5.15.0-324.217.5.2.el8uek |
| 9 | bpftool +2 | 5.15.0-324.217.5.2.el9uek |
| 9 | kernel-uek +34 | 6.12.0-206.104.3.3.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.103-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-53-90-default | 1-150700.15.3.1 | SUSE-SU-2026:5091-1 |
| 15.7 | cluster-md-kmp-default +20 | 6.4.0-150700.53.90.1 | SUSE-SU-2026:5091-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.90.1.150700.17.51.1 | SUSE-SU-2026:5091-1 |
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
1 more row
SUSE Linux Enterprise Micro 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-159998.55.1 | SUSE-SU-2026:24550-1 |
| 6.0 | kernel-default-base | 6.4.0-159998.55.1.159998.21.42 | SUSE-SU-2026:24550-1 |
| 6.1 | kernel-default +6 | 6.4.0-159998.55.1 | SUSE-SU-2026:24619-1 |
| 6.1 | kernel-default-base | 6.4.0-159998.55.1.159998.21.41 | SUSE-SU-2026:24619-1 |
| 6.2 | kernel-64kb +11 | 6.12.0-160000.41.1 | SUSE-SU-2026:24643-1 |
| 6.2 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24643-1 |
amazon linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-1-180-225-360 +2 | 1:1.0-0.amzn2023 |
| 2023 | bpftool +16 | 1:6.1.180-225.360.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.100-125.179.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.41-94.142.amzn2023 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.262-1 |
| 12 | linux | 6.1.180-1 |
| 13 | linux | 6.12.100-1 |
| 14 | linux | 7.1.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.12.100-1 |
openSUSE Leap 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.41.1 | openSUSE-SU-2026:22266-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.31 | openSUSE-SU-2026:22266-1 |
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.7.1 | openSUSE-SU-2026:22307-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 4 releases · 49 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-nvidia-tegra-5-15 | 5.15.0-1070.72~20.04.1 |
| 20.04-ESM | linux-ibm-5-15 +1 | 5.15.0-1111.115~20.04.1 |
| 20.04-ESM | linux-intel-iotg-5-15 | 5.15.0-1112.118~20.04.1 |
| 20.04-ESM | linux-oracle-5-15 | 5.15.0-1114.120~20.04.1 |
| 20.04-ESM | linux-aws-5-15 | 5.15.0-1117.124~20.04.1 |
| 20.04-ESM | linux-gcp-5-15 | 5.15.0-1118.128~20.04.1 |
63 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-74331
- git.kernel.org https://git.kernel.org/linus/d3ec78f8f8d48a04a9fac38d47275c34645e5103 (7.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/38149b57427c736c08d9aa4c7b87deacd53e9e63
- git.kernel.org https://git.kernel.org/stable/c/490b0385e4cfac691f7b18dde821c13e77b4770b
- git.kernel.org https://git.kernel.org/stable/c/7865a1bfd20d10c03b083a5fc392d907ca5099b3
- git.kernel.org https://git.kernel.org/stable/c/806cb8fabfde7f830da5ae87777d52fdf50c4774
- git.kernel.org https://git.kernel.org/stable/c/a5b2a68a391b05d54552f13548a72a46c65006f7
- git.kernel.org https://git.kernel.org/stable/c/c0f2dedd41fe14dbe076c1672214802fb42cd8c8
- git.kernel.org https://git.kernel.org/stable/c/d3ec78f8f8d48a04a9fac38d47275c34645e5103
- git.kernel.org https://git.kernel.org/stable/c/f25d6e4ec4c257030592bd671f113cf9584c52f0
Show all 40 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-74331.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500249.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026081555-CVE-2026-74331-5c62@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-74331
- ubuntu.com https://ubuntu.com/security/notices/USN-8875-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8875-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8876-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8877-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8878-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8879-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8889-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8918-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8963-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9029-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9043-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9091-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-74331
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.