{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54040","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-12-24T10:53:46.181Z","datePublished":"2025-12-24T10:56:06.094Z","dateUpdated":"2026-05-11T19:54:15.940Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T19:54:15.940Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c"],"versions":[{"version":"1f7ea1cd6a3748427512ccc9582e18cd9efea966","lessThan":"391d28c0e38c0e5b11a4240a2b4976cf63e87f45","status":"affected","versionType":"git"},{"version":"1f7ea1cd6a3748427512ccc9582e18cd9efea966","lessThan":"aad3b871efe26f36f45f8b4649653b5d3fd9c35e","status":"affected","versionType":"git"},{"version":"1f7ea1cd6a3748427512ccc9582e18cd9efea966","lessThan":"cbfed5f114b5310f221979fc8190f55c6abc3400","status":"affected","versionType":"git"},{"version":"1f7ea1cd6a3748427512ccc9582e18cd9efea966","lessThan":"b4a01ace20f5c93c724abffc0a83ec84f514b98d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c"],"versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.107","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.24","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.11","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.107"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/391d28c0e38c0e5b11a4240a2b4976cf63e87f45"},{"url":"https://git.kernel.org/stable/c/aad3b871efe26f36f45f8b4649653b5d3fd9c35e"},{"url":"https://git.kernel.org/stable/c/cbfed5f114b5310f221979fc8190f55c6abc3400"},{"url":"https://git.kernel.org/stable/c/b4a01ace20f5c93c724abffc0a83ec84f514b98d"}],"title":"ice: fix wrong fallback logic for FDIR","x_generator":{"engine":"bippy-1.2.0"}}}}