CVE-2024-46896

Medium

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: don't access invalid sched Since 2320c9e6a768 ("drm/sched: memset() 'job' in drm_sched_job_init()") accessing job->base.sched can produce unexpected results as the initialisation of (*job)->base.sched done in amdgpu_job_alloc is overwritten by the memset. This commit fixes an issue when a CS would fail validation and would be rejected after job->num_ibs is incremented. In this case, amdgpu_ib_free(ring->adev, ...) will be called, which would crash the machine because the ring value is bogus. To fix this, pass a NULL pointer to amdgpu_ib_free(): we can do this because the device is actually not used in this function. The next commit will remove the ring argument completely. (cherry picked from commit 2ae520cb12831d264ceb97c61f72c59d33c0dbd7)

Package Linux Kernel
Published 2025-01-11
Last modified 2025-11-03
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-476

CVE-2024-46896 is a NULL Pointer Dereference vulnerability

What is NULL Pointer Dereference?

The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE

Affected versions

Linux kernel versions 6.1.120, 6.6.66, 6.12.5 and later are affected. Fixed in 6.1.122, 6.6.68, 6.12.7 and their respective stable series.

Affected from
≥ 6.1.120 ≥ 6.6.66 ≥ 6.12.5
Fixed in
✓ 6.1.122 6.1.x ✓ 6.6.68 6.6.x ✓ 6.12.7 6.12.x

Frequently asked questions

  • What is CVE-2024-46896?

    CVE-2024-46896 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 6.1.120 onward and has been patched in 6.1.122, 6.6.68 and 6.12.7. CVE-2024-46896 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-46896?

    CVE-2024-46896 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-46896?

    Yes. CVE-2024-46896 has been patched. Fixed versions include 6.1.122, 6.6.68 and 6.12.7. If you are running Linux kernel 6.1.120 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-46896 actively exploited?

    No. CVE-2024-46896 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.