PT-2025-16723 · Linux+6 · Linux Kernel+6
Haoran Zhang
·
Published
2025-02-25
·
Updated
2026-05-26
·
CVE-2025-22083
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
The issue is related to the handling of multiple calls to
vhost scsi set endpoint in the Linux kernel. This can lead to several problems, including a use-after-free bug when no tpgs are found, a tpg dir removal hang due to refcount dropping to -1, and a tpg leak because the target name is overwritten when vhost scsi set endpoint is called multiple times with different target names. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.Recommendations
To resolve the issue, it is recommended to prevent
vhost scsi set endpoint from being called if it's already successfully added tpgs. To add, remove, or change the tpg config or target name, you must do a vhost scsi clear endpoint first. As a temporary workaround, consider restricting the use of the vhost scsi set endpoint function until a patch is available. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
DoS
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu