# CVE-2026-80730: ring-buffer: Fix crash passing ERR\_PTR to kthread\_stop()

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-03T08:21:48.325Z
- **Modified:** 2026-09-03T13:06:11.550Z

## Who should check

- Anyone running Linux \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 51d78fad30dd9ae45721224103662bdbcf210096; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 93e7044b548a72022208595d2c1b188bb225ce83; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 8532983c312e8b875d7c9e440f8ee4674ea4b711; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 91542863abade2fd4f2b361991f5386ad9d19c8c
- Anyone running Linux 5.17

## Description

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

ring-buffer: Fix crash passing ERR\_PTR to kthread\_stop()

In test\_ringbuffer()'s out\_free cleanup loop, the check
\`!rb\_threads\[cpu\]\` only catches NULL entries and misses entries that
hold an ERR\_PTR.

rb\_threads\[\] is static, so unassigned slots are NULL. But when
kthread\_run\_on\_cpu() fails for a cpu, it stores ERR\_PTR(-ENOMEM) (or
-EINTR) in rb\_threads\[cpu\] before the creation loop jumps to out\_free.
That entry is non-NULL, so the old \`!ptr\` check does not break, and the
cleanup proceeds to call kthread\_stop() on the ERR\_PTR. kthread\_stop()
then dereferences the bogus pointer, crashing the kernel during the
late\_initcall self-test.

crash logs:
  BUG: kernel NULL pointer dereference, address: 000000000000001c
  Oops: 0002 \[\#1\] SMP NOPTI
  CPU: 1 PID: 1 Comm: swapper/0 Not tainted 7.2.0-rc6-dirty \#7 PREEMPT(lazy)
  RIP: 0010:kthread\_stop+0x2e/0x220
  RBX: fffffffffffffff4
  CR2: 000000000000001c
  Call Trace:
   \<TASK\>
   test\_ringbuffer+0x1ec/0x650
   do\_one\_initcall+0x6c/0x2c0
   kernel\_init\_freeable+0x21d/0x420
   kernel\_init+0x15/0x1c0
   ret\_from\_fork+0x21b/0x320
   \</TASK\>
  Kernel panic - not syncing: Fatal exception

## Affected and fixed versions

- Linux: \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 51d78fad30dd9ae45721224103662bdbcf210096; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 93e7044b548a72022208595d2c1b188bb225ce83; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 8532983c312e8b875d7c9e440f8ee4674ea4b711; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 91542863abade2fd4f2b361991f5386ad9d19c8c (cvelist)
- Linux: 5.17 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-80730.md
Affected: Linux >= 64ed3a049e3e81b801e7c5bb052416152443f585, < 51d78fad30dd9ae45721224103662bdbcf210096; >= 64ed3a049e3e81b801e7c5bb052416152443f585, < 93e7044b548a72022208595d2c1b188bb225ce83; >= 64ed3a049e3e81b801e7c5bb052416152443f585, < 8532983c312e8b875d7c9e440f8ee4674ea4b711; >= 64ed3a049e3e81b801e7c5b…
Fixed in: Linux 51d78fad30dd9ae45721224103662bdbcf210096, Linux 93e7044b548a72022208595d2c1b188bb225ce83, Linux 8532983c312e8b875d7c9e440f8ee4674ea4b711, Linux 6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902, Linux 3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b, Linux 91542863abade2fd4f2b361991f5386ad9d19c8c

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 51d78fad30dd9ae45721224103662bdbcf210096; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 93e7044b548a72022208595d2c1b188bb225ce83; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 8532983c312e8b875d7c9e440f8ee4674ea4b711; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b; \>= 64ed3a049e3e81b801e7c5bb052416152443f585, \< 91542863abade2fd4f2b361991f5386ad9d19c8c; Linux 5.17.

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

Yes. Fixed in Linux 51d78fad30dd9ae45721224103662bdbcf210096, Linux 93e7044b548a72022208595d2c1b188bb225ce83, Linux 8532983c312e8b875d7c9e440f8ee4674ea4b711, Linux 6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902, Linux 3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b, Linux 91542863abade2fd4f2b361991f5386ad9d19c8c. Upgrade Linux to 91542863abade2fd4f2b361991f5386ad9d19c8c or later.

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

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/51d78fad30dd9ae45721224103662bdbcf210096>
- other: <https://git.kernel.org/stable/c/93e7044b548a72022208595d2c1b188bb225ce83>
- other: <https://git.kernel.org/stable/c/8532983c312e8b875d7c9e440f8ee4674ea4b711>
- other: <https://git.kernel.org/stable/c/6dd7a06894d6d3dc84319bd0b7d1a7c27df9d902>
- other: <https://git.kernel.org/stable/c/3ea2fd344d93e3cf9503739b09fd702c0d8f8f0b>
- other: <https://git.kernel.org/stable/c/91542863abade2fd4f2b361991f5386ad9d19c8c>

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

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