# CVE-2026-80563: gpio: sloppy-logic-analyzer: fix use-after-free via debugfs trigger on unbind

> 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 6, 2026-11-26)
- **Published:** 2026-08-26T14:37:27.759Z
- **Modified:** 2026-08-26T15:17:11.310Z

## Who should check

- Anyone running Linux \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 49a1ebb1ef2c8ada300c174b65273810abb4e326; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 24bef4918f6ab806260476e2f93d8f791fd17449; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 44f3468a0aef1aabdad551898ab7cfa2a9d20e99
- Anyone running Linux 6.11

## Description

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

gpio: sloppy-logic-analyzer: fix use-after-free via debugfs trigger on unbind

The "trigger" debugfs file has a hand-rolled -\>write handler
(trigger\_write()) that dereferences the per-device gpio\_la\_poll\_priv. The
file is created with debugfs\_create\_file\_unsafe(), and the handler never
takes a debugfs reference. Nothing keeps the object alive while the
handler runs.

priv is allocated with devm\_kzalloc(). devres frees it when the platform
device is unbound. debugfs\_create\_file\_unsafe() installs no full\_proxy
wrapper, so debugfs\_remove\_recursive() in gpio\_la\_poll\_remove() does not
wait for an in-flight trigger\_write(). The blob\_lock taken there does not
help, because trigger\_write() never takes it. A write that races an unbind
therefore writes into freed memory:

  trigger\_write()                  gpio\_la\_poll\_remove()
    priv = m-\>private
    buf = memdup\_user()  \[may sleep\]
                                     mutex\_lock(&priv-\>blob\_lock)
                                     debugfs\_remove\_recursive()  \[no wait\]
                                     mutex\_unlock(&priv-\>blob\_lock)
                                   (remove returns; devres frees priv)
    priv-\>trig\_data = buf   \<-- use-after-free write
    priv-\>trig\_len  = count

The race is reachable by root via
/sys/bus/platform/drivers/gpio-sloppy-logic-analyzer/unbind.

Create "trigger" with debugfs\_create\_file() instead. Its full\_proxy
wrapper makes debugfs\_remove\_recursive() drain any in-flight -\>write
before it returns.

The use-after-free is confirmed under KASAN with a minimal reproducer of
the same debugfs\_create\_file\_unsafe() plus devm\_kzalloc() pattern
(available on request); it produces a slab-use-after-free write in the
handler.

## Affected and fixed versions

- Linux: \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 49a1ebb1ef2c8ada300c174b65273810abb4e326; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 24bef4918f6ab806260476e2f93d8f791fd17449; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 44f3468a0aef1aabdad551898ab7cfa2a9d20e99 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-80563.md
Affected: Linux >= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, < 49a1ebb1ef2c8ada300c174b65273810abb4e326; >= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, < 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80; >= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, < 24bef4918f6ab806260476e2f93d8f791fd17449; >= 7828b7bbbf2074dd7dd14d8…
Fixed in: Linux 49a1ebb1ef2c8ada300c174b65273810abb4e326, Linux 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80, Linux 24bef4918f6ab806260476e2f93d8f791fd17449, Linux 44f3468a0aef1aabdad551898ab7cfa2a9d20e99

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 49a1ebb1ef2c8ada300c174b65273810abb4e326; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 24bef4918f6ab806260476e2f93d8f791fd17449; \>= 7828b7bbbf2074dd7dd14d87f50bc5ce9036d692, \< 44f3468a0aef1aabdad551898ab7cfa2a9d20e99; Linux 6.11.

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

Yes. Fixed in Linux 49a1ebb1ef2c8ada300c174b65273810abb4e326, Linux 23e9f32c0c7d2043e39655cff5ee3ddf29a43f80, Linux 24bef4918f6ab806260476e2f93d8f791fd17449, Linux 44f3468a0aef1aabdad551898ab7cfa2a9d20e99. Upgrade Linux to 44f3468a0aef1aabdad551898ab7cfa2a9d20e99 or later.

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

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/49a1ebb1ef2c8ada300c174b65273810abb4e326>
- other: <https://git.kernel.org/stable/c/23e9f32c0c7d2043e39655cff5ee3ddf29a43f80>
- other: <https://git.kernel.org/stable/c/24bef4918f6ab806260476e2f93d8f791fd17449>
- other: <https://git.kernel.org/stable/c/44f3468a0aef1aabdad551898ab7cfa2a9d20e99>

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

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