[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122440-CVE-2023-54040-83dd@gregkh>
Date: Wed, 24 Dec 2025 11:57:24 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54040: ice: fix wrong fallback logic for FDIR
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ice: fix wrong fallback logic for FDIR
When adding a FDIR filter, if ice_vc_fdir_set_irq_ctx returns failure,
the inserted fdir entry will not be removed and if ice_vc_fdir_write_fltr
returns failure, the fdir context info for irq handler will not be cleared
which may lead to inconsistent or memory leak issue. This patch refines
failure cases to resolve this issue.
The Linux kernel CVE team has assigned CVE-2023-54040 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.13 with commit 1f7ea1cd6a3748427512ccc9582e18cd9efea966 and fixed in 5.15.107 with commit 391d28c0e38c0e5b11a4240a2b4976cf63e87f45
Issue introduced in 5.13 with commit 1f7ea1cd6a3748427512ccc9582e18cd9efea966 and fixed in 6.1.24 with commit aad3b871efe26f36f45f8b4649653b5d3fd9c35e
Issue introduced in 5.13 with commit 1f7ea1cd6a3748427512ccc9582e18cd9efea966 and fixed in 6.2.11 with commit cbfed5f114b5310f221979fc8190f55c6abc3400
Issue introduced in 5.13 with commit 1f7ea1cd6a3748427512ccc9582e18cd9efea966 and fixed in 6.3 with commit b4a01ace20f5c93c724abffc0a83ec84f514b98d
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-54040
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/intel/ice/ice_virtchnl_fdir.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/391d28c0e38c0e5b11a4240a2b4976cf63e87f45
https://git.kernel.org/stable/c/aad3b871efe26f36f45f8b4649653b5d3fd9c35e
https://git.kernel.org/stable/c/cbfed5f114b5310f221979fc8190f55c6abc3400
https://git.kernel.org/stable/c/b4a01ace20f5c93c724abffc0a83ec84f514b98d
Powered by blists - more mailing lists