Menu

Star on GitHub · 3.2k

CVE-2024-50042

7.1 · HIGH

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.

Published Oct 21, 2024CWE-125EPSS 0.21%

Overview

CVE-2024-50042 is a high-severity vulnerability. 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, 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-50042?

CVE-2024-50042 is a high-severity vulnerability. 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, 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-50042?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-50042 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