Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-50041

published high CVSS 3.1 · 8.8

i40e: Fix macvlan leak by synchronizing access to mac_filter_hash

Published
21 Oct 2024, 19:39:40 UTC
Updated
05 Aug 2026, 11:41:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxddec6cbbe22781d17965f1e6386e5a6363c058d2 to < 9db6ce9e2738b05a3672aff4d42169cf3bb5a3e3 · fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 9a9747288ba0a9ad4f5c9877f18dd245770ad64e · fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 703c4d820b31bcadf465288d5746c53445f02a55 · fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 8831abff1bd5b6bc8224f0c0671f46fbd702b5b2 · fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < dac6c7b3d33756d6ce09f00a96ea2ecd79fae9fb · 8bfcbaa379694e05290fcff21f4bd40afcf88776 · 5.15.54 to < 5.15.168 · 5.18.11 to < 5.19 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 5.15.168 through 5.15.* (unaffected · semver) · 6.1.113 through 6.1.* (unaffected · semver) · 6.6.57 through 6.6.* (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-rtx86_64 Advisory build 5.14.21-150500.13.76.1 SUSE-SU-2024:3985-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-rtx86_64 Advisory build 5.14.21-150500.13.76.1 SUSE-SU-2024:3985-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-rtx86_64 Advisory build 5.14.21-150500.13.76.1 SUSE-SU-2024:3985-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-azureaarch64 Advisory build 5.14.21-150500.33.72.1 SUSE-SU-2024:3983-1
SUSE / openSUSE SLE-15-SP5 kernel-azurex86_64 Advisory build 5.14.21-150500.33.72.1 SUSE-SU-2024:3983-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develaarch64 Advisory build 5.14.21-150500.33.72.1 SUSE-SU-2024:3983-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develx86_64 Advisory build 5.14.21-150500.33.72.1 SUSE-SU-2024:3983-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.88.1.150500.6.39.4 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-azurenoarch Advisory build 5.14.21-150500.33.72.1 SUSE-SU-2024:3983-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-rtnoarch Advisory build 5.14.21-150500.13.76.1 SUSE-SU-2024:3985-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.88.1 SUSE-SU-2024:4364-1
SUSE / openSUSE SLE-15-SP5 kernel-livepatch-5_14_21-150500_13_76-rtx86_64 Advisory build 1-150500.11.3.1 SUSE-SU-2024:3985-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: i40e: Fix macvlan leak by synchronizing access to mac_filter_hash This patch addresses a macvlan leak issue in the i40e driver caused by concurrent access to vsi->mac_filter_hash. The leak occurs when multiple threads attempt to modify the mac_filter_hash simultaneously, leading to inconsistent state and potential memory leaks. To fix this, we now wrap the calls to i40e_del_mac_filter() and zeroing vf->default_lan_addr.addr with spin_lock/unlock_bh(&vsi->mac_filter_hash_lock), ensuring atomic operations and preventing concurrent access. Additionally, we add lockdep_assert_held(&vsi->mac_filter_hash_lock) in i40e_add_mac_filter() to help catch similar issues in the future. Reproduction steps: 1. Spawn VFs and configure port vlan on them. 2. Trigger concurrent macvlan operations (e.g., adding and deleting portvlan and/or mac filters). 3. Observe the potential memory leak and inconsistent state in the mac_filter_hash. This synchronization ensures the integrity of the mac_filter_hash and prevents the described leak.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only through the i40e virtchnl mailbox from an assigned SR-IOV VF (PCIe transport) or from host-side netdev operations, not from network packets. This is logical local access to the device, so Local. AC:L - The attacker deterministically controls the unlocked side — `vf->driver_caps` is taken verbatim from the VF message so the gating condition is attacker-selected, and `VIRTCHNL_OP_GET_VF_RESOURCES` can be replayed without limit — while pre-populating MAC/VLAN filters lengthens the unlocked hash walk, which runs in preemptible workqueue context; on lockdep kernels the assertion fires with no race needed at all. PR:L - The attacker is the owner of an assigned VF — a guest VM tenant or a VFIO/DPDK userspace driver — holding no privilege on the host kernel beyond the granted device, and no host-side capability, root, or trusted-VF flag is required (the path runs before any privilege check and untrusted VFs reach it). UI:N - The guest drives the vulnerable path entirely on its own by writing virtchnl messages to its mailbox; no victim action is needed to enable the attack, and the deterministic lockdep-assert path requires nothing from anyone else. S:C - The virtchnl handler is the PF's service surface for a VF that belongs to a separate security authority (guest VM / VFIO container), and successful exploitation corrupts host kernel memory — a guest-to-host boundary crossing analogous to a hypervisor escape. C:H - Unsynchronized `hash_for_each_safe()` racing a concurrent `kfree()` in `i40e_sync_vsi_filters()` produces a use-after-free on a kmalloc-32 `struct i40e_mac_filter`, and corrupted hlist traversal follows attacker-groomable pointers into reallocated memory, enabling kernel heap disclosure. I:H - `__i40e_del_filter()` writes `f->state` into freed memory and `hash_del()` performs `*pprev = next` using pointers from a reallocated, attacker-sprayed 32-byte object — a write-what-where primitive; concurrent unlink from both sides also yields a double free. A:H - Concurrent unlocked hlist manipulation corrupts the filter hash, causing use-after-free, double free, and lost entries (the reported leak), any of which panic the host kernel; on `CONFIG_PROVE_LOCKING` builds a guest can also trigger the `lockdep_assert_held()` WARN on demand, which is fatal under `panic_on_warn`.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ddec6cbbe22781d17965f1e6386e5a6363c058d2 to < 9db6ce9e2738b05a3672aff4d42169cf3bb5a3e3 (affected · git)fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 9a9747288ba0a9ad4f5c9877f18dd245770ad64e (affected · git)fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 703c4d820b31bcadf465288d5746c53445f02a55 (affected · git)fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < 8831abff1bd5b6bc8224f0c0671f46fbd702b5b2 (affected · git)fed0d9f13266a22ce1fc9a97521ef9cdc6271a23 to < dac6c7b3d33756d6ce09f00a96ea2ecd79fae9fb (affected · git)8bfcbaa379694e05290fcff21f4bd40afcf88776 (affected · git)5.15.54 to < 5.15.168 (affected · semver)5.18.11 to < 5.19 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)5.15.168 through 5.15.* (unaffected · semver)6.1.113 through 6.1.* (unaffected · semver)6.6.57 through 6.6.* (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

i40e: Fix macvlan leak by synchronizing access to mac_filter_hash

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
4c06c56a70133dd1578bce3c54307006abf8bca12a87fcc63723b97f7dde688f
Ingested
23 Sep 2026, 08:29:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected