Menu

Star on GitHub · 3.2k

CVE-2024-46698

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: video/aperture: optionally match the device in sysfb_disable() In aperture_remove_conflicting_pci_devices(), we currently only…

Published Sep 13, 2024CWE-476EPSS 0.19%

Overview

CVE-2024-46698 is a medium-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

video/aperture: optionally match the device in sysfb_disable()

In aperture_remove_conflicting_pci_devices(), we currently only

call sysfb_disable() on vga class devices. This leads to the

following problem when the pimary device is not VGA compatible:

1. A PCI device with a non-VGA class is the boot display

2. That device is probed first and it is not a VGA device so

sysfb_disable() is not called, but the device resources

are freed by aperture_detach_platform_device()

3. Non-primary GPU has a VGA class and it ends up calling sysfb_disable()

4. NULL pointer dereference via sysfb_disable() since the resources

have already been freed by aperture_detach_platform_device() when

it was called by the other device.

Fix this by passing a device pointer to sysfb_disable() and checking

the device to determine if we should execute it or not.

v2: Fix build when CONFIG_SCREEN_INFO is not set

v3: Move device check in

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

CVE-2024-46698 is a medium-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-46698?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-46698?

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

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

View all