# CVE-2023-54040: ice: fix wrong fallback logic for FDIR

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-12-24T10:56:06.094Z
- Modified: 2026-10-15T22:17:51.080Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1f7ea1cd6a3748427512ccc9582e18cd9efea966 before 391d28c0e38c0e5b11a4240a2b4976cf63e87f45; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966 before aad3b871efe26f36f45f8b4649653b5d3fd9c35e; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966 before cbfed5f114b5310f221979fc8190f55c6abc3400; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966 before b4a01ace20f5c93c724abffc0a83ec84f514b98d; 5.13 (not affected: before 5.13; from 5.15.107 up to 5.15.*; from 6.1.24 up to 6.1.*; from 6.2.11 up to 6.2.*; from 6.3 up to *)

## References

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

## Sources

- CVE List: [CVE-2023-54040](https://www.cve.org/CVERecord?id=CVE-2023-54040), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-54040](https://nvd.nist.gov/vuln/detail/CVE-2023-54040), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-54040 · Whole record: https://cve.day/CVE-2023-54040.json · Rebuilt by cve.day 2026-11-25T22:58:35.151Z
