PT-2025-40144

CVE-2022-50459

·

Published

2023-05-09

·

Updated

2025-11-24

Description by

CVSS 3.1
7.8
High
MetricsAV: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 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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
RHSA-2023:2458
RHSA-2023_2458
SUSE-SU-2025:03613-1
SUSE-SU-2025:03615-1
SUSE-SU-2025:03626-1
SUSE-SU-2025:03628-1
SUSE-SU-2025:3716-1
SUSE-SU-2025:3761-1
SUSE-SU-2025:4189-1
Found an issue in the description? Have something to add? Feel free to write us 👾