# CVE-2023-53419: rcu: Protect rcu\_print\_task\_exp\_stall() -\>exp\_tasks access

> 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)
- **CWE:** CWE-476
- **Published:** 2025-09-18T16:04:02.955Z
- **Modified:** 2026-06-17T06:45:16.690Z

## Who should check

- Anyone running Linux \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< a7d21b8585894e6fff973f6ddae42f02b13f600f; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< e30a55e98ae6c44253d8b129efefd5da5bc6e3bc; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< d0a8c0e31a09ec1efd53079083e2a677956b4d91; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec
- Anyone running Linux 5.8

## Description

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

rcu: Protect rcu\_print\_task\_exp\_stall() -\>exp\_tasks access

For kernels built with CONFIG\_PREEMPT\_RCU=y, the following scenario can
result in a NULL-pointer dereference:

           CPU1                                           CPU2
rcu\_preempt\_deferred\_qs\_irqrestore                rcu\_print\_task\_exp\_stall
  if (special.b.blocked)                            READ\_ONCE(rnp-\>exp\_tasks) != NULL
    raw\_spin\_lock\_rcu\_node
    np = rcu\_next\_node\_entry(t, rnp)
    if (&t-\>rcu\_node\_entry == rnp-\>exp\_tasks)
      WRITE\_ONCE(rnp-\>exp\_tasks, np)
      ....
      raw\_spin\_unlock\_irqrestore\_rcu\_node
                                                    raw\_spin\_lock\_irqsave\_rcu\_node
                                                    t = list\_entry(rnp-\>exp\_tasks-\>prev,
                                                        struct task\_struct, rcu\_node\_entry)
                                                    (if rnp-\>exp\_tasks is NULL, this
                                                       will dereference a NULL pointer)

The problem is that CPU2 accesses the rcu\_node structure's-\>exp\_tasks
field without holding the rcu\_node structure's -\>lock and CPU2 did
not observe CPU1's change to rcu\_node structure's -\>exp\_tasks in time.
Therefore, if CPU1 sets rcu\_node structure's-\>exp\_tasks pointer to NULL,
then CPU2 might dereference that NULL pointer.

This commit therefore holds the rcu\_node structure's -\>lock while
accessing that structure's-\>exp\_tasks field.

\[ paulmck: Apply Frederic Weisbecker feedback. \]

## Affected and fixed versions

- Linux: \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< a7d21b8585894e6fff973f6ddae42f02b13f600f; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< e30a55e98ae6c44253d8b129efefd5da5bc6e3bc; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< d0a8c0e31a09ec1efd53079083e2a677956b4d91; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53419.md
Affected: Linux >= 314eeb43e5f22856b281c91c966e51e5782a3498, < a7d21b8585894e6fff973f6ddae42f02b13f600f; >= 314eeb43e5f22856b281c91c966e51e5782a3498, < e30a55e98ae6c44253d8b129efefd5da5bc6e3bc; >= 314eeb43e5f22856b281c91c966e51e5782a3498, < d0a8c0e31a09ec1efd53079083e2a677956b4d91; >= 314eeb43e5f22856b281c91…
Fixed in: Linux 2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2, Linux 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec

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

There is no confirmed exploitation: CVE-2023-53419 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-53419?

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

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

Linux \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< a7d21b8585894e6fff973f6ddae42f02b13f600f; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< e30a55e98ae6c44253d8b129efefd5da5bc6e3bc; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< d0a8c0e31a09ec1efd53079083e2a677956b4d91; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2; \>= 314eeb43e5f22856b281c91c966e51e5782a3498, \< 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec; Linux 5.8.

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

Yes. Fixed in Linux 2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2, Linux 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec. Upgrade Linux to 3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec or later.

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

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/a7d21b8585894e6fff973f6ddae42f02b13f600f>
- patch: <https://git.kernel.org/stable/c/e30a55e98ae6c44253d8b129efefd5da5bc6e3bc>
- patch: <https://git.kernel.org/stable/c/d0a8c0e31a09ec1efd53079083e2a677956b4d91>
- patch: <https://git.kernel.org/stable/c/2bc0ae94ef1f9ed322d8ee439de3239ea3632ab2>
- patch: <https://git.kernel.org/stable/c/3c1566bca3f8349f12b75d0a2d5e4a20ad6262ec>

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

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