CVE-2022-50459NULL Pointer Dereference in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.14%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 1

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername() Fix a NULL pointer crash that occurs when we are freeing the socket at the same time we access it via sysfs. The problem is that: 1. iscsi_sw_tcp_conn_get_param() and iscsi_sw_tcp_host_get_param() take the frwd_lock and do sock_hold() then drop the frwd_lock. sock_hold() does a get on the "struct sock". 2. iscsi_sw_tcp_release_conn() does sockfd_put() wh

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel5.8.145.9+5
Debianlinux/linux_kernel< 5.10.158-1+3
CVEListV5linux/linuxbcf3a2953d36bbfb9bd44ccb3db0897d935cc485884a788f065578bb640382279a83d1df433b13e6+6
debiandebian/linux< linux 6.0.3-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2022-50459: In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername() Fix a NULL2025-10-01
GHSA
GHSA-f7xj-99j9-66q2: In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername() Fix a NUL2025-10-01

📋Vendor Advisories

2
Red Hat
kernel: scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()2025-10-01
Debian
CVE-2022-50459: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi...2022