CVE-2024-58091 Details
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.
A vulnerability in the Linux kernel's DRM FBDEV DMA handling has been addressed by introducing shadow buffering for deferred I/O. Previously, DMA areas were not always backed by a struct page, leading to potential NULL pointer dereferences or paging request issues. The vulnerability arose because deferred I/O could be used without a shadow buffer, causing driver errors. The patch separates the initial allocation of a DMA-backed buffer object from the setup of FBDEV data structures, ensuring that deferred I/O is now only possible with a shadow buffer, which can be reintroduced if a reliable test for a usable struct page in the DMA buffer object is developed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0d087de947babf7ed70029d042abcc6ed06ff415 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3603996432997f7c88da37a97062a46cda01ac9d | kernel.org | Patch |
| https://git.kernel.org/stable/c/cdc581169942de3b9e2648cfbd98c5ff9111c2c8 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.11, < 6.12.36 >= 6.13, < 6.13.6 6.14 rc1 6.14 rc2 6.14 rc3 6.14 rc4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 31, 2025 | Initial Analysis | [email protected] |
| Jul 6, 2025 | CVE Modified | kernel.org |
| Mar 27, 2025 | New CVE Received | kernel.org |