# CVE-2026-74686: rqspinlock: Reset tail when preserving queue on deadlock

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2026-08-22T15:32:52.178Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< f54667b0c16213285c9d9b8e3929f738b8f71826; \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< 7a3c0289c3c8eb4607dff448ae9ff9f902c813af
- Anyone running Linux 6.19

## Description

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

rqspinlock: Reset tail when preserving queue on deadlock

Currently, the destruction of the waiter queue is suppressed for
rqspinlock in cases where a deadlock is detected. Deadlock checks happen
relatively frequently (on entry for AA, within 1ms for ABBA), and waiter
threads may not be involved in locking scenarios involving deadlocks.
Thus, it is useful to not flush the queue and let other waiters take a
stab at acquiring the lock after we detect a deadlock and exit.

However, we need to follow the same logic as what we did previously for
the waitq\_timeout label: reset the tail, and if we cannot, signal the
next waiter appropriately. In case of deadlocks, this signal would just
mark the MCS node as unlocked, and in case of timeouts, it would signal
RES\_TIMEOUT\_VAL. The difference thus is in the value propagated, which
decides whether the queue remains active or gets flushed.

Not doing the tail reset, and waiting for the next waiter can lead to
cases where we are the final waiter, and thus no next waiter arrives,
leading to intermittent stalls in this path. Once the next waiter does
join, we will be unblocked. In the theoretical case when the next waiter
never joins, we risk stalling indefinitely.

This can only happen for ABBA deadlocks, since entry into the wait queue
is guarded with AA checks. A precise sequence of executions leading up
to this scenario can be:

CPU 0 holds lock A.
CPU 1 holds lock B.
CPU 2 attempts lock B, becomes the pending waiter for B.
CPU 0 attempts lock B. B has locked+pending bits set, thus CPU 0 queues.
CPU 1 attempts lock A.
CPU 0 detects an ABBA deadlock.

Once deadlock detection happens for CPU 0, it will sit waiting for the
next waiter in the queue to populate node-\>next, which will experience
delays until such a waiter arrives.

Fix this by adjusting the logic for the check for deadlocks preceding
the waitq\_timeout label. It would make sense to consolidate code for
both cases and use 'ret' to distinguish the value being propagated, but
that is left as an exercise for a future refactoring task to avoid diff
noise in this patch.

## Affected and fixed versions

- Linux: \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< f54667b0c16213285c9d9b8e3929f738b8f71826; \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< 7a3c0289c3c8eb4607dff448ae9ff9f902c813af (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- Upgrade Linux to 7a3c0289c3c8eb4607dff448ae9ff9f902c813af or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74686.md
Affected: Linux >= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, < f54667b0c16213285c9d9b8e3929f738b8f71826; >= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, < 7a3c0289c3c8eb4607dff448ae9ff9f902c813af; Linux 6.19
Fixed in: Linux 7a3c0289c3c8eb4607dff448ae9ff9f902c813af

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-2026-74686 being exploited?

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

### How serious is CVE-2026-74686?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74686?

Linux \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< f54667b0c16213285c9d9b8e3929f738b8f71826; \>= 7bd6e5ce5be666fb3fb873bf20f77e62555b7835, \< 7a3c0289c3c8eb4607dff448ae9ff9f902c813af; Linux 6.19.

### Is there a fix for CVE-2026-74686?

Yes. Fixed in Linux 7a3c0289c3c8eb4607dff448ae9ff9f902c813af. Upgrade Linux to 7a3c0289c3c8eb4607dff448ae9ff9f902c813af or later.

### How do I check if I'm affected by CVE-2026-74686?

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

- other: <https://git.kernel.org/stable/c/f54667b0c16213285c9d9b8e3929f738b8f71826>
- other: <https://git.kernel.org/stable/c/7a3c0289c3c8eb4607dff448ae9ff9f902c813af>

## 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-2026-74686>

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