{"id":"CVE-2024-53088","published":"2024-11-19T17:45:16Z","modified":"2026-08-05T11:43:32Z","title":"i40e: fix race condition by adding filter's intermediate sync state","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni40e: fix race condition by adding filter's intermediate sync state\n\nFix a race condition in the i40e driver that leads to MAC/VLAN filters\nbecoming corrupted and leaking. Address the issue that occurs under\nheavy load when multiple threads are concurrently modifying MAC/VLAN\nfilters by setting mac and port VLAN.\n\n1. Thread T0 allocates a filter in i40e_add_filter() within\n        i40e_ndo_set_vf_port_vlan().\n2. Thread T1 concurrently frees the filter in __i40e_del_filter() within\n        i40e_ndo_set_vf_mac().\n3. Subsequently, i40e_service_task() calls i40e_sync_vsi_filters(), which\n        refers to the already freed filter memory, causing corruption.\n\nReproduction steps:\n1. Spawn multiple VFs.\n2. Apply a concurrent heavy load by running parallel operations to change\n        MAC addresses on the VFs and change port VLANs on the host.\n3. Observe errors in dmesg:\n\"Error I40E_AQ_RC_ENOSPC adding RX filters on VF XX,\n\tplease set promiscuous on manually for VF XX\".\n\nExact code for stable reproduction Intel can't open-source now.\n\nThe fix involves implementing a new intermediate filter state,\nI40E_FILTER_NEW_SYNC, for the time when a filter is on a tmp_add_list.\nThese filters cannot be deleted from the hash list directly but\nmust be removed using the full process.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00237,"percentile":0.08899,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/262dc6ea5f1eb18c4d08ad83d51222d0dd0dd42a","tags":[]},{"url":"https://git.kernel.org/stable/c/7ad3fb3bfd43feb4e15c81dffd23ac4e55742791","tags":[]},{"url":"https://git.kernel.org/stable/c/bf5f837d9fd27d32fb76df0a108babcaf4446ff1","tags":[]},{"url":"https://git.kernel.org/stable/c/6e046f4937474bc1b9fa980c1ad8f3253fc638f6","tags":[]},{"url":"https://git.kernel.org/stable/c/f30490e9695ef7da3d0899c6a0293cc7cd373567","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.78},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 278e7d0b9d6864a9749b9473a273892aa1528621, < 262dc6ea5f1eb18c4d08ad83d51222d0dd0dd42a",">= 278e7d0b9d6864a9749b9473a273892aa1528621, < 7ad3fb3bfd43feb4e15c81dffd23ac4e55742791",">= 278e7d0b9d6864a9749b9473a273892aa1528621, < bf5f837d9fd27d32fb76df0a108babcaf4446ff1",">= 278e7d0b9d6864a9749b9473a273892aa1528621, < 6e046f4937474bc1b9fa980c1ad8f3253fc638f6",">= 278e7d0b9d6864a9749b9473a273892aa1528621, < f30490e9695ef7da3d0899c6a0293cc7cd373567"]},{"vendor":"Linux","product":"Linux","versions":["4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:11:41.083931Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-50504","exploited":false,"provenance":"source"}}