# CVE-2024-50037: drm/fbdev-dma: Only cleanup deferred I/O if necessary

> 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.26% (percentile 11, 2026-11-26)
- **Published:** 2024-10-21T19:39:37.787Z
- **Modified:** 2026-06-17T08:03:25.903Z

## Who should check

- Anyone running Linux \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d; \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< fcddc71ec7ecf15b4df3c41288c9cf0b8e886111
- Anyone running Linux 6.11

## Description

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

drm/fbdev-dma: Only cleanup deferred I/O if necessary

Commit 5a498d4d06d6 ("drm/fbdev-dma: Only install deferred I/O if
necessary") initializes deferred I/O only if it is used.
drm\_fbdev\_dma\_fb\_destroy() however calls fb\_deferred\_io\_cleanup()
unconditionally with struct fb\_info.fbdefio == NULL. KASAN with the
out-of-tree Apple silicon display driver posts following warning from
\_\_flush\_work() of a random struct work\_struct instead of the expected
NULL pointer derefs.

\[   22.053799\] ------------\[ cut here \]------------
\[   22.054832\] WARNING: CPU: 2 PID: 1 at kernel/workqueue.c:4177 \_\_flush\_work+0x4d8/0x580
\[   22.056597\] Modules linked in: uhid bnep uinput nls\_ascii ip6\_tables ip\_tables i2c\_dev loop fuse dm\_multipath nfnetlink zram hid\_magicmouse btrfs xor xor\_neon brcmfmac\_wcc raid6\_pq hci\_bcm4377 bluetooth brcmfmac hid\_apple brcmutil nvmem\_spmi\_mfd simple\_mfd\_spmi dockchannel\_hid cfg80211 joydev regmap\_spmi nvme\_apple ecdh\_generic ecc macsmc\_hid rfkill dwc3 appledrm snd\_soc\_macaudio macsmc\_power nvme\_core apple\_isp phy\_apple\_atc apple\_sart apple\_rtkit\_helper apple\_dockchannel tps6598x macsmc\_hwmon snd\_soc\_cs42l84 videobuf2\_v4l2 spmi\_apple\_controller nvmem\_apple\_efuses videobuf2\_dma\_sg apple\_z2 videobuf2\_memops spi\_nor panel\_summit videobuf2\_common asahi videodev pwm\_apple apple\_dcp snd\_soc\_apple\_mca apple\_admac spi\_apple clk\_apple\_nco i2c\_pasemi\_platform snd\_pcm\_dmaengine mc i2c\_pasemi\_core mux\_core ofpart adpdrm drm\_dma\_helper apple\_dart apple\_soc\_cpufreq leds\_pwm phram
\[   22.073768\] CPU: 2 UID: 0 PID: 1 Comm: systemd-shutdow Not tainted 6.11.2-asahi+ \#asahi-dev
\[   22.075612\] Hardware name: Apple MacBook Pro (13-inch, M2, 2022) (DT)
\[   22.077032\] pstate: 01400005 (nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
\[   22.078567\] pc : \_\_flush\_work+0x4d8/0x580
\[   22.079471\] lr : \_\_flush\_work+0x54/0x580
\[   22.080345\] sp : ffffc000836ef820
\[   22.081089\] x29: ffffc000836ef880 x28: 0000000000000000 x27: ffff80002ddb7128
\[   22.082678\] x26: dfffc00000000000 x25: 1ffff000096f0c57 x24: ffffc00082d3e358
\[   22.084263\] x23: ffff80004b7862b8 x22: dfffc00000000000 x21: ffff80005aa1d470
\[   22.085855\] x20: ffff80004b786000 x19: ffff80004b7862a0 x18: 0000000000000000
\[   22.087439\] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000005
\[   22.089030\] x14: 1ffff800106ddf0a x13: 0000000000000000 x12: 0000000000000000
\[   22.090618\] x11: ffffb800106ddf0f x10: dfffc00000000000 x9 : 1ffff800106ddf0e
\[   22.092206\] x8 : 0000000000000000 x7 : aaaaaaaaaaaaaaaa x6 : 0000000000000001
\[   22.093790\] x5 : ffffc000836ef728 x4 : 0000000000000000 x3 : 0000000000000020
\[   22.095368\] x2 : 0000000000000008 x1 : 00000000000000aa x0 : 0000000000000000
\[   22.096955\] Call trace:
\[   22.097505\]  \_\_flush\_work+0x4d8/0x580
\[   22.098330\]  flush\_delayed\_work+0x80/0xb8
\[   22.099231\]  fb\_deferred\_io\_cleanup+0x3c/0x130
\[   22.100217\]  drm\_fbdev\_dma\_fb\_destroy+0x6c/0xe0 \[drm\_dma\_helper\]
\[   22.101559\]  unregister\_framebuffer+0x210/0x2f0
\[   22.102575\]  drm\_fb\_helper\_unregister\_info+0x48/0x60
\[   22.103683\]  drm\_fbdev\_dma\_client\_unregister+0x4c/0x80 \[drm\_dma\_helper\]
\[   22.105147\]  drm\_client\_dev\_unregister+0x1cc/0x230
\[   22.106217\]  drm\_dev\_unregister+0x58/0x570
\[   22.107125\]  apple\_drm\_unbind+0x50/0x98 \[appledrm\]
\[   22.108199\]  component\_del+0x1f8/0x3a8
\[   22.109042\]  dcp\_platform\_shutdown+0x24/0x38 \[apple\_dcp\]
\[   22.110357\]  platform\_shutdown+0x70/0x90
\[   22.111219\]  device\_shutdown+0x368/0x4d8
\[   22.112095\]  kernel\_restart+0x6c/0x1d0
\[   22.112946\]  \_\_arm64\_sys\_reboot+0x1c8/0x328
\[   22.113868\]  invoke\_syscall+0x78/0x1a8
\[   22.114703\]  do\_el0\_svc+0x124/0x1a0
\[   22.115498\]  el0\_svc+0x3c/0xe0
\[   22.116181\]  el0t\_64\_sync\_handler+0x70/0xc0
\[   22.117110\]  el0t\_64\_sync+0x190/0x198
\[   22.117931\] ---\[ end trace 0000000000000000 \]---

## Affected and fixed versions

- Linux: \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d; \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< fcddc71ec7ecf15b4df3c41288c9cf0b8e886111 (cvelist)
- Linux: 6.11 (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-50037. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50037.md
Affected: Linux >= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, < 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d; >= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, < fcddc71ec7ecf15b4df3c41288c9cf0b8e886111; Linux 6.11
Fixed in: Linux 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d

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-50037 being exploited?

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

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

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

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

Linux \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d; \>= 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f, \< fcddc71ec7ecf15b4df3c41288c9cf0b8e886111; Linux 6.11.

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

Yes. Fixed in Linux 5a4a8ea14c54c651ec532a480bd560d0c6e52f3d. No fix listed yet: follow the vendor advisory.

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

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/5a4a8ea14c54c651ec532a480bd560d0c6e52f3d>
- patch: <https://git.kernel.org/stable/c/fcddc71ec7ecf15b4df3c41288c9cf0b8e886111>

## 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-50037>

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