# CVE-2024-26721: drm/i915/dsc: Fix the macro that calculates DSCC\_/DSCA\_ PPS reg address

> 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-28)
- **CWE:** CWE-131
- **Published:** 2024-04-03T14:55:20.995Z
- **Modified:** 2026-06-17T07:18:10.493Z

## Who should check

- Anyone running Linux \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< ff5999fb03f467e1e7159f0ddb199c787f7512b9; \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< 962ac2dce56bb3aad1f82a4bbe3ada57a020287c
- Anyone running Linux 6.7

## Description

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

drm/i915/dsc: Fix the macro that calculates DSCC\_/DSCA\_ PPS reg address

Commit bd077259d0a9 ("drm/i915/vdsc: Add function to read any PPS
register") defines a new macro to calculate the DSC PPS register
addresses with PPS number as an input. This macro correctly calculates
the addresses till PPS 11 since the addresses increment by 4. So in that
case the following macro works correctly to give correct register
address:

\_MMIO(\_DSCA\_PPS\_0 + (pps) \* 4)

However after PPS 11, the register address for PPS 12 increments by 12
because of RC Buffer memory allocation in between. Because of this
discontinuity in the address space, the macro calculates wrong addresses
for PPS 12 - 16 resulting into incorrect DSC PPS parameter value
read/writes causing DSC corruption.

This fixes it by correcting this macro to add the offset of 12 for PPS
\>=12.

v3: Add correct paranthesis for pps argument (Jani Nikula)

(cherry picked from commit 6074be620c31dc2ae11af96a1a5ea95580976fb5)

## Affected and fixed versions

- Linux: \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< ff5999fb03f467e1e7159f0ddb199c787f7512b9; \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< 962ac2dce56bb3aad1f82a4bbe3ada57a020287c (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 962ac2dce56bb3aad1f82a4bbe3ada57a020287c 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-26721. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26721.md
Affected: Linux >= bd077259d0a9c9bf453e7e9751bf41f1996e6585, < ff5999fb03f467e1e7159f0ddb199c787f7512b9; >= bd077259d0a9c9bf453e7e9751bf41f1996e6585, < 962ac2dce56bb3aad1f82a4bbe3ada57a020287c; Linux 6.7
Fixed in: Linux 962ac2dce56bb3aad1f82a4bbe3ada57a020287c

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

There is no confirmed exploitation: CVE-2024-26721 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-28).

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

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

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

Linux \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< ff5999fb03f467e1e7159f0ddb199c787f7512b9; \>= bd077259d0a9c9bf453e7e9751bf41f1996e6585, \< 962ac2dce56bb3aad1f82a4bbe3ada57a020287c; Linux 6.7.

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

Yes. Fixed in Linux 962ac2dce56bb3aad1f82a4bbe3ada57a020287c. Upgrade Linux to 962ac2dce56bb3aad1f82a4bbe3ada57a020287c or later.

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

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/ff5999fb03f467e1e7159f0ddb199c787f7512b9>
- patch: <https://git.kernel.org/stable/c/962ac2dce56bb3aad1f82a4bbe3ada57a020287c>

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

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