[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123016-CVE-2022-50822-2187@gregkh>
Date: Tue, 30 Dec 2025 13:09:26 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50822: RDMA/restrack: Release MR restrack when delete
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
RDMA/restrack: Release MR restrack when delete
The MR restrack also needs to be released when delete it, otherwise it
cause memory leak as the task struct won't be released.
The Linux kernel CVE team has assigned CVE-2022-50822 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.10 with commit 13ef5539def732dc7b9c58c320d97a0a95b52634 and fixed in 5.15.86 with commit 13586753ae55146269a6dc8b216f17d86b81560c
Issue introduced in 5.10 with commit 13ef5539def732dc7b9c58c320d97a0a95b52634 and fixed in 6.0.16 with commit 37c90753079fc95d93cc31b79796dd2ae57ad018
Issue introduced in 5.10 with commit 13ef5539def732dc7b9c58c320d97a0a95b52634 and fixed in 6.1.2 with commit 8731cb5c7820bef577bab4ff17691fbf61c671cb
Issue introduced in 5.10 with commit 13ef5539def732dc7b9c58c320d97a0a95b52634 and fixed in 6.2 with commit dac153f2802db1ad46207283cb9b2aae3d707a45
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50822
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/infiniband/core/restrack.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/13586753ae55146269a6dc8b216f17d86b81560c
https://git.kernel.org/stable/c/37c90753079fc95d93cc31b79796dd2ae57ad018
https://git.kernel.org/stable/c/8731cb5c7820bef577bab4ff17691fbf61c671cb
https://git.kernel.org/stable/c/dac153f2802db1ad46207283cb9b2aae3d707a45
Powered by blists - more mailing lists