{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53088","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-11-19T17:17:24.980Z","datePublished":"2024-11-19T17:45:16.169Z","dateUpdated":"2026-08-05T11:43:32.629Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:43:32.629Z"},"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The race is driven through local socket/netlink operations on the i40e interface (multicast join/leave via setsockopt, or rtnetlink VF MAC/port-VLAN changes) which manipulate the driver's MAC/VLAN filter hash. No remote peer data reaches the vulnerable code path.\nAC:L - The attacker controls both sides of the race — creating the I40E_FILTER_NEW filter, scheduling the sync via __I40E_MACVLAN_SYNC_PENDING, and issuing the free — and the window is milliseconds wide while i40e_sync_vsi_filters() waits on firmware admin-queue commands with mac_filter_hash_lock dropped. The loop can be retried indefinitely at no cost.\nPR:L - An entirely unprivileged local user can reach __i40e_del_filter() via IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP, which flows through ip_mc_filter_add/del → dev_mc_add/del → i40e_set_rx_mode → i40e_addr_sync/unsync with no capability check anywhere on the path. CAP_NET_ADMIN is not required, only a local account.\nUI:N - Exploitation is fully self-driven by the attacker's own socket operations against the i40e netdev; no action by any other user or administrator is needed.\nS:U - The use-after-free corrupts host kernel heap memory managed by the same security authority as the attacker's context, i.e. standard in-kernel memory corruption and privilege escalation.\nC:H - The freed i40e_mac_filter is dereferenced for macaddr and vlan, and those stale heap bytes are programmed into the NIC's hardware filter table, so reoccupied kernel heap contents leak into observable device state; per UAF scoring this supports arbitrary read leverage.\nI:H - The sync path writes new->f->state into the freed kmalloc-32 chunk (offset 24, potentially clobbering the SLUB freelist pointer) and corrupts netdev_hw_addr refcounts, giving a spray-and-write primitive usable for control-flow hijacking; the bug also leaves stale/leaked hardware MAC filters and forces promiscuous mode.\nA:H - Use-after-free on a heavily shared kmalloc-32 cache causes slab corruption, refcount corruption and kernel panics/oopses (immediate BUG under KASAN or hardened allocators), and the filter leak degrades the interface until reset."}]}],"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/i40e/i40e.h","drivers/net/ethernet/intel/i40e/i40e_debugfs.c","drivers/net/ethernet/intel/i40e/i40e_main.c"],"versions":[{"version":"278e7d0b9d6864a9749b9473a273892aa1528621","lessThan":"262dc6ea5f1eb18c4d08ad83d51222d0dd0dd42a","status":"affected","versionType":"git"},{"version":"278e7d0b9d6864a9749b9473a273892aa1528621","lessThan":"7ad3fb3bfd43feb4e15c81dffd23ac4e55742791","status":"affected","versionType":"git"},{"version":"278e7d0b9d6864a9749b9473a273892aa1528621","lessThan":"bf5f837d9fd27d32fb76df0a108babcaf4446ff1","status":"affected","versionType":"git"},{"version":"278e7d0b9d6864a9749b9473a273892aa1528621","lessThan":"6e046f4937474bc1b9fa980c1ad8f3253fc638f6","status":"affected","versionType":"git"},{"version":"278e7d0b9d6864a9749b9473a273892aa1528621","lessThan":"f30490e9695ef7da3d0899c6a0293cc7cd373567","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/i40e/i40e.h","drivers/net/ethernet/intel/i40e/i40e_debugfs.c","drivers/net/ethernet/intel/i40e/i40e_main.c"],"versions":[{"version":"4.10","status":"affected"},{"version":"0","lessThan":"4.10","status":"unaffected","versionType":"semver"},{"version":"5.15.172","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.117","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.61","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","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":"4.10","versionEndExcluding":"5.15.172"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.1.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.6.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.11.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"6.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/262dc6ea5f1eb18c4d08ad83d51222d0dd0dd42a"},{"url":"https://git.kernel.org/stable/c/7ad3fb3bfd43feb4e15c81dffd23ac4e55742791"},{"url":"https://git.kernel.org/stable/c/bf5f837d9fd27d32fb76df0a108babcaf4446ff1"},{"url":"https://git.kernel.org/stable/c/6e046f4937474bc1b9fa980c1ad8f3253fc638f6"},{"url":"https://git.kernel.org/stable/c/f30490e9695ef7da3d0899c6a0293cc7cd373567"}],"title":"i40e: fix race condition by adding filter's intermediate sync state","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4.7,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-53088","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:11:41.083931Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-362","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:17:14.117Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T22:29:06.753Z"}}]}}