CVE-2022-50459

Local privilege escalation via iSCSI socket lifetime race

Published Oct 1, 2025 · Updated Oct 1, 2025

Use-after-free in the Linux kernel iSCSI TCP module allows local users to execute kernel code by racing sysfs reads with socket teardown. The parameter getters retain struct sock rather than struct socket, so concurrent release clears sock->ops before kernel_getpeername() dereferences it. Reachability requires an active iscsi_tcp session and a local user able to read its world-readable connection or host attributes during teardown.

CVSS severity7.8
High
EPSS probability0.18%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in the Linux kernel iSCSI TCP module allows local users to execute kernel code by racing sysfs reads with socket teardown. The parameter getters retain struct sock rather than struct socket, so concurrent release clears sock->ops before kernel_getpeername() dereferences it. Reachability requires an active iscsi_tcp session and a local user able to read its world-readable connection or host attributes during teardown.

The record

CVE
CVE-2022-50459
Published
Oct 1, 2025
Updated
Oct 1, 2025
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-476, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Oct 1, 2025CVE publishedPublication date reported by the CVE source.
  2. Oct 1, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=5.9
  2. Affected versionversion=7d29e950766327f658cb92722b9445ac3b3ae023
  3. Affected versionversion=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <0a0b861fce2657ba08ec356a74346b37ca4b2008
  4. Affected versionversion=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <57569c37f0add1b6489e1a1563c71519daf732cf
  5. Affected versionversion=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <884a788f065578bb640382279a83d1df433b13e6
  6. Affected versionversion=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <897dbbc57d71e8a34ec1af8e573a142de457da38
  7. Affected versionversion=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <a26b0658751bb0a3b28386fca715333b104d32a2

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=5.9; version=7d29e950766327f658cb92722b9445ac3b3ae023; version=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <0a0b861fce2657ba08ec356a74346b37ca4b2008; version=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <57569c37f0add1b6489e1a1563c71519daf732cf; version=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <884a788f065578bb640382279a83d1df433b13e6; version=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <897dbbc57d71e8a34ec1af8e573a142de457da38; version=bcf3a2953d36bbfb9bd44ccb3db0897d935cc485 <a26b0658751bb0a3b28386fca715333b104d32a2

Published CVSS scores

7.8Linux kernel CVE teamCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
5.5NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-476NULL Pointer Dereference
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo