PT-2025-8898 · Linux+8 · Linux Kernel+8
Cheung Wall
·
Published
2025-01-13
·
Updated
2026-04-20
·
CVE-2025-21786
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A use-after-free bug was reported in the Linux kernel, specifically in the workqueue module. The issue arises from a commit that reaps normal workers but fails to handle the rescuer, leading to a situation where the pool's reference is not held until the detachment is complete. This results in a use-after-free bug. The bug was reported by Cheung Wall.
Recommendations
To resolve the issue, the code that puts the pwq should be moved after detaching the rescuer from the pool, ensuring the pool's reference is held until the detachment is complete.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Rocky Linux
Ubuntu