# CVE-2024-41094: drm/fbdev-dma: Only set smem\_start is enable per module option

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **Published:** 2024-07-29T15:48:07.508Z
- **Modified:** 2026-06-17T07:47:16.337Z

## Who should check

- Anyone running Linux \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< f29fcfbf6067c0d8c83f84a045da9276c08deac5; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< 00702cfa8432ac67a72f56de5e1d278ddea2ebde; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< d92a7580392ad4681b1d4f9275d00b95375ebe01
- Anyone running Linux 6.4

## Description

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

drm/fbdev-dma: Only set smem\_start is enable per module option

Only export struct fb\_info.fix.smem\_start if that is required by the
user and the memory does not come from vmalloc().

Setting struct fb\_info.fix.smem\_start breaks systems where DMA
memory is backed by vmalloc address space. An example error is
shown below.

\[    3.536043\] ------------\[ cut here \]------------
\[    3.540716\] virt\_to\_phys used for non-linear address: 000000007fc4f540 (0xffff800086001000)
\[    3.552628\] WARNING: CPU: 4 PID: 61 at arch/arm64/mm/physaddr.c:12 \_\_virt\_to\_phys+0x68/0x98
\[    3.565455\] Modules linked in:
\[    3.568525\] CPU: 4 PID: 61 Comm: kworker/u12:5 Not tainted 6.6.23-06226-g4986cc3e1b75-dirty \#250
\[    3.577310\] Hardware name: NXP i.MX95 19X19 board (DT)
\[    3.582452\] Workqueue: events\_unbound deferred\_probe\_work\_func
\[    3.588291\] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[    3.595233\] pc : \_\_virt\_to\_phys+0x68/0x98
\[    3.599246\] lr : \_\_virt\_to\_phys+0x68/0x98
\[    3.603276\] sp : ffff800083603990
\[    3.677939\] Call trace:
\[    3.680393\]  \_\_virt\_to\_phys+0x68/0x98
\[    3.684067\]  drm\_fbdev\_dma\_helper\_fb\_probe+0x138/0x238
\[    3.689214\]  \_\_drm\_fb\_helper\_initial\_config\_and\_unlock+0x2b0/0x4c0
\[    3.695385\]  drm\_fb\_helper\_initial\_config+0x4c/0x68
\[    3.700264\]  drm\_fbdev\_dma\_client\_hotplug+0x8c/0xe0
\[    3.705161\]  drm\_client\_register+0x60/0xb0
\[    3.709269\]  drm\_fbdev\_dma\_setup+0x94/0x148

Additionally, DMA memory is assumed to by contiguous in physical
address space, which is not guaranteed by vmalloc().

Resolve this by checking the module flag drm\_leak\_fbdev\_smem when
DRM allocated the instance of struct fb\_info. Fbdev-dma then only
sets smem\_start only if required (via FBINFO\_HIDE\_SMEM\_START). Also
guarantee that the framebuffer is not located in vmalloc address
space.

## Affected and fixed versions

- Linux: \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< f29fcfbf6067c0d8c83f84a045da9276c08deac5; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< 00702cfa8432ac67a72f56de5e1d278ddea2ebde; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< d92a7580392ad4681b1d4f9275d00b95375ebe01 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41094. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41094.md
Affected: Linux >= a51c7663f144606a5f08e772fa3e1e4f2277a614, < f29fcfbf6067c0d8c83f84a045da9276c08deac5; >= a51c7663f144606a5f08e772fa3e1e4f2277a614, < 00702cfa8432ac67a72f56de5e1d278ddea2ebde; >= a51c7663f144606a5f08e772fa3e1e4f2277a614, < d92a7580392ad4681b1d4f9275d00b95375ebe01; Linux 6.4
Fixed in: Linux 00702cfa8432ac67a72f56de5e1d278ddea2ebde

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41094 being exploited?

There is no confirmed exploitation: CVE-2024-41094 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41094?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-41094?

Linux \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< f29fcfbf6067c0d8c83f84a045da9276c08deac5; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< 00702cfa8432ac67a72f56de5e1d278ddea2ebde; \>= a51c7663f144606a5f08e772fa3e1e4f2277a614, \< d92a7580392ad4681b1d4f9275d00b95375ebe01; Linux 6.4.

### Is there a fix for CVE-2024-41094?

Yes. Fixed in Linux 00702cfa8432ac67a72f56de5e1d278ddea2ebde. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-41094?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/f29fcfbf6067c0d8c83f84a045da9276c08deac5>
- patch: <https://git.kernel.org/stable/c/00702cfa8432ac67a72f56de5e1d278ddea2ebde>
- patch: <https://git.kernel.org/stable/c/d92a7580392ad4681b1d4f9275d00b95375ebe01>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41094>

HTML: <https://flawdb.com/CVE-2024-41094> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41094>
