PT-2025-40144 · Linux+2 · Linux Kernel+2
Published
2023-05-09
·
Updated
2025-11-24
·
CVE-2022-50459
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/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 flaw exists in the Linux kernel’s iSCSI over TCP implementation. Specifically, a NULL pointer dereference can occur during socket access when freeing the socket concurrently with accessing it through sysfs. This happens because the
sock->ops can become NULL after a sockfd put() operation in iscsi sw tcp release conn(), and subsequent calls to kernel getpeername() in iscsi sw tcp conn get param() and iscsi sw tcp host get param() attempt to access this NULL pointer. The issue arose from changes made to avoid holding a spinlock while calling getpeername(), leading to a need for refcount-based access, which was then simplified to use a mutex for socket access in the interface code paths.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Red Hat
Suse