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

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2026-05862
CVE-2022-50459
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

Affected Products

Linux Kernel
Red Hat
Suse