Menu

Star on GitHub · 3.2k

CVE-2024-46683

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: drm/xe: prevent UAF around preempt fence The fence lock is part of the queue, therefore in the current design anything locking…

Published Sep 13, 2024CWE-416EPSS 0.21%

Overview

CVE-2024-46683 is a high-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

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

drm/xe: prevent UAF around preempt fence

The fence lock is part of the queue, therefore in the current design

anything locking the fence should then also hold a ref to the queue to

prevent the queue from being freed.

However, currently it looks like we signal the fence and then drop the

queue ref, but if something is waiting on the fence, the waiter is

kicked to wake up at some later point, where upon waking up it first

grabs the lock before checking the fence state. But if we have already

dropped the queue ref, then the lock might already be freed as part of

the queue, leading to uaf.

To prevent this, move the fence lock into the fence itself so we don't

run into lifetime issues. Alternative might be to have device level

lock, or only release the queue in the fence release callback, however

that might require pushing to another worker to avoid locking issues.

References: https://gitlab.freedesktop.org/drm/xe/kern

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

CVE-2024-46683 is a high-severity vulnerability. It was published on September 13, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-46683?

This vulnerability has a CVSS 3.1 base score of 7.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-46683?

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

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