CVE-2021-47076
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/03/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
RDMA/rxe: Return CQE error if invalid lkey was supplied<br />
<br />
RXE is missing update of WQE status in LOCAL_WRITE failures. This caused<br />
the following kernel panic if someone sent an atomic operation with an<br />
explicitly wrong lkey.<br />
<br />
[leonro@vm ~]$ mkt test<br />
test_atomic_invalid_lkey (tests.test_atomic.AtomicTest) ...<br />
WARNING: CPU: 5 PID: 263 at drivers/infiniband/sw/rxe/rxe_comp.c:740 rxe_completer+0x1a6d/0x2e30 [rdma_rxe]<br />
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<br />
CPU: 5 PID: 263 Comm: python3 Not tainted 5.13.0-rc1+ #2936<br />
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014<br />
RIP: 0010:rxe_completer+0x1a6d/0x2e30 [rdma_rxe]<br />
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 0b e9 0c e8 ff ff b8 05 00 00 00 41 bf 05 00 00 00 e9 ab e7 ff<br />
RSP: 0018:ffff8880158af090 EFLAGS: 00010246<br />
RAX: 0000000000000000 RBX: ffff888016a78000 RCX: ffffffffa0cf1652<br />
RDX: 1ffff9200004b442 RSI: 0000000000000004 RDI: ffffc9000025a210<br />
RBP: dffffc0000000000 R08: 00000000ffffffea R09: ffff88801617740b<br />
R10: ffffed1002c2ee81 R11: 0000000000000007 R12: ffff88800f3b63e8<br />
R13: ffff888016a78008 R14: ffffc9000025a180 R15: 000000000000000c<br />
FS: 00007f88b622a740(0000) GS:ffff88806d540000(0000) knlGS:0000000000000000<br />
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br />
CR2: 00007f88b5a1fa10 CR3: 000000000d848004 CR4: 0000000000370ea0<br />
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000<br />
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400<br />
Call Trace:<br />
rxe_do_task+0x130/0x230 [rdma_rxe]<br />
rxe_rcv+0xb11/0x1df0 [rdma_rxe]<br />
rxe_loopback+0x157/0x1e0 [rdma_rxe]<br />
rxe_responder+0x5532/0x7620 [rdma_rxe]<br />
rxe_do_task+0x130/0x230 [rdma_rxe]<br />
rxe_rcv+0x9c8/0x1df0 [rdma_rxe]<br />
rxe_loopback+0x157/0x1e0 [rdma_rxe]<br />
rxe_requester+0x1efd/0x58c0 [rdma_rxe]<br />
rxe_do_task+0x130/0x230 [rdma_rxe]<br />
rxe_post_send+0x998/0x1860 [rdma_rxe]<br />
ib_uverbs_post_send+0xd5f/0x1220 [ib_uverbs]<br />
ib_uverbs_write+0x847/0xc80 [ib_uverbs]<br />
vfs_write+0x1c5/0x840<br />
ksys_write+0x176/0x1d0<br />
do_syscall_64+0x3f/0x80<br />
entry_SYSCALL_64_after_hwframe+0x44/0xae
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.8 (including) | 5.12.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/a81e72d49b0648f68ab201163dbfc7841056d7a2
- https://git.kernel.org/stable/c/abe31d25facdb9109fe2cf69890748295291570c
- https://git.kernel.org/stable/c/dc07628bd2bbc1da768e265192c28ebd301f509d
- https://git.kernel.org/stable/c/abe31d25facdb9109fe2cf69890748295291570c
- https://git.kernel.org/stable/c/dc07628bd2bbc1da768e265192c28ebd301f509d
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html



