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-50042

7.1 · HIGH
Published Oct 21, 2024 linux CWE-125 EPSS 0.21% (11th pctl)

Overview

CVE-2024-50042 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 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, 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:

ice: Fix increasing MSI-X on VF

Increasing MSI-X value on a VF leads to invalid memory operations. This

is caused by not reallocating some arrays.

Reproducer:

modprobe ice

echo 0 > /sys/bus/pci/devices/$PF_PCI/sriov_drivers_autoprobe

echo 1 > /sys/bus/pci/devices/$PF_PCI/sriov_numvfs

echo 17 > /sys/bus/pci/devices/$VF0_PCI/sriov_vf_msix_count

Default MSI-X is 16, so 17 and above triggers this issue.

KASAN reports:

BUG: KASAN: slab-out-of-bounds in ice_vsi_alloc_ring_stats+0x38d/0x4b0 [ice]

Read of size 8 at addr ffff8888b937d180 by task bash/28433

(...)

Call Trace:

(...)

? ice_vsi_alloc_ring_stats+0x38d/0x4b0 [ice]

kasan_report+0xed/0x120

? ice_vsi_alloc_ring_stats+0x38d/0x4b0 [ice]

ice_vsi_alloc_ring_stats+0x38d/0x4b0 [ice]

ice_vsi_cfg_def+0x3360/0x4770 [ice]

? mutex_unlock+0x83/0xd0

? __pfx_ice_vsi_cfg_def+0x10/0x10 [ice]

? __pfx_ice_remove_vsi_lkup_fltr+0x10/0x10 [ic

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 >= 6.7.10, < 6.8 Affected

Frequently Asked Questions

What is CVE-2024-50042?

CVE-2024-50042 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 7.1 (HIGH).

How severe is CVE-2024-50042?

This vulnerability has a CVSS 3.1 base score of 7.1, 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-50042?

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-50042?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-50042 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.