# CVE-2023-52475: Input: powermate - fix use-after-free in powermate\_config\_complete

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.32% (percentile 17, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-02-29T05:43:08.838Z
- **Modified:** 2026-06-17T06:42:48.450Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8677575c4f39d65bf0d719b5d20e8042e550ccb9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 67cace72606baf1758fd60feb358f4c6be92e1cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa514100aaf59868d745196258269a16737c7bd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd2fbfd8b922b7fdd50732e47d797754ab59cb06; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a4a396386404e62fb59bc3bde48871a64a82b4f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2efe67c581a2a6122b328d4bb6f21b3f36f40d46; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5c15c60e7be615f05a45cd905093a54b11f461bc
- Anyone running Linux 2.6.12

## Description

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

Input: powermate - fix use-after-free in powermate\_config\_complete

syzbot has found a use-after-free bug \[1\] in the powermate driver. This
happens when the device is disconnected, which leads to a memory free from
the powermate\_device struct.  When an asynchronous control message
completes after the kfree and its callback is invoked, the lock does not
exist anymore and hence the bug.

Use usb\_kill\_urb() on pm-\>config to cancel any in-progress requests upon
device disconnection.

\[1\] https://syzkaller.appspot.com/bug?extid=0434ac83f907a1dbdd1e

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8677575c4f39d65bf0d719b5d20e8042e550ccb9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 67cace72606baf1758fd60feb358f4c6be92e1cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa514100aaf59868d745196258269a16737c7bd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd2fbfd8b922b7fdd50732e47d797754ab59cb06; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a4a396386404e62fb59bc3bde48871a64a82b4f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2efe67c581a2a6122b328d4bb6f21b3f36f40d46; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5c15c60e7be615f05a45cd905093a54b11f461bc (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-52475.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8677575c4f39d65bf0d719b5d20e8042e550ccb9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 67cace72606baf1758fd60feb358f4c6be92e1cc; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5aa514100aaf59868d745196258269a16737c7bd; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 8677575c4f39d65bf0d719b5d20e8042e550ccb9, Linux 67cace72606baf1758fd60feb358f4c6be92e1cc, Linux 5aa514100aaf59868d745196258269a16737c7bd, Linux 6a4a396386404e62fb59bc3bde48871a64a82b4f, Linux 2efe67c581a2a6122b328d4bb6f21b3f36f40d46, Linux 5c15c60e7be615f05a45cd905093a54b11f461bc

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

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8677575c4f39d65bf0d719b5d20e8042e550ccb9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 67cace72606baf1758fd60feb358f4c6be92e1cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5aa514100aaf59868d745196258269a16737c7bd; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd2fbfd8b922b7fdd50732e47d797754ab59cb06; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6a4a396386404e62fb59bc3bde48871a64a82b4f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2efe67c581a2a6122b328d4bb6f21b3f36f40d46; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5c15c60e7be615f05a45cd905093a54b11f461bc; Linux 2.6.12.

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

Yes. Fixed in Linux 8677575c4f39d65bf0d719b5d20e8042e550ccb9, Linux 67cace72606baf1758fd60feb358f4c6be92e1cc, Linux 5aa514100aaf59868d745196258269a16737c7bd, Linux 6a4a396386404e62fb59bc3bde48871a64a82b4f, Linux 2efe67c581a2a6122b328d4bb6f21b3f36f40d46, Linux 5c15c60e7be615f05a45cd905093a54b11f461bc. Upgrade Linux to 5c15c60e7be615f05a45cd905093a54b11f461bc or later.

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

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/8677575c4f39d65bf0d719b5d20e8042e550ccb9>
- patch: <https://git.kernel.org/stable/c/67cace72606baf1758fd60feb358f4c6be92e1cc>
- patch: <https://git.kernel.org/stable/c/5aa514100aaf59868d745196258269a16737c7bd>
- patch: <https://git.kernel.org/stable/c/cd2fbfd8b922b7fdd50732e47d797754ab59cb06>
- patch: <https://git.kernel.org/stable/c/6a4a396386404e62fb59bc3bde48871a64a82b4f>
- patch: <https://git.kernel.org/stable/c/2efe67c581a2a6122b328d4bb6f21b3f36f40d46>
- patch: <https://git.kernel.org/stable/c/e528b1b9d60743e0b26224e3fe7aa74c24b8b2f8>
- patch: <https://git.kernel.org/stable/c/5c15c60e7be615f05a45cd905093a54b11f461bc>

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

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