lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123023-CVE-2022-50877-6a05@gregkh>
Date: Tue, 30 Dec 2025 13:23: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-50877: net: broadcom: bcm4908_enet: update TX stats after actual transmission

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net: broadcom: bcm4908_enet: update TX stats after actual transmission

Queueing packets doesn't guarantee their transmission. Update TX stats
after hardware confirms consuming submitted data.

This also fixes a possible race and NULL dereference.
bcm4908_enet_start_xmit() could try to access skb after freeing it in
the bcm4908_enet_poll_tx().

The Linux kernel CVE team has assigned CVE-2022-50877 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.12 with commit 4feffeadbcb2e5b11cbbf191a33c245b74a5837b and fixed in 5.15.77 with commit c9589e18a60c55c76772a38117ef9a16b942e56b
	Issue introduced in 5.12 with commit 4feffeadbcb2e5b11cbbf191a33c245b74a5837b and fixed in 6.0.7 with commit 2adedc80faec243ede55355e57142110d6f46e08
	Issue introduced in 5.12 with commit 4feffeadbcb2e5b11cbbf191a33c245b74a5837b and fixed in 6.1 with commit ef3556ee16c68735ec69bd08df41d1cd83b14ad3

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-50877
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/bcm4908_enet.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/c9589e18a60c55c76772a38117ef9a16b942e56b
	https://git.kernel.org/stable/c/2adedc80faec243ede55355e57142110d6f46e08
	https://git.kernel.org/stable/c/ef3556ee16c68735ec69bd08df41d1cd83b14ad3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ