CVE-2024-58091CWE-476

CVE-2024-58091

High · published March 27, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
11.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

drm/fbdev-dma: Add shadow buffering for deferred I/O

DMA areas are not necessarily backed by struct page, so we cannot

rely on it for deferred I/O. Allocate a shadow buffer for drivers

that require deferred I/O and use it as framebuffer memory.

Fixes driver errors about being "Unable to handle kernel NULL pointer

dereference at virtual address" or "Unable to handle kernel paging

request at virtual address".

The patch splits drm_fbdev_dma_driver_fbdev_probe() in an initial

allocation, which creates the DMA-backed buffer object, and a tail

that sets up the fbdev data structures. There is a tail function for

direct memory mappings and a tail function for deferred I/O with

the shadow buffer.

It is no longer possible to use deferred I/O without shadow buffer.

It can be re-added if there exists a reliably test for usable struct

page in the allocated DMA-backed buffer object.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.2th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-03-27T19:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 6.11, < 6.12.366.12.36
linux/linux_kernel≥ 6.13, < 6.13.66.13.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 27 MAR 14:57Z
    drm/fbdev-dma: Add shadow buffering for deferred I/O
    cvelistv5