Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-50041

8.8 · HIGH
Published Oct 21, 2024 linux CWE-401 EPSS 0.23% (13th pctl)

Overview

CVE-2024-50041 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.15.54, < 5.15.168 Affected

Frequently Asked Questions

What is CVE-2024-50041?

CVE-2024-50041 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2024-50041 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.