[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024110749-CVE-2024-50171-38cb@gregkh>
Date: Thu, 7 Nov 2024 10:35:11 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-50171: net: systemport: fix potential memory leak in bcm_sysport_xmit()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: systemport: fix potential memory leak in bcm_sysport_xmit()
The bcm_sysport_xmit() returns NETDEV_TX_OK without freeing skb
in case of dma_map_single() fails, add dev_kfree_skb() to fix it.
The Linux kernel CVE team has assigned CVE-2024-50171 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.16 with commit 80105befdb4b and fixed in 5.15.170 with commit 5febfc545389
Issue introduced in 3.16 with commit 80105befdb4b and fixed in 6.1.115 with commit 533d2f30aef2
Issue introduced in 3.16 with commit 80105befdb4b and fixed in 6.6.59 with commit 4b70478b984a
Issue introduced in 3.16 with commit 80105befdb4b and fixed in 6.11.6 with commit 7d5030a819c3
Issue introduced in 3.16 with commit 80105befdb4b and fixed in 6.12-rc4 with commit c401ed1c7099
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-2024-50171
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/broadcom/bcmsysport.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/5febfc545389805ce83d37f9f4317055b26dd7d7
https://git.kernel.org/stable/c/533d2f30aef272dade17870a509521c3afc38a03
https://git.kernel.org/stable/c/4b70478b984af3c9d0279c121df5ff94e2533dbd
https://git.kernel.org/stable/c/7d5030a819c3589cf9948b1eee397b626ec590f5
https://git.kernel.org/stable/c/c401ed1c709948e57945485088413e1bb5e94bd1
Powered by blists - more mailing lists