CVE-2022-49929: RDMA/rxe: Fix mr leak in RESPST_ERR_RNR
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix mr leak in RESPSTERRRNR
rxerecheckmr() will increase mr's refcnt, so we should call rxeput(mr) to drop mr's refcnt in RESPSTERRRNR to avoid below warning:
WARNING: CPU: 0 PID: 4156 at drivers/infiniband/sw/rxe/rxepool.c:259 rxecleanup+0x1df/0x240 [rdmarxe] ... Call Trace: rxederegmr+0x4c/0x60 [rdmarxe] ibderegmruser+0xa8/0x200 [ibcore] ibmrpooldestroy+0x77/0xb0 [ibcore] nvmerdmadestroyqueueib+0x89/0x240 [nvmerdma] nvmerdmafreequeue+0x40/0x50 [nvmerdma] nvmerdmateardownioqueues.part.0+0xc3/0x120 [nvmerdma] nvmerdmaerrorrecoverywork+0x4d/0xf0 [nvmerdma] processonework+0x582/0xa40 ? pwqdecnrinflight+0x100/0x100 ? rwlockbug.part.0+0x60/0x60 workerthread+0x2a9/0x700 ? processonework+0xa40/0xa40 kthread+0x168/0x1a0 ? kthreadcompleteandexit+0x20/0x20 retfromfork+0x22/0x30
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49929?
CVE-2022-49929 is classified as a medium-severity vulnerability in the Linux kernel.
How do I fix CVE-2022-49929?
To fix CVE-2022-49929, update your Linux kernel to the latest patched version provided by your distribution.
What does CVE-2022-49929 affect?
CVE-2022-49929 affects the RDMA/rxe component of the Linux kernel.
What are the potential consequences of CVE-2022-49929?
The potential consequences of CVE-2022-49929 include possible memory reference leaks which could lead to system instability.
When was CVE-2022-49929 reported?
CVE-2022-49929 was reported as a vulnerability in the Linux kernel in late 2022.