Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-50129— RDMA/srpt: Fix a use-after-free

CVSS 7.0 · High EPSS 0.15% · P5

Affected Version Matrix 12

VendorProductVersion RangeStatus
LinuxLinuxa42d985bd5b234da8b61347a78dc3057bf7bb94d< de95b52d9aabc979166aba81ccbe623aaf9c16a1affected
a42d985bd5b234da8b61347a78dc3057bf7bb94d< e60d7e2462bf57273563c4e00dbfa79ee973b9e2affected
a42d985bd5b234da8b61347a78dc3057bf7bb94d< 4ee8c39968a648d58b273582d4b021044a41ee5eaffected
a42d985bd5b234da8b61347a78dc3057bf7bb94d< 388326bb1c32fcd09371c1d494af71471ef3a04baffected
a42d985bd5b234da8b61347a78dc3057bf7bb94d< b5605148e6ce36bb21020d49010b617693933128affected
3.3affected
< 3.3unaffected
5.10.137≤ 5.10.*unaffected
… +4 more rows
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-50129

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
RDMA/srpt: Fix a use-after-free
Source: CVE Program / CVE List V5
Vulnerability 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>
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于srpt_enable_tpg未正确处理端口成员,可能导致释放后重用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux a42d985bd5b234da8b61347a78dc3057bf7bb94d ~ de95b52d9aabc979166aba81ccbe623aaf9c16a1 -
LinuxLinux 3.3 -

II. Public POCs for CVE-2022-50129

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-50129

登录查看更多情报信息。

Patches & Fixes for CVE-2022-50129 (1)

Same Patch Batch · Linux · 2025-06-18 · 362 CVEs total

CVE-2025-380759.8 CRITICALscsi: target: iscsi: Fix timeout on deleted connection
CVE-2022-500988.8 HIGHscsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts
CVE-2022-499348.8 HIGHwifi: mac80211: Fix UAF in ieee80211_scan_rx()
CVE-2025-380528.8 HIGHnet/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done
CVE-2022-501648.8 HIGHwifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
CVE-2025-380168.8 HIGHHID: bpf: abort dispatch if device destroyed
CVE-2022-499748.8 HIGHHID: nintendo: fix rumble worker null pointer deref
CVE-2025-380748.8 HIGHvhost-scsi: protect vq->log_used with vq->mutex
CVE-2022-499688.0 HIGHieee802154/adf7242: defer destroy_workqueue call
CVE-2022-499397.8 HIGHbinder: fix UAF of ref->proc caused by race condition
CVE-2022-500227.8 HIGHdrivers:md:fix a potential use-after-free bug
CVE-2022-500287.8 HIGHgadgetfs: ep_io - wait until IRQ finishes
CVE-2022-499357.8 HIGHdma-buf/dma-resv: check if the new fence is really later
CVE-2025-380827.8 HIGHgpio: virtuser: fix potential out-of-bound write
CVE-2022-501827.8 HIGHmedia: imx-jpeg: Align upwards buffer size
CVE-2025-380807.8 HIGHdrm/amd/display: Increase block_sequence array size
CVE-2025-380797.8 HIGHcrypto: algif_hash - fix double free in hash_accept
CVE-2022-500997.8 HIGHvideo: fbdev: arkfb: Check the size of screen before memset_io()
CVE-2025-380627.8 HIGHgenirq/msi: Store the IOMMU IOVA directly in msi_desc instead of iommu_cookie
CVE-2025-380607.8 HIGHbpf: copy_verifier_state() should copy 'loop_entry' field

Showing top 20 of 362 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-50129

No comments yet


Leave a comment