[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050103-CVE-2022-49906-4d07@gregkh>
Date: Thu, 1 May 2025 16:11:36 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49906: ibmvnic: Free rwi on reset success
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ibmvnic: Free rwi on reset success
Free the rwi structure in the event that the last rwi in the list
processed successfully. The logic in commit 4f408e1fa6e1 ("ibmvnic:
retry reset if there are no other resets") introduces an issue that
results in a 32 byte memory leak whenever the last rwi in the list
gets processed.
The Linux kernel CVE team has assigned CVE-2022-49906 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 4f408e1fa6e10b6da72691233369172bac7d9e9b and fixed in 5.15.78 with commit 535b78739ae75f257c894a05b1afa86ad9a3669e
Issue introduced in 5.14 with commit 4f408e1fa6e10b6da72691233369172bac7d9e9b and fixed in 6.0.8 with commit c3543a287cfba9105dcc4bb41eb817f51266caaf
Issue introduced in 5.14 with commit 4f408e1fa6e10b6da72691233369172bac7d9e9b and fixed in 6.1 with commit d6dd2fe71153f0ff748bf188bd4af076fe09a0a6
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-49906
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/net/ethernet/ibm/ibmvnic.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/535b78739ae75f257c894a05b1afa86ad9a3669e
https://git.kernel.org/stable/c/c3543a287cfba9105dcc4bb41eb817f51266caaf
https://git.kernel.org/stable/c/d6dd2fe71153f0ff748bf188bd4af076fe09a0a6
Powered by blists - more mailing lists