# CVE-2024-58091: drm/fbdev-dma: Add shadow buffering for deferred I/O

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-03-27T14:57:03.560Z
- Modified: 2026-08-05T11:47:40.556Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 5ab91447aa13b8b98bc11f5326f33500b0ee2c48 before 0d087de947babf7ed70029d042abcc6ed06ff415; from 5ab91447aa13b8b98bc11f5326f33500b0ee2c48 before cdc581169942de3b9e2648cfbd98c5ff9111c2c8; from 5ab91447aa13b8b98bc11f5326f33500b0ee2c48 before 3603996432997f7c88da37a97062a46cda01ac9d; 6.11 (not affected: before 6.11; from 6.12.36 up to 6.12.*; from 6.13.6 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.11 before 6.12.36; from 6.13 before 6.13.6; 6.14

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/0d087de947babf7ed70029d042abcc6ed06ff415> (patch)
- <https://git.kernel.org/stable/c/cdc581169942de3b9e2648cfbd98c5ff9111c2c8> (patch)
- <https://git.kernel.org/stable/c/3603996432997f7c88da37a97062a46cda01ac9d> (patch)

## Sources

- CVE List: [CVE-2024-58091](https://www.cve.org/CVERecord?id=CVE-2024-58091), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-58091](https://nvd.nist.gov/vuln/detail/CVE-2024-58091), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-58091 · Whole record: https://cve.day/CVE-2024-58091.json · Rebuilt by cve.day 2026-11-25T22:58:52.450Z
