Review reviewHigh

CVE-2022-50129

Linux Linux, linux kernel

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-aft...

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2025.06.18
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

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-aft...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= a42d985bd5b234da8b61347a78dc3057bf7bb94d < de95b52d9aabc979166aba81ccbe623aaf9c16a1, >= a42d985bd5b234da8b61347a78dc3057bf7bb94d < e60d7e2462bf57273563c4e00dbfa79ee973b9e2, >= a42d985bd5b234da8b61347a78dc3057bf7bb94d < 4ee8c39968a648d58b273582d4b021044a41ee5e, >= a42d985bd5b234da8b61347a78dc3057bf7bb94d < 388326bb1c32fcd09371c1d494af71471ef3a04b, >= a42d985bd5b234da8b61347a78dc3057bf7bb94d < b5605148e6ce36bb21020d49010b617693933128, >= 3.3, >= 3.3 < 5.10.137, >= 5.11 < 5.15.61, >= 5.16 < 5.18.18, >= 5.19 < 5.19.2
Fixed versions
5.10.137, 5.15.61, 5.18.18, 5.19.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416