Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50129

HIGH 7.0EPSS 13%

RDMA/srpt: Fix a use-after-free

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < de95b52d9aabc979166aba81ccbe623aaf9c16a1; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e60d7e2462bf57273563c4e00dbfa79ee973b9e2; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 4ee8c39968a648d58b273582d4b021044a41ee5e; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 388326bb1c32fcd09371c1d494af71471ef3a04b; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < b5605148e6ce36bb21020d49010b617693933128
  • Anyone running Linux 3.3

Vulnerability facts

Affected
Linux >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < de95b52d9aabc979166aba81ccbe623aaf9c16a1; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e60d7e2462bf57273563c4e00dbfa79ee973b9e2; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 4ee8c39968a648d58b273582d4b021044a41ee5e; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 388326bb1c32fcd09371c1d494af71471ef3a04b; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < b5605148e6ce36bb21020d49010b617693933128; Linux 3.3
Fixed in
Linux 4ee8c39968a648d58b273582d4b021044a41ee5e, Linux 388326bb1c32fcd09371c1d494af71471ef3a04b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-416
Published
Modified

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_store+0xe2/0x140 [target_core_mod] configfs_write_iter+0x18b/0x210 new_sync_write+0x1f2/0x2f0 vfs_write+0x3e3/0x540 ksys_write+0xbb/0x140 __x64_sys_write+0x42/0x50 do_syscall_64+0x34/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 </TASK>

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < de95b52d9aabc979166aba81ccbe623aaf9c16a1; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e60d7e2462bf57273563c4e00dbfa79ee973b9e2; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 4ee8c39968a648d58b273582d4b021044a41ee5e; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 388326bb1c32fcd09371c1d494af71471ef3a04b; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < b5605148e6ce36bb21020d49010b617693933128—cvelist
Linux3.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50129. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50129.md
Affected: Linux >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < de95b52d9aabc979166aba81ccbe623aaf9c16a1; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e60d7e2462bf57273563c4e00dbfa79ee973b9e2; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 4ee8c39968a648d58b273582d4b021044a41ee5e; >= a42d985bd5b234da8b61347…
Fixed in: Linux 4ee8c39968a648d58b273582d4b021044a41ee5e, Linux 388326bb1c32fcd09371c1d494af71471ef3a04b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50129 being exploited?

There is no confirmed exploitation: CVE-2022-50129 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50129?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-50129?

Linux >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < de95b52d9aabc979166aba81ccbe623aaf9c16a1; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < e60d7e2462bf57273563c4e00dbfa79ee973b9e2; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 4ee8c39968a648d58b273582d4b021044a41ee5e; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < 388326bb1c32fcd09371c1d494af71471ef3a04b; >= a42d985bd5b234da8b61347a78dc3057bf7bb94d, < b5605148e6ce36bb21020d49010b617693933128; Linux 3.3.

Is there a fix for CVE-2022-50129?

Yes. Fixed in Linux 4ee8c39968a648d58b273582d4b021044a41ee5e, Linux 388326bb1c32fcd09371c1d494af71471ef3a04b. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50129?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors