Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-26721

kernel: drm/i915/dsc: Fix the macro that calculates DSCC_/DSCA_ PPS reg address

Overview

Published
3 Apr 2024
Modified
17 Jun 2026
Medium CVE
0 Registry packages
111 OS packages
5 Linux distributions
Yes Fix available

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)

Source: OX vulnerability database

Severity

5.5 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-131

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 7 fixes

Red Hat 2 releases · 1 package

wont fix 2
bpftool
Red Hat fixes for CVE-2024-26721
ReleasePackageFixed in
8 bpftool +45 wont fix
9 bpftool +106 wont fix

debian 2 releases · 1 package

fixed 2
linux
debian fixes for CVE-2024-26721
ReleasePackageFixed in
13 linux 6.7.7-1
14 linux 6.7.7-1

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2024-26721
ReleasePackageFixed in
linux 6.7.7-1

root.io debian 1 release · 1 package

fixed 1
rootio-linux
root.io debian fixes for CVE-2024-26721
ReleasePackageFixed in
13 rootio-linux 6.7.7-1

ubuntu 1 release · 1 package

fixed 1
linux-raspi-realtime
ubuntu fixes for CVE-2024-26721
ReleasePackageFixed in
24.04 linux-raspi-realtime 6.8.0-2002.2

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.