# CVE-2023-53291: rcu/rcuscale: Stop kfree\_scale\_thread thread(s) after unloading rcuscale

> 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, CNA) `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.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-16T08:11:23.666Z
- **Modified:** 2026-06-17T06:44:45.593Z

## Who should check

- Anyone running Linux \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 604d6a5ff718874904b0fe614878a42b42c0d699; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< f766d45ab294871a3d588ee76c666852f151cad9; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< b8a6ba524d41f4da102e65f90498d9a910839621; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 1dd7547c7610723b2b6afe1a3c4ddb2bde63387c; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 29b1da4f90fc42c91beb4e400d926194925ad31b; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 23fc8df26dead16687ae6eb47b0561a4a832e2f6
- Anyone running Linux 5.6

## Description

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

rcu/rcuscale: Stop kfree\_scale\_thread thread(s) after unloading rcuscale

Running the 'kfree\_rcu\_test' test case \[1\] results in a splat \[2\].
The root cause is the kfree\_scale\_thread thread(s) continue running
after unloading the rcuscale module.  This commit fixes that isue by
invoking kfree\_scale\_cleanup() from rcu\_scale\_cleanup() when removing
the rcuscale module.

\[1\] modprobe rcuscale kfree\_rcu\_test=1
    // After some time
    rmmod rcuscale
    rmmod torture

\[2\] BUG: unable to handle page fault for address: ffffffffc0601a87
    \#PF: supervisor instruction fetch in kernel mode
    \#PF: error\_code(0x0010) - not-present page
    PGD 11de4f067 P4D 11de4f067 PUD 11de51067 PMD 112f4d067 PTE 0
    Oops: 0010 \[\#1\] PREEMPT SMP NOPTI
    CPU: 1 PID: 1798 Comm: kfree\_scale\_thr Not tainted 6.3.0-rc1-rcu+ \#1
    Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 0.0.0 02/06/2015
    RIP: 0010:0xffffffffc0601a87
    Code: Unable to access opcode bytes at 0xffffffffc0601a5d.
    RSP: 0018:ffffb25bc2e57e18 EFLAGS: 00010297
    RAX: 0000000000000000 RBX: ffffffffc061f0b6 RCX: 0000000000000000
    RDX: 0000000000000000 RSI: ffffffff962fd0de RDI: ffffffff962fd0de
    RBP: ffffb25bc2e57ea8 R08: 0000000000000000 R09: 0000000000000000
    R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
    R13: 0000000000000000 R14: 000000000000000a R15: 00000000001c1dbe
    FS:  0000000000000000(0000) GS:ffff921fa2200000(0000) knlGS:0000000000000000
    CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    CR2: ffffffffc0601a5d CR3: 000000011de4c006 CR4: 0000000000370ee0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
    Call Trace:
     \<TASK\>
     ? kvfree\_call\_rcu+0xf0/0x3a0
     ? kthread+0xf3/0x120
     ? kthread\_complete\_and\_exit+0x20/0x20
     ? ret\_from\_fork+0x1f/0x30
     \</TASK\>
    Modules linked in: rfkill sunrpc ... \[last unloaded: torture\]
    CR2: ffffffffc0601a87
    ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 604d6a5ff718874904b0fe614878a42b42c0d699; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< f766d45ab294871a3d588ee76c666852f151cad9; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< b8a6ba524d41f4da102e65f90498d9a910839621; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 1dd7547c7610723b2b6afe1a3c4ddb2bde63387c; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 29b1da4f90fc42c91beb4e400d926194925ad31b; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 23fc8df26dead16687ae6eb47b0561a4a832e2f6 (cvelist)
- Linux: 5.6 (cvelist)

## Mitigation

- Upgrade Linux to 23fc8df26dead16687ae6eb47b0561a4a832e2f6 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-53291. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53291.md
Affected: Linux >= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, < 604d6a5ff718874904b0fe614878a42b42c0d699; >= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, < f766d45ab294871a3d588ee76c666852f151cad9; >= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, < b8a6ba524d41f4da102e65f90498d9a910839621; >= e6e78b004fa7e0ab455d46d…
Fixed in: Linux 604d6a5ff718874904b0fe614878a42b42c0d699, Linux 1dd7547c7610723b2b6afe1a3c4ddb2bde63387c, Linux 29b1da4f90fc42c91beb4e400d926194925ad31b, Linux 23fc8df26dead16687ae6eb47b0561a4a832e2f6

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

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

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

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

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

Linux \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 604d6a5ff718874904b0fe614878a42b42c0d699; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< f766d45ab294871a3d588ee76c666852f151cad9; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< b8a6ba524d41f4da102e65f90498d9a910839621; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 1dd7547c7610723b2b6afe1a3c4ddb2bde63387c; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 29b1da4f90fc42c91beb4e400d926194925ad31b; \>= e6e78b004fa7e0ab455d46d27f218bf6ce178a18, \< 23fc8df26dead16687ae6eb47b0561a4a832e2f6; Linux 5.6.

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

Yes. Fixed in Linux 604d6a5ff718874904b0fe614878a42b42c0d699, Linux 1dd7547c7610723b2b6afe1a3c4ddb2bde63387c, Linux 29b1da4f90fc42c91beb4e400d926194925ad31b, Linux 23fc8df26dead16687ae6eb47b0561a4a832e2f6. Upgrade Linux to 23fc8df26dead16687ae6eb47b0561a4a832e2f6 or later.

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

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/604d6a5ff718874904b0fe614878a42b42c0d699>
- patch: <https://git.kernel.org/stable/c/f766d45ab294871a3d588ee76c666852f151cad9>
- patch: <https://git.kernel.org/stable/c/b8a6ba524d41f4da102e65f90498d9a910839621>
- patch: <https://git.kernel.org/stable/c/1dd7547c7610723b2b6afe1a3c4ddb2bde63387c>
- patch: <https://git.kernel.org/stable/c/29b1da4f90fc42c91beb4e400d926194925ad31b>
- patch: <https://git.kernel.org/stable/c/23fc8df26dead16687ae6eb47b0561a4a832e2f6>

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

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