CVE-2025-71158
published high CVSS 3.1 · 7.8gpio: mpsse: ensure worker is torn down
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc46a74ff05c0ac76ba11ef21c930c3b447abf31a to < 472d900c8bcac301ae0e40fdca7db799bd989ff5 · c46a74ff05c0ac76ba11ef21c930c3b447abf31a to < 179ef1127d7a4f09f0e741fa9f30b8a8e7886271 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.6 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-azure-6.17 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-cloud-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-azure-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
Show 90 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-fde-6.17 | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-azure-fde-6.17-cloud-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-azure-fde-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-azure-fde-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-buildinfo-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-cloud-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-gcp-6.17 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-headers-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-gcp-6.17-tools-6.17.0-1021 | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-headers-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-headers-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-headers-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-headers-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-image-unsigned-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-lib-rust-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-modules-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-evdi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-extra-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-ipu6-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-ipu7-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-modules-usbio-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-modules-vision-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-nvidia-6.17 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-headers-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-nvidia-6.17-tools-6.17.0-1031 | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-oem-6.17 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-headers-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oem-6.17-tools-6.17.0-1030 | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-oracle-6.17 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-headers-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-oracle-6.17-tools-6.17.0-1019 | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-realtime-6.17 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-cloud-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-headers-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-realtime-6.17-tools-6.17.0-1018 | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-azure-fde | Advisory build | 6.17.0-1018.18~24.04.1 | USN-8605-1 |
| Ubuntu | noble | linux-tools-6.17.0-1018-realtime | Advisory build | 6.17.0-1018.20~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1019-oracle-64k | Advisory build | 6.17.0-1019.19~24.04.3 | USN-8570-2 |
| Ubuntu | noble | linux-tools-6.17.0-1021-azure | Advisory build | 6.17.0-1021.21~24.04.1 | USN-8604-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1021-gcp-64k | Advisory build | 6.17.0-1021.24~24.04.1 | USN-8570-1 |
| Ubuntu | noble | linux-tools-6.17.0-1030-oem | Advisory build | 6.17.0-1030.30 | USN-8594-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
| Ubuntu | noble | linux-tools-6.17.0-1031-nvidia-64k | Advisory build | 6.17.0-1031.31 | USN-8669-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: mpsse: ensure worker is torn down When an IRQ worker is running, unplugging the device would cause a crash. The sealevel hardware this driver was written for was not hotpluggable, so I never realized it. This change uses a spinlock to protect a list of workers, which it tears down on disconnect.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - A local caller with write access to the USB device node can issue USBDEVFS_IOCTL containing USBDEVFS_DISCONNECT, which synchronously reaches gpio_mpsse_disconnect(); physical unplugging is an additional path. AC:L - The attacker can arm edge detection through GPIO_V2_GET_LINE_IOCTL and then initiate software disconnect, controlling both sides of the race. The continuously running polling worker makes repeated triggering practical. PR:L - Neither the GPIO request nor USBFS disconnect path performs a capable() or ns_capable() check; access is governed only by device-node DAC/LSM policy, so a basic user granted device access suffices. UI:N - No victim action is required after the attacker arms the worker and disconnects the interface, and deployed controller services may already keep GPIO edge IRQs continuously active. S:U - The vulnerable worker and affected resources are within the same host-kernel security authority, with no VM, IOMMU, or other security-boundary crossing. C:H - The worker can continue dereferencing a devm-freed mpsse_priv containing kernel pointers and synchronization objects, allowing attacker-influenced reclaimed contents to support kernel-memory disclosure. I:H - The use-after-free performs operations through reclaimed pointers and mutexes, while the reclaimed gpio.ngpio value controls loops over fixed 16-entry stack arrays, making arbitrary corruption and control-flow hijacking defensible. A:H - The documented outcome is a kernel crash on disconnect, reachable through immediate NULL dereferences or subsequent use-after-free accesses by the unterminated worker.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c46a74ff05c0ac76ba11ef21c930c3b447abf31a to < 472d900c8bcac301ae0e40fdca7db799bd989ff5 (affected · git)c46a74ff05c0ac76ba11ef21c930c3b447abf31a to < 179ef1127d7a4f09f0e741fa9f30b8a8e7886271 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.6 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
gpio: mpsse: ensure worker is torn down
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f42ede837f7aad27e7aea871e5b92f3801b907f328d4beeb84463103dfcf6e24
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record