CVE-2023-54040

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux1f7ea1cd6a3748427512ccc9582e18cd9efea966 < 391d28c0e38c0e5b11a4240a2b4976cf63e87f45affected
LinuxLinux1f7ea1cd6a3748427512ccc9582e18cd9efea966 < aad3b871efe26f36f45f8b4649653b5d3fd9c35eaffected
LinuxLinux1f7ea1cd6a3748427512ccc9582e18cd9efea966 < cbfed5f114b5310f221979fc8190f55c6abc3400affected
LinuxLinux1f7ea1cd6a3748427512ccc9582e18cd9efea966 < b4a01ace20f5c93c724abffc0a83ec84f514b98daffected
LinuxLinux5.13affected
LinuxLinux0 < 5.13unaffected
LinuxLinux5.15.107 <= 5.15.*unaffected
LinuxLinux6.1.24 <= 6.1.*unaffected
LinuxLinux6.2.11 <= 6.2.*unaffected
LinuxLinux6.3 <= *unaffected

Weaknesses

References