PT-2025-8814 · Linux+7 · Linux Kernel+7
Published
2025-01-03
·
Updated
2026-04-20
·
CVE-2025-21731
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 (UAF) issue exists in the Linux kernel. The problem occurs when the
nbd config is temporarily grabbed, and then nbd genl disconnect() is called, which flushes all recv work() and releases the initial reference. If nbd genl reconfigure() is then called, it can queue recv work() again, leading to a UAF when the reference is finally released. This issue can be triggered by a specific sequence of actions involving nbd genl disconnect(), nbd genl reconfigure(), and the release of the nbd config reference.Recommendations
To fix the problem, clear
NBD RT BOUND in nbd genl disconnect(), so that nbd genl reconfigure() will fail, preventing the UAF issue.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Use After Free
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu