Menu

Star on GitHub · 3.2k

CVE-2024-50041

8.8 · HIGH

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…

Published Oct 21, 2024CWE-401EPSS 0.23%

Overview

CVE-2024-50041 is a high-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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_ha

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-50041?

CVE-2024-50041 is a high-severity vulnerability. It was published on October 21, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-50041?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-50041?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50041?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50041 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all