Skip to contentSkip to conversation

CVE-2023-54133: nfp: clean mc addresses in application firmware when closing port

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 24, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

nfp: clean mc addresses in application firmware when closing port

When moving devices from one namespace to another, mc addresses are cleaned in software while not removed from application firmware. Thus the mc addresses are remained and will cause resource leak.

Now use __dev_mc_unsync to clean mc addresses when closing port.

The Linux kernel CVE team has assigned CVE-2023-54133 to this issue.

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

	Issue introduced in 6.2 with commit e20aa071cd955aabc15be0ec1e914283592ddef4 and fixed in 6.4.5 with commit c427221733d49fd1e1b79b4a86746acf3ef660e7
	Issue introduced in 6.2 with commit e20aa071cd955aabc15be0ec1e914283592ddef4 and fixed in 6.5 with commit cc7eab25b1cf3f9594fe61142d3523ce4d14a788

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-2023-54133

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/netronome/nfp/nfp_net_common.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/c427221733d49fd1e1b79b4a86746acf3ef660e7
	https://git.kernel.org/stable/c/cc7eab25b1cf3f9594fe61142d3523ce4d14a788