# CVE-2025-71305: drm/display/dp\_mst: Add protection against 0 vcpi

> 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.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:14:55.722Z
- **Modified:** 2026-11-05T22:17:41.303Z

## Who should check

- Anyone running Linux \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 95dbd525efce2a9e9e1c50ad15213de644c85ad0; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< ac9a7c329a5610051fc476644c9b9145a5965ecb; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 3f44cdb5371faf225af37d5caba8f21ec0572469; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 4d2ccdea18b564e3f73e3e543854acea64e6277d; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< d6afc7539ce06dadfa5b4787b3cfe79b95d8f67a; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa
- Anyone running Linux 6.1

## Description

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

drm/display/dp\_mst: Add protection against 0 vcpi

When releasing a timeslot there is a slight chance we may end up
with the wrong payload mask due to overflow if the delayed\_destroy\_work
ends up coming into play after a DP 2.1 monitor gets disconnected
which causes vcpi to become 0 then we try to make the payload =
~BIT(vcpi - 1) which is a negative shift. VCPI id should never
really be 0 hence skip changing the payload mask if VCPI is 0.

Otherwise it leads to
\<7\> \[515.287237\] xe 0000:03:00.0: \[drm:drm\_dp\_mst\_get\_port\_malloc
\[drm\_display\_helper\]\] port ffff888126ce9000 (3)
\<4\> \[515.287267\] -----------\[ cut here \]-----------
\<3\> \[515.287268\] UBSAN: shift-out-of-bounds in
../drivers/gpu/drm/display/drm\_dp\_mst\_topology.c:4575:36
\<3\> \[515.287271\] shift exponent -1 is negative
\<4\> \[515.287275\] CPU: 7 UID: 0 PID: 3108 Comm: kworker/u64:33 Tainted: G
S U 6.17.0-rc6-lgci-xe-xe-3795-3e79699fa1b216e92+ \#1 PREEMPT(voluntary)
\<4\> \[515.287279\] Tainted: \[S\]=CPU\_OUT\_OF\_SPEC, \[U\]=USER
\<4\> \[515.287279\] Hardware name: ASUS System Product Name/PRIME Z790-P
WIFI, BIOS 1645 03/15/2024
\<4\> \[515.287281\] Workqueue: drm\_dp\_mst\_wq drm\_dp\_delayed\_destroy\_work
\[drm\_display\_helper\]
\<4\> \[515.287303\] Call Trace:
\<4\> \[515.287304\] \<TASK\>
\<4\> \[515.287306\] dump\_stack\_lvl+0xc1/0xf0
\<4\> \[515.287313\] dump\_stack+0x10/0x20
\<4\> \[515.287316\] \_\_ubsan\_handle\_shift\_out\_of\_bounds+0x133/0x2e0
\<4\> \[515.287324\] ? drm\_atomic\_get\_private\_obj\_state+0x186/0x1d0
\<4\> \[515.287333\] drm\_dp\_atomic\_release\_time\_slots.cold+0x17/0x3d
\[drm\_display\_helper\]
\<4\> \[515.287355\] mst\_connector\_atomic\_check+0x159/0x180 \[xe\]
\<4\> \[515.287546\] drm\_atomic\_helper\_check\_modeset+0x4d9/0xfa0
\<4\> \[515.287550\] ? \_\_ww\_mutex\_lock.constprop.0+0x6f/0x1a60
\<4\> \[515.287562\] intel\_atomic\_check+0x119/0x2b80 \[xe\]
\<4\> \[515.287740\] ? find\_held\_lock+0x31/0x90
\<4\> \[515.287747\] ? lock\_release+0xce/0x2a0
\<4\> \[515.287754\] drm\_atomic\_check\_only+0x6a2/0xb40
\<4\> \[515.287758\] ? drm\_atomic\_add\_affected\_connectors+0x12b/0x140
\<4\> \[515.287765\] drm\_atomic\_commit+0x6e/0xf0
\<4\> \[515.287766\] ? \_pfx\_\_drm\_printfn\_info+0x10/0x10
\<4\> \[515.287774\] drm\_client\_modeset\_commit\_atomic+0x25c/0x2b0
\<4\> \[515.287794\] drm\_client\_modeset\_commit\_locked+0x60/0x1b0
\<4\> \[515.287795\] ? mutex\_lock\_nested+0x1b/0x30
\<4\> \[515.287801\] drm\_client\_modeset\_commit+0x26/0x50
\<4\> \[515.287804\] \_\_drm\_fb\_helper\_restore\_fbdev\_mode\_unlocked+0xdc/0x110
\<4\> \[515.287810\] drm\_fb\_helper\_hotplug\_event+0x120/0x140
\<4\> \[515.287814\] drm\_fbdev\_client\_hotplug+0x28/0xd0
\<4\> \[515.287819\] drm\_client\_hotplug+0x6c/0xf0
\<4\> \[515.287824\] drm\_client\_dev\_hotplug+0x9e/0xd0
\<4\> \[515.287829\] drm\_kms\_helper\_hotplug\_event+0x1a/0x30
\<4\> \[515.287834\] drm\_dp\_delayed\_destroy\_work+0x3df/0x410
\[drm\_display\_helper\]
\<4\> \[515.287861\] process\_one\_work+0x22b/0x6f0
\<4\> \[515.287874\] worker\_thread+0x1e8/0x3d0
\<4\> \[515.287879\] ? \_\_pfx\_worker\_thread+0x10/0x10
\<4\> \[515.287882\] kthread+0x11c/0x250
\<4\> \[515.287886\] ? \_\_pfx\_kthread+0x10/0x10
\<4\> \[515.287890\] ret\_from\_fork+0x2d7/0x310
\<4\> \[515.287894\] ? \_\_pfx\_kthread+0x10/0x10
\<4\> \[515.287897\] ret\_from\_fork\_asm+0x1a/0x30

## Affected and fixed versions

- Linux: \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 95dbd525efce2a9e9e1c50ad15213de644c85ad0; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< ac9a7c329a5610051fc476644c9b9145a5965ecb; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 3f44cdb5371faf225af37d5caba8f21ec0572469; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 4d2ccdea18b564e3f73e3e543854acea64e6277d; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< d6afc7539ce06dadfa5b4787b3cfe79b95d8f67a; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-71305.md
Affected: Linux >= 4d07b0bc403403438d9cf88450506240c5faf92f, < 95dbd525efce2a9e9e1c50ad15213de644c85ad0; >= 4d07b0bc403403438d9cf88450506240c5faf92f, < ac9a7c329a5610051fc476644c9b9145a5965ecb; >= 4d07b0bc403403438d9cf88450506240c5faf92f, < 3f44cdb5371faf225af37d5caba8f21ec0572469; >= 4d07b0bc403403438d9cf88…
Fixed in: Linux 95dbd525efce2a9e9e1c50ad15213de644c85ad0, Linux 3f44cdb5371faf225af37d5caba8f21ec0572469, Linux 4d2ccdea18b564e3f73e3e543854acea64e6277d, Linux 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa

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-2025-71305 being exploited?

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

### How serious is CVE-2025-71305?

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

### Which versions are affected by CVE-2025-71305?

Linux \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 95dbd525efce2a9e9e1c50ad15213de644c85ad0; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< ac9a7c329a5610051fc476644c9b9145a5965ecb; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 3f44cdb5371faf225af37d5caba8f21ec0572469; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 4d2ccdea18b564e3f73e3e543854acea64e6277d; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< d6afc7539ce06dadfa5b4787b3cfe79b95d8f67a; \>= 4d07b0bc403403438d9cf88450506240c5faf92f, \< 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa; Linux 6.1.

### Is there a fix for CVE-2025-71305?

Yes. Fixed in Linux 95dbd525efce2a9e9e1c50ad15213de644c85ad0, Linux 3f44cdb5371faf225af37d5caba8f21ec0572469, Linux 4d2ccdea18b564e3f73e3e543854acea64e6277d, Linux 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa. Upgrade Linux to 342ccffd9f77fc29fe1c05fd145e4d842bd2feaa or later.

### How do I check if I'm affected by CVE-2025-71305?

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/95dbd525efce2a9e9e1c50ad15213de644c85ad0>
- patch: <https://git.kernel.org/stable/c/ac9a7c329a5610051fc476644c9b9145a5965ecb>
- patch: <https://git.kernel.org/stable/c/3f44cdb5371faf225af37d5caba8f21ec0572469>
- patch: <https://git.kernel.org/stable/c/4d2ccdea18b564e3f73e3e543854acea64e6277d>
- patch: <https://git.kernel.org/stable/c/d6afc7539ce06dadfa5b4787b3cfe79b95d8f67a>
- patch: <https://git.kernel.org/stable/c/342ccffd9f77fc29fe1c05fd145e4d842bd2feaa>

## 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-2025-71305>

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