{"id":"CVE-2023-54040","revision":"01d74158afc745fba28eae188b557a2b","records":[{"revision":"01d74158afc745fba28eae188b557a2b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2023-54040","aliases":[],"title":"ice: fix wrong fallback logic for FDIR","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nice: fix wrong fallback logic for FDIR\n\nWhen adding a FDIR filter, if ice_vc_fdir_set_irq_ctx returns failure,\nthe inserted fdir entry will not be removed and if ice_vc_fdir_write_fltr\nreturns failure, the fdir context info for irq handler will not be cleared\nwhich may lead to inconsistent or memory leak issue. This patch refines\nfailure cases to resolve this issue.","state":0,"publishedAt":"2025-12-24T10:56:06.094+00:00","modifiedAt":"2026-10-15T21:41:38.132+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"1f7ea1cd6a3748427512ccc9582e18cd9efea966\",\n                            \"lessThan\": \"391d28c0e38c0e5b11a4240a2b4976cf63e87f45\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1f7ea1cd6a3748427512ccc9582e18cd9efea966\",\n                            \"lessThan\": \"aad3b871efe26f36f45f8b4649653b5d3fd9c35e\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1f7ea1cd6a3748427512ccc9582e18cd9efea966\",\n                            \"lessThan\": \"cbfed5f114b5310f221979fc8190f55c6abc3400\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1f7ea1cd6a3748427512ccc9582e18cd9efea966\",\n                            \"lessThan\": \"b4a01ace20f5c93c724abffc0a83ec84f514b98d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.107\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.24\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.2.11\",\n                            \"lessThanOrEqual\": \"6.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2023-54040","license":"CVE Program Terms of Use","key":"cve-program:CVE-2023-54040","identifiers":["CVE-2023-54040"]},"retained":false,"historicalAffected":[]}],"coverage":[]}