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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-47076— RDMA/rxe: Return CQE error if invalid lkey was supplied

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于LOCAL_WRITE 失败时 RXE 缺少 WQE 状态更新。

AI Predicted 7.8 Difficulty: Easy EPSS 0.23% · P12

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 8700e3e7c4857d28ebaa824509934556da0b3e76< a81e72d49b0648f68ab201163dbfc7841056d7a2 affected
8700e3e7c4857d28ebaa824509934556da0b3e76< abe31d25facdb9109fe2cf69890748295291570c affected
8700e3e7c4857d28ebaa824509934556da0b3e76< dc07628bd2bbc1da768e265192c28ebd301f509d affected
4.8 affected
< 4.8 unaffected
5.10.241≤ 5.10.* unaffected
5.12.7≤ 5.12.* unaffected
5.13≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-47076

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/rxe: Return CQE error if invalid lkey was supplied
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Return CQE error if invalid lkey was supplied RXE is missing update of WQE status in LOCAL_WRITE failures. This caused the following kernel panic if someone sent an atomic operation with an explicitly wrong lkey. [leonro@vm ~]$ mkt test test_atomic_invalid_lkey (tests.test_atomic.AtomicTest) ... WARNING: CPU: 5 PID: 263 at drivers/infiniband/sw/rxe/rxe_comp.c:740 rxe_completer+0x1a6d/0x2e30 [rdma_rxe] Modules linked in: crc32_generic rdma_rxe ip6_udp_tunnel udp_tunnel rdma_ucm rdma_cm ib_umad ib_ipoib iw_cm ib_cm mlx5_ib ib_uverbs ib_core mlx5_core ptp pps_core CPU: 5 PID: 263 Comm: python3 Not tainted 5.13.0-rc1+ #2936 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 RIP: 0010:rxe_completer+0x1a6d/0x2e30 [rdma_rxe] Code: 03 0f 8e 65 0e 00 00 3b 93 10 06 00 00 0f 84 82 0a 00 00 4c 89 ff 4c 89 44 24 38 e8 2d 74 a9 e1 4c 8b 44 24 38 e9 1c f5 ff ff <0f> 0b e9 0c e8 ff ff b8 05 00 00 00 41 bf 05 00 00 00 e9 ab e7 ff RSP: 0018:ffff8880158af090 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888016a78000 RCX: ffffffffa0cf1652 RDX: 1ffff9200004b442 RSI: 0000000000000004 RDI: ffffc9000025a210 RBP: dffffc0000000000 R08: 00000000ffffffea R09: ffff88801617740b R10: ffffed1002c2ee81 R11: 0000000000000007 R12: ffff88800f3b63e8 R13: ffff888016a78008 R14: ffffc9000025a180 R15: 000000000000000c FS: 00007f88b622a740(0000) GS:ffff88806d540000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88b5a1fa10 CR3: 000000000d848004 CR4: 0000000000370ea0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rxe_do_task+0x130/0x230 [rdma_rxe] rxe_rcv+0xb11/0x1df0 [rdma_rxe] rxe_loopback+0x157/0x1e0 [rdma_rxe] rxe_responder+0x5532/0x7620 [rdma_rxe] rxe_do_task+0x130/0x230 [rdma_rxe] rxe_rcv+0x9c8/0x1df0 [rdma_rxe] rxe_loopback+0x157/0x1e0 [rdma_rxe] rxe_requester+0x1efd/0x58c0 [rdma_rxe] rxe_do_task+0x130/0x230 [rdma_rxe] rxe_post_send+0x998/0x1860 [rdma_rxe] ib_uverbs_post_send+0xd5f/0x1220 [ib_uverbs] ib_uverbs_write+0x847/0xc80 [ib_uverbs] vfs_write+0x1c5/0x840 ksys_write+0x176/0x1d0 do_syscall_64+0x3f/0x80 entry_SYSCALL_64_after_hwframe+0x44/0xae
Source: CVE Program / CVE List V5
CVSS Information
N/A
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存在安全漏洞,该漏洞源于LOCAL_WRITE 失败时 RXE 缺少 WQE 状态更新。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 8700e3e7c4857d28ebaa824509934556da0b3e76 ~ a81e72d49b0648f68ab201163dbfc7841056d7a2 -
Linux Linux 4.8 -

II. Public POCs for CVE-2021-47076

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-47076

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-47076 (1)

Other References for CVE-2021-47076 (2)

Same Patch Batch · Linux · 2024-03-01 · 13 CVEs total

CVE-2021-47081 7.8 HIGH habanalabs/gaudi: Fix a potential use after free in gaudi_memset_device_memory
CVE-2021-47078 7.8 HIGH RDMA/rxe: Clear all QP fields if creation failed
CVE-2021-47069 7.8 HIGH ipc/mqueue, msg, sem: avoid relying on a stack reference past its expiry
CVE-2021-47080 RDMA/core: Prevent divide-by-zero error triggered by the user
CVE-2021-47079 platform/x86: ideapad-laptop: fix a NULL pointer dereference
CVE-2021-47077 scsi: qedf: Add pointer checks in qedf_update_link_speed()
CVE-2021-47075 nvmet: fix memory leak in nvmet_alloc_ctrl()
CVE-2021-47074 nvme-loop: fix memory leak in nvme_loop_create_ctrl()
CVE-2021-47072 btrfs: fix removed dentries still existing after log is synced
CVE-2021-47073 platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
CVE-2021-47071 uio_hv_generic: Fix a memory leak in error handling paths
CVE-2021-47070 uio_hv_generic: Fix another memory leak in error handling paths

IV. Related Vulnerabilities

V. Comments for CVE-2021-47076

No comments yet


Leave a comment