PT-2025-14324 · Linux+7 · Linux Kernel+7

Published

2025-02-24

·

Updated

2026-01-20

·

CVE-2025-21943

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability in the Linux kernel has been resolved, related to the gpio aggregator driver. The issue arises when the new device store and delete device store handlers touch module global resources, such as gpio aggregator lock, without holding a reference, leading to potential race conditions with module unload. This can cause various issues, including dangling platform devices and GPIO forwarders, resulting in system instability and warnings. A reproducer script demonstrates these problems by concurrently allocating and deallocating devices while unloading the module.
Recommendations To resolve this issue, apply the patch that adds try module get() in the new device store and delete device store handlers. As a temporary workaround, consider restricting the use of the gpio aggregator driver until the patch is applied. Avoid using the new device store and delete device store handlers concurrently with module unload to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-12647
ALT-PU-2025-5437
ALT-PU-2025-5786
AZL-59748
AZL-59912
BDU:2025-04620
CVE-2025-21943
DLA-4178-1
DLA-4193-1
DSA-5900-1
ECHO-33CF-70C9-EEFF
OESA-2025-1409
OESA-2025-1410
OESA-2025-1446
OESA-2025-1450
OPENSUSE-SU-2025_01614-1
OPENSUSE-SU-2025_01707-1
SUSE-SU-2025:01614-1
SUSE-SU-2025:01707-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01964-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20206-1
SUSE-SU-2025:20270-1
SUSE-SU-2025:20283-1
SUSE-SU-2025_01614-1
SUSE-SU-2025_01707-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01964-1
SUSE-SU-2025_01967-1
USN-7510-1
USN-7510-2
USN-7510-3
USN-7510-4
USN-7510-5
USN-7510-6
USN-7510-7
USN-7510-8
USN-7511-1
USN-7511-2
USN-7511-3
USN-7512-1
USN-7593-1
USN-7595-1
USN-7595-2
USN-7595-3
USN-7595-4
USN-7595-5
USN-7596-1
USN-7596-2
USN-7602-1
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
USN-7653-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu