# CVE-2025-71117: block: Remove queue freezing from several sysfs store callbacks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2026-01-14T15:06:05.161Z
- **Modified:** 2026-11-05T22:17:37.320Z

## Who should check

- Anyone running Linux \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 3997b3147c7b68b0308378fa95a766015f8ceb1c; \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 935a20d1bebf6236076785fac3ff81e3931834e9
- Anyone running Linux 6.11

## Description

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

block: Remove queue freezing from several sysfs store callbacks

Freezing the request queue from inside sysfs store callbacks may cause a
deadlock in combination with the dm-multipath driver and the
queue\_if\_no\_path option. Additionally, freezing the request queue slows
down system boot on systems where sysfs attributes are set synchronously.

Fix this by removing the blk\_mq\_freeze\_queue() / blk\_mq\_unfreeze\_queue()
calls from the store callbacks that do not strictly need these callbacks.
Add the \_\_data\_racy annotation to request\_queue.rq\_timeout to suppress
KCSAN data race reports about the rq\_timeout reads.

This patch may cause a small delay in applying the new settings.

For all the attributes affected by this patch, I/O will complete
correctly whether the old or the new value of the attribute is used.

This patch affects the following sysfs attributes:
\* io\_poll\_delay
\* io\_timeout
\* nomerges
\* read\_ahead\_kb
\* rq\_affinity

Here is an example of a deadlock triggered by running test srp/002
if this patch is not applied:

task:multipathd
Call Trace:
 \<TASK\>
 \_\_schedule+0x8c1/0x1bf0
 schedule+0xdd/0x270
 schedule\_preempt\_disabled+0x1c/0x30
 \_\_mutex\_lock+0xb89/0x1650
 mutex\_lock\_nested+0x1f/0x30
 dm\_table\_set\_restrictions+0x823/0xdf0
 \_\_bind+0x166/0x590
 dm\_swap\_table+0x2a7/0x490
 do\_resume+0x1b1/0x610
 dev\_suspend+0x55/0x1a0
 ctl\_ioctl+0x3a5/0x7e0
 dm\_ctl\_ioctl+0x12/0x20
 \_\_x64\_sys\_ioctl+0x127/0x1a0
 x64\_sys\_call+0xe2b/0x17d0
 do\_syscall\_64+0x96/0x3a0
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
 \</TASK\>
task:(udev-worker)
Call Trace:
 \<TASK\>
 \_\_schedule+0x8c1/0x1bf0
 schedule+0xdd/0x270
 blk\_mq\_freeze\_queue\_wait+0xf2/0x140
 blk\_mq\_freeze\_queue\_nomemsave+0x23/0x30
 queue\_ra\_store+0x14e/0x290
 queue\_attr\_store+0x23e/0x2c0
 sysfs\_kf\_write+0xde/0x140
 kernfs\_fop\_write\_iter+0x3b2/0x630
 vfs\_write+0x4fd/0x1390
 ksys\_write+0xfd/0x230
 \_\_x64\_sys\_write+0x76/0xc0
 x64\_sys\_call+0x276/0x17d0
 do\_syscall\_64+0x96/0x3a0
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
 \</TASK\>

## Affected and fixed versions

- Linux: \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 3997b3147c7b68b0308378fa95a766015f8ceb1c; \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 935a20d1bebf6236076785fac3ff81e3931834e9 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 935a20d1bebf6236076785fac3ff81e3931834e9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-71117. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-71117.md
Affected: Linux >= af2814149883e2c1851866ea2afcd8eadc040f79, < 3997b3147c7b68b0308378fa95a766015f8ceb1c; >= af2814149883e2c1851866ea2afcd8eadc040f79, < 935a20d1bebf6236076785fac3ff81e3931834e9; Linux 6.11
Fixed in: Linux 3997b3147c7b68b0308378fa95a766015f8ceb1c, Linux 935a20d1bebf6236076785fac3ff81e3931834e9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-71117 being exploited?

There is no confirmed exploitation: CVE-2025-71117 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-71117?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-71117?

Linux \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 3997b3147c7b68b0308378fa95a766015f8ceb1c; \>= af2814149883e2c1851866ea2afcd8eadc040f79, \< 935a20d1bebf6236076785fac3ff81e3931834e9; Linux 6.11.

### Is there a fix for CVE-2025-71117?

Yes. Fixed in Linux 3997b3147c7b68b0308378fa95a766015f8ceb1c, Linux 935a20d1bebf6236076785fac3ff81e3931834e9. Upgrade Linux to 935a20d1bebf6236076785fac3ff81e3931834e9 or later.

### How do I check if I'm affected by CVE-2025-71117?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3997b3147c7b68b0308378fa95a766015f8ceb1c>
- patch: <https://git.kernel.org/stable/c/935a20d1bebf6236076785fac3ff81e3931834e9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-71117>

HTML: <https://flawdb.com/CVE-2025-71117> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-71117>
