# CVE-2024-26941: drm/dp: Fix divide-by-zero regression on DP MST unplug with nouveau

> 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.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-369
- **Published:** 2024-05-01T05:17:52.810Z
- **Modified:** 2026-06-17T07:18:44.883Z

## Who should check

- Anyone running Linux \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 828862071a6ca0c52655e6e62ac7abfef3e5c578; \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 9cbd1dae842737bfafa4b10a87909fa209dde250
- Anyone running Linux 6.8

## Description

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

drm/dp: Fix divide-by-zero regression on DP MST unplug with nouveau

Fix a regression when using nouveau and unplugging a StarTech MSTDP122DP
DisplayPort 1.2 MST hub (the same regression does not appear when using
a Cable Matters DisplayPort 1.4 MST hub). Trace:

 divide error: 0000 \[\#1\] PREEMPT SMP PTI
 CPU: 7 PID: 2962 Comm: Xorg Not tainted 6.8.0-rc3+ \#744
 Hardware name: Razer Blade/DANA\_MB, BIOS 01.01 08/31/2018
 RIP: 0010:drm\_dp\_bw\_overhead+0xb4/0x110 \[drm\_display\_helper\]
 Code: c6 b8 01 00 00 00 75 61 01 c6 41 0f af f3 41 0f af f1 c1 e1 04 48 63 c7 31 d2 89 ff 48 8b 5d f8 c9 48 0f af f1 48 8d 44 06 ff \<48\> f7 f7 31 d2 31 c9 31 f6 31 ff 45 31 c0 45 31 c9 45 31 d2 45 31
 RSP: 0018:ffffb2c5c211fa30 EFLAGS: 00010206
 RAX: ffffffffffffffff RBX: 0000000000000000 RCX: 0000000000f59b00
 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
 RBP: ffffb2c5c211fa48 R08: 0000000000000001 R09: 0000000000000020
 R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000023b4a
 R13: ffff91d37d165800 R14: ffff91d36fac6d80 R15: ffff91d34a764010
 FS:  00007f4a1ca3fa80(0000) GS:ffff91d6edbc0000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000559491d49000 CR3: 000000011d180002 CR4: 00000000003706f0
 Call Trace:
  \<TASK\>
  ? show\_regs+0x6d/0x80
  ? die+0x37/0xa0
  ? do\_trap+0xd4/0xf0
  ? do\_error\_trap+0x71/0xb0
  ? drm\_dp\_bw\_overhead+0xb4/0x110 \[drm\_display\_helper\]
  ? exc\_divide\_error+0x3a/0x70
  ? drm\_dp\_bw\_overhead+0xb4/0x110 \[drm\_display\_helper\]
  ? asm\_exc\_divide\_error+0x1b/0x20
  ? drm\_dp\_bw\_overhead+0xb4/0x110 \[drm\_display\_helper\]
  ? drm\_dp\_calc\_pbn\_mode+0x2e/0x70 \[drm\_display\_helper\]
  nv50\_msto\_atomic\_check+0xda/0x120 \[nouveau\]
  drm\_atomic\_helper\_check\_modeset+0xa87/0xdf0 \[drm\_kms\_helper\]
  drm\_atomic\_helper\_check+0x19/0xa0 \[drm\_kms\_helper\]
  nv50\_disp\_atomic\_check+0x13f/0x2f0 \[nouveau\]
  drm\_atomic\_check\_only+0x668/0xb20 \[drm\]
  ? drm\_connector\_list\_iter\_next+0x86/0xc0 \[drm\]
  drm\_atomic\_commit+0x58/0xd0 \[drm\]
  ? \_\_pfx\_\_\_drm\_printfn\_info+0x10/0x10 \[drm\]
  drm\_atomic\_connector\_commit\_dpms+0xd7/0x100 \[drm\]
  drm\_mode\_obj\_set\_property\_ioctl+0x1c5/0x450 \[drm\]
  ? \_\_pfx\_drm\_connector\_property\_set\_ioctl+0x10/0x10 \[drm\]
  drm\_connector\_property\_set\_ioctl+0x3b/0x60 \[drm\]
  drm\_ioctl\_kernel+0xb9/0x120 \[drm\]
  drm\_ioctl+0x2d0/0x550 \[drm\]
  ? \_\_pfx\_drm\_connector\_property\_set\_ioctl+0x10/0x10 \[drm\]
  nouveau\_drm\_ioctl+0x61/0xc0 \[nouveau\]
  \_\_x64\_sys\_ioctl+0xa0/0xf0
  do\_syscall\_64+0x76/0x140
  ? do\_syscall\_64+0x85/0x140
  ? do\_syscall\_64+0x85/0x140
  entry\_SYSCALL\_64\_after\_hwframe+0x6e/0x76
 RIP: 0033:0x7f4a1cd1a94f
 Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 \<41\> 89 c0 3d 00 f0 ff ff 77 1f 48 8b 44 24 18 64 48 2b 04 25 28 00
 RSP: 002b:00007ffd2f1df520 EFLAGS: 00000246 ORIG\_RAX: 0000000000000010
 RAX: ffffffffffffffda RBX: 00007ffd2f1df5b0 RCX: 00007f4a1cd1a94f
 RDX: 00007ffd2f1df5b0 RSI: 00000000c01064ab RDI: 000000000000000f
 RBP: 00000000c01064ab R08: 000056347932deb8 R09: 000056347a7d99c0
 R10: 0000000000000000 R11: 0000000000000246 R12: 000056347938a220
 R13: 000000000000000f R14: 0000563479d9f3f0 R15: 0000000000000000
  \</TASK\>
 Modules linked in: rfcomm xt\_conntrack nft\_chain\_nat xt\_MASQUERADE nf\_nat nf\_conntrack\_netlink nf\_conntrack nf\_defrag\_ipv6 nf\_defrag\_ipv4 xfrm\_user xfrm\_algo xt\_addrtype nft\_compat nf\_tables nfnetlink br\_netfilter bridge stp llc ccm cmac algif\_hash overlay algif\_skcipher af\_alg bnep binfmt\_misc snd\_sof\_pci\_intel\_cnl snd\_sof\_intel\_hda\_common snd\_soc\_hdac\_hda snd\_sof\_pci snd\_sof\_xtensa\_dsp snd\_sof\_intel\_hda snd\_sof snd\_sof\_utils snd\_soc\_acpi\_intel\_match snd\_soc\_acpi snd\_soc\_core snd\_compress snd\_sof\_intel\_hda\_mlink snd\_hda\_ext\_core iwlmvm intel\_rapl\_msr intel\_rapl\_common intel\_tcc\_cooling x86\_pkg\_temp\_thermal intel\_powerclamp mac80211 coretemp kvm\_intel snd\_hda\_codec\_hdmi kvm snd\_hda\_
---truncated---

## Affected and fixed versions

- Linux: \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 828862071a6ca0c52655e6e62ac7abfef3e5c578; \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 9cbd1dae842737bfafa4b10a87909fa209dde250 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 9cbd1dae842737bfafa4b10a87909fa209dde250 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26941.md
Affected: Linux >= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, < 828862071a6ca0c52655e6e62ac7abfef3e5c578; >= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, < 9cbd1dae842737bfafa4b10a87909fa209dde250; Linux 6.8
Fixed in: Linux 828862071a6ca0c52655e6e62ac7abfef3e5c578, Linux 9cbd1dae842737bfafa4b10a87909fa209dde250

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

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

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

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

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

Linux \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 828862071a6ca0c52655e6e62ac7abfef3e5c578; \>= c1d6a22b7219bd52c66e9e038a282ba79f04be1f, \< 9cbd1dae842737bfafa4b10a87909fa209dde250; Linux 6.8.

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

Yes. Fixed in Linux 828862071a6ca0c52655e6e62ac7abfef3e5c578, Linux 9cbd1dae842737bfafa4b10a87909fa209dde250. Upgrade Linux to 9cbd1dae842737bfafa4b10a87909fa209dde250 or later.

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

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/828862071a6ca0c52655e6e62ac7abfef3e5c578>
- patch: <https://git.kernel.org/stable/c/9cbd1dae842737bfafa4b10a87909fa209dde250>

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

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