# CVE-2026-45957: rcu: Fix rcu\_read\_unlock() deadloop due to softirq

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-05-27T12:18:13.145Z
- **Modified:** 2026-10-30T13:18:54.553Z

## Who should check

- Anyone running Linux \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d36d8a7cf0e1d52ccde290855782b7b2ffc78f63; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 979c708e6c9d7fc461daef2dad8b45f22e23464c; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 1f16679a5aa60238466ce339c35f5e82ece60337; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 4a4a6e12c9c829be3f74b7206fa8640fc4e1c566; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< c2932e16d8c354404b17123e64daa8e33191e145; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d41e37f26b3157b3f1d10223863519a943aa239b
- Anyone running Linux 5.8

## Description

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

rcu: Fix rcu\_read\_unlock() deadloop due to softirq

Commit 5f5fa7ea89dc ("rcu: Don't use negative nesting depth in
\_\_rcu\_read\_unlock()") removes the recursion-protection code from
\_\_rcu\_read\_unlock(). Therefore, we could invoke the deadloop in
raise\_softirq\_irqoff() with ftrace enabled as follows:

WARNING: CPU: 0 PID: 0 at kernel/trace/trace.c:3021 \_\_ftrace\_trace\_stack.constprop.0+0x172/0x180
Modules linked in: my\_irq\_work(O)
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G O 6.18.0-rc7-dirty \#23 PREEMPT(full)
Tainted: \[O\]=OOT\_MODULE
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
RIP: 0010:\_\_ftrace\_trace\_stack.constprop.0+0x172/0x180
RSP: 0018:ffffc900000034a8 EFLAGS: 00010002
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000000000003 RSI: ffffffff826d7b87 RDI: ffffffff826e9329
RBP: 0000000000090009 R08: 0000000000000005 R09: ffffffff82afbc4c
R10: 0000000000000008 R11: 0000000000011d7a R12: 0000000000000000
R13: ffff888003874100 R14: 0000000000000003 R15: ffff8880038c1054
FS:  0000000000000000(0000) GS:ffff8880fa8ea000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b31fa7f540 CR3: 00000000078f4005 CR4: 0000000000770ef0
PKRU: 55555554
Call Trace:
 \<IRQ\>
 trace\_buffer\_unlock\_commit\_regs+0x6d/0x220
 trace\_event\_buffer\_commit+0x5c/0x260
 trace\_event\_raw\_event\_softirq+0x47/0x80
 raise\_softirq\_irqoff+0x6e/0xa0
 rcu\_read\_unlock\_special+0xb1/0x160
 unwind\_next\_frame+0x203/0x9b0
 \_\_unwind\_start+0x15d/0x1c0
 arch\_stack\_walk+0x62/0xf0
 stack\_trace\_save+0x48/0x70
 \_\_ftrace\_trace\_stack.constprop.0+0x144/0x180
 trace\_buffer\_unlock\_commit\_regs+0x6d/0x220
 trace\_event\_buffer\_commit+0x5c/0x260
 trace\_event\_raw\_event\_softirq+0x47/0x80
 raise\_softirq\_irqoff+0x6e/0xa0
 rcu\_read\_unlock\_special+0xb1/0x160
 unwind\_next\_frame+0x203/0x9b0
 \_\_unwind\_start+0x15d/0x1c0
 arch\_stack\_walk+0x62/0xf0
 stack\_trace\_save+0x48/0x70
 \_\_ftrace\_trace\_stack.constprop.0+0x144/0x180
 trace\_buffer\_unlock\_commit\_regs+0x6d/0x220
 trace\_event\_buffer\_commit+0x5c/0x260
 trace\_event\_raw\_event\_softirq+0x47/0x80
 raise\_softirq\_irqoff+0x6e/0xa0
 rcu\_read\_unlock\_special+0xb1/0x160
 unwind\_next\_frame+0x203/0x9b0
 \_\_unwind\_start+0x15d/0x1c0
 arch\_stack\_walk+0x62/0xf0
 stack\_trace\_save+0x48/0x70
 \_\_ftrace\_trace\_stack.constprop.0+0x144/0x180
 trace\_buffer\_unlock\_commit\_regs+0x6d/0x220
 trace\_event\_buffer\_commit+0x5c/0x260
 trace\_event\_raw\_event\_softirq+0x47/0x80
 raise\_softirq\_irqoff+0x6e/0xa0
 rcu\_read\_unlock\_special+0xb1/0x160
 \_\_is\_insn\_slot\_addr+0x54/0x70
 kernel\_text\_address+0x48/0xc0
 \_\_kernel\_text\_address+0xd/0x40
 unwind\_get\_return\_address+0x1e/0x40
 arch\_stack\_walk+0x9c/0xf0
 stack\_trace\_save+0x48/0x70
 \_\_ftrace\_trace\_stack.constprop.0+0x144/0x180
 trace\_buffer\_unlock\_commit\_regs+0x6d/0x220
 trace\_event\_buffer\_commit+0x5c/0x260
 trace\_event\_raw\_event\_softirq+0x47/0x80
 \_\_raise\_softirq\_irqoff+0x61/0x80
 \_\_flush\_smp\_call\_function\_queue+0x115/0x420
 \_\_sysvec\_call\_function\_single+0x17/0xb0
 sysvec\_call\_function\_single+0x8c/0xc0
 \</IRQ\>

Commit b41642c87716 ("rcu: Fix rcu\_read\_unlock() deadloop due to IRQ work")
fixed the infinite loop in rcu\_read\_unlock\_special() for IRQ work by
setting a flag before calling irq\_work\_queue\_on(). We fix this issue by
setting the same flag before calling raise\_softirq\_irqoff() and rename the
flag to defer\_qs\_pending for more common.

## Affected and fixed versions

- Linux: \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d36d8a7cf0e1d52ccde290855782b7b2ffc78f63; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 979c708e6c9d7fc461daef2dad8b45f22e23464c; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 1f16679a5aa60238466ce339c35f5e82ece60337; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 4a4a6e12c9c829be3f74b7206fa8640fc4e1c566; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< c2932e16d8c354404b17123e64daa8e33191e145; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d41e37f26b3157b3f1d10223863519a943aa239b (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-45957.md
Affected: Linux >= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, < d36d8a7cf0e1d52ccde290855782b7b2ffc78f63; >= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, < 979c708e6c9d7fc461daef2dad8b45f22e23464c; >= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, < 1f16679a5aa60238466ce339c35f5e82ece60337; >= 5f5fa7ea89dc82d34ed458f…
Fixed in: Linux 979c708e6c9d7fc461daef2dad8b45f22e23464c, Linux 1f16679a5aa60238466ce339c35f5e82ece60337, Linux 4a4a6e12c9c829be3f74b7206fa8640fc4e1c566

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-45957 being exploited?

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

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

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

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

Linux \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d36d8a7cf0e1d52ccde290855782b7b2ffc78f63; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 979c708e6c9d7fc461daef2dad8b45f22e23464c; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 1f16679a5aa60238466ce339c35f5e82ece60337; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< 4a4a6e12c9c829be3f74b7206fa8640fc4e1c566; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< c2932e16d8c354404b17123e64daa8e33191e145; \>= 5f5fa7ea89dc82d34ed458f4d7a8634e8e9eefce, \< d41e37f26b3157b3f1d10223863519a943aa239b; Linux 5.8.

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

Yes. Fixed in Linux 979c708e6c9d7fc461daef2dad8b45f22e23464c, Linux 1f16679a5aa60238466ce339c35f5e82ece60337, Linux 4a4a6e12c9c829be3f74b7206fa8640fc4e1c566. No fix listed yet: follow the vendor advisory.

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

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/979c708e6c9d7fc461daef2dad8b45f22e23464c>
- patch: <https://git.kernel.org/stable/c/1f16679a5aa60238466ce339c35f5e82ece60337>
- patch: <https://git.kernel.org/stable/c/4a4a6e12c9c829be3f74b7206fa8640fc4e1c566>
- patch: <https://git.kernel.org/stable/c/c2932e16d8c354404b17123e64daa8e33191e145>
- patch: <https://git.kernel.org/stable/c/d41e37f26b3157b3f1d10223863519a943aa239b>
- other: <https://git.kernel.org/stable/c/d36d8a7cf0e1d52ccde290855782b7b2ffc78f63>

## 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-45957>

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