[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024102142-CVE-2022-48957-8250@gregkh>
Date: Mon, 21 Oct 2024 22:05:49 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-48957: dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
The cmd_buff needs to be freed when error happened in
dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove().
The Linux kernel CVE team has assigned CVE-2022-48957 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit 1110318d83e8 and fixed in 5.15.83 with commit 54d830e24247
Issue introduced in 5.13 with commit 1110318d83e8 and fixed in 6.0.13 with commit 785ee7a82297
Issue introduced in 5.13 with commit 1110318d83e8 and fixed in 6.1 with commit 4fad22a1281c
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-48957
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/freescale/dpaa2/dpaa2-switch-flower.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/54d830e24247fa8361b016dd2069362866f45cb6
https://git.kernel.org/stable/c/785ee7a82297e1512d9061aae91699212ed65796
https://git.kernel.org/stable/c/4fad22a1281c500f15b172c9d261eff347ca634b
Powered by blists - more mailing lists