# CVE-2023-53558: rcu-tasks: Avoid pr\_info() with spin lock in cblist\_init\_generic()

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-10-04T15:17:02.822Z
- **Modified:** 2026-06-17T06:45:36.113Z

## Who should check

- Anyone running Linux \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 9027d69221ff96e1356f070f7feb2ff989ae7388; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< ea9b81c7d9104040b46a84d2303045de267f5557; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785
- Anyone running Linux 5.17

## Description

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

rcu-tasks: Avoid pr\_info() with spin lock in cblist\_init\_generic()

pr\_info() is called with rtp-\>cbs\_gbl\_lock spin lock locked.  Because
pr\_info() calls printk() that might sleep, this will result in BUG
like below:

\[    0.206455\] cblist\_init\_generic: Setting adjustable number of callback queues.
\[    0.206463\]
\[    0.206464\] =============================
\[    0.206464\] \[ BUG: Invalid wait context \]
\[    0.206465\] 5.19.0-00428-g9de1f9c8ca51 \#5 Not tainted
\[    0.206466\] -----------------------------
\[    0.206466\] swapper/0/1 is trying to lock:
\[    0.206467\] ffffffffa0167a58 (&port\_lock\_key){....}-{3:3}, at: serial8250\_console\_write+0x327/0x4a0
\[    0.206473\] other info that might help us debug this:
\[    0.206473\] context-{5:5}
\[    0.206474\] 3 locks held by swapper/0/1:
\[    0.206474\]  \#0: ffffffff9eb597e0 (rcu\_tasks.cbs\_gbl\_lock){....}-{2:2}, at: cblist\_init\_generic.constprop.0+0x14/0x1f0
\[    0.206478\]  \#1: ffffffff9eb579c0 (console\_lock){+.+.}-{0:0}, at: \_printk+0x63/0x7e
\[    0.206482\]  \#2: ffffffff9ea77780 (console\_owner){....}-{0:0}, at: console\_emit\_next\_record.constprop.0+0x111/0x330
\[    0.206485\] stack backtrace:
\[    0.206486\] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0-00428-g9de1f9c8ca51 \#5
\[    0.206488\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-1.fc36 04/01/2014
\[    0.206489\] Call Trace:
\[    0.206490\]  \<TASK\>
\[    0.206491\]  dump\_stack\_lvl+0x6a/0x9f
\[    0.206493\]  \_\_lock\_acquire.cold+0x2d7/0x2fe
\[    0.206496\]  ? stack\_trace\_save+0x46/0x70
\[    0.206497\]  lock\_acquire+0xd1/0x2f0
\[    0.206499\]  ? serial8250\_console\_write+0x327/0x4a0
\[    0.206500\]  ? \_\_lock\_acquire+0x5c7/0x2720
\[    0.206502\]  \_raw\_spin\_lock\_irqsave+0x3d/0x90
\[    0.206504\]  ? serial8250\_console\_write+0x327/0x4a0
\[    0.206506\]  serial8250\_console\_write+0x327/0x4a0
\[    0.206508\]  console\_emit\_next\_record.constprop.0+0x180/0x330
\[    0.206511\]  console\_unlock+0xf7/0x1f0
\[    0.206512\]  vprintk\_emit+0xf7/0x330
\[    0.206514\]  \_printk+0x63/0x7e
\[    0.206516\]  cblist\_init\_generic.constprop.0.cold+0x24/0x32
\[    0.206518\]  rcu\_init\_tasks\_generic+0x5/0xd9
\[    0.206522\]  kernel\_init\_freeable+0x15b/0x2a2
\[    0.206523\]  ? rest\_init+0x160/0x160
\[    0.206526\]  kernel\_init+0x11/0x120
\[    0.206527\]  ret\_from\_fork+0x1f/0x30
\[    0.206530\]  \</TASK\>
\[    0.207018\] cblist\_init\_generic: Setting shift to 1 and lim to 1.

This patch moves pr\_info() so that it is called without
rtp-\>cbs\_gbl\_lock locked.

## Affected and fixed versions

- Linux: \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 9027d69221ff96e1356f070f7feb2ff989ae7388; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< ea9b81c7d9104040b46a84d2303045de267f5557; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785 (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

- Upgrade Linux to 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53558.md
Affected: Linux >= ab97152f88a4d580b89f0b7cc3028ffac438216f, < 9027d69221ff96e1356f070f7feb2ff989ae7388; >= ab97152f88a4d580b89f0b7cc3028ffac438216f, < ea9b81c7d9104040b46a84d2303045de267f5557; >= ab97152f88a4d580b89f0b7cc3028ffac438216f, < 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785; Linux 5.17
Fixed in: Linux 9027d69221ff96e1356f070f7feb2ff989ae7388, Linux 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785

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-2023-53558 being exploited?

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

### How serious is CVE-2023-53558?

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

### Which versions are affected by CVE-2023-53558?

Linux \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 9027d69221ff96e1356f070f7feb2ff989ae7388; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< ea9b81c7d9104040b46a84d2303045de267f5557; \>= ab97152f88a4d580b89f0b7cc3028ffac438216f, \< 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785; Linux 5.17.

### Is there a fix for CVE-2023-53558?

Yes. Fixed in Linux 9027d69221ff96e1356f070f7feb2ff989ae7388, Linux 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785. Upgrade Linux to 5fc8cbe4cf0fd34ded8045c385790c3bf04f6785 or later.

### How do I check if I'm affected by CVE-2023-53558?

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/9027d69221ff96e1356f070f7feb2ff989ae7388>
- patch: <https://git.kernel.org/stable/c/ea9b81c7d9104040b46a84d2303045de267f5557>
- patch: <https://git.kernel.org/stable/c/5fc8cbe4cf0fd34ded8045c385790c3bf04f6785>

## 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-2023-53558>

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