Skip to content
Heist/ feed
Back to feed
HighFix available

ice: fix wrong fallback logic for FDIR

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.107, 6.1.24, 6.2.11
CVEs
CVE-2023-54040
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:15 UTC · Revision 1

Source evidence

ice: fix wrong fallback logic for FDIR

core-osv · Original source

Published 24 Dec 2025, 10:56 UTC

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.

osv:CVE-2023-54040

Kernel

Fixed versions: 5.15.107, 6.1.24, 6.2.11

Complete source record
{
  "id": "f773571686c8163dcedda5d43b11a6521f66e584a80db43365947d542986ba89",
  "url": "https://osv.dev/vulnerability/CVE-2023-54040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ice: fix wrong fallback logic for FDIR",
    "summary": "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.",
    "evidence": "osv:CVE-2023-54040",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.107",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.24",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-54040",
      "aliases": [
        "CVE-2023-54040"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1f7ea1cd6a3748427512ccc9582e18cd9efea966"
                },
                {
                  "fixed": "391d28c0e38c0e5b11a4240a2b4976cf63e87f45"
                },
                {
                  "fixed": "aad3b871efe26f36f45f8b4649653b5d3fd9c35e"
                },
                {
                  "fixed": "cbfed5f114b5310f221979fc8190f55c6abc3400"
                },
                {
                  "fixed": "b4a01ace20f5c93c724abffc0a83ec84f514b98d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54040.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.13.0"
                },
                {
                  "fixed": "5.15.107"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.24"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54040.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.865540916Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/391d28c0e38c0e5b11a4240a2b4976cf63e87f45",
        "https://git.kernel.org/stable/c/aad3b871efe26f36f45f8b4649653b5d3fd9c35e",
        "https://git.kernel.org/stable/c/b4a01ace20f5c93c724abffc0a83ec84f514b98d",
        "https://git.kernel.org/stable/c/cbfed5f114b5310f221979fc8190f55c6abc3400",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54040.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54040",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54040.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54040",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510206,
  "published_at": "2025-12-24T10:56:06.094+00:00"
}