Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-50129

7.0 · HIGH
Published Jun 18, 2025 linux CWE-416 EPSS 0.16% (6th pctl)

Overview

CVE-2022-50129 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/srpt: Fix a use-after-free

Change the LIO port members inside struct srpt_port from regular members

into pointers. Allocate the LIO port data structures from inside

srpt_make_tport() and free these from inside srpt_make_tport(). Keep

struct srpt_device as long as either an RDMA port or a LIO target port is

associated with it. This patch decouples the lifetime of struct srpt_port

(controlled by the RDMA core) and struct srpt_port_id (controlled by LIO).

This patch fixes the following KASAN complaint:

BUG: KASAN: use-after-free in srpt_enable_tpg+0x31/0x70 [ib_srpt]

Read of size 8 at addr ffff888141cc34b8 by task check/5093

Call Trace:

<TASK>

show_stack+0x4e/0x53

dump_stack_lvl+0x51/0x66

print_address_description.constprop.0.cold+0xea/0x41e

print_report.cold+0x90/0x205

kasan_report+0xb9/0xf0

__asan_load8+0x69/0x90

srpt_enable_tpg+0x31/0x70 [ib_srpt]

target_fabric_tpg_base_enable_

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 3.3, < 5.10.137 Affected

Frequently Asked Questions

What is CVE-2022-50129?

CVE-2022-50129 is a high-severity vulnerability affecting linux linux_kernel. It was published on June 18, 2025 and has a CVSS 3.1 base score of 7.0 (HIGH).

How severe is CVE-2022-50129?

This vulnerability has a CVSS 3.1 base score of 7.0, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-50129?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50129?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-50129 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.