Upstream information
Description
In the Linux kernel, the following vulnerability has been resolved:drm/xe: Don't hand out the flat CCS storage as usable VRAM
get_flat_ccs_offset() reads the base of the flat CCS storage from the
hardware, scales it by the number of enabled L3 nodes, and rounds the
result up to 128K. Everything below that offset is then handed to the
VRAM allocator as usable memory.
Rounding a limit that means "usable memory ends here" upwards publishes
whatever lies between the real base and the rounded one as free memory,
and that memory belongs to the compression hardware. The scaled value
has no reason to be 128K aligned, and on a Battlemage G21 with 16 GiB it
is not:
flat CCS base: raw 0x3fafff800, rounded 0x3fb000000
so the last 2 KiB of page 0x3fafff000 is CCS storage, in the allocator's
pool. Whatever is allocated there gets that tail overwritten by the
compression hardware, which needs no page-table entry, no buffer object
and no GPU submission to do it, and does it before userspace exists.
On this machine a Mesa VM's level-3 page table landed on that page on
every cold boot. It lost the entry covering the compositor's
batch-buffer heap, so the compositor's first submission faulted fetching
its batch and gdm restarted it forever: a black screen on an otherwise
working machine. Restarting gdm cleared it because the next VM's page
tables were allocated somewhere else.
Round down instead, to the page size the allocator works in. On this
machine that excludes exactly one page.
Reading the reserved page afterwards shows what had been writing it:
[369] 0xcccc000000000000
[371] 0xcc77000000000000
[373] 0xcccc000000000000
[375] 0xcc77000000000000
compression metadata, two bytes per sixteen, sitting where the driver
used to hand out memory.
The assertion that should have caught this compares the offset against
GSMBASE - ccs_size for equality. That value is 128K aligned, so it
agrees with the rounded-up offset precisely when the base is not
aligned - the check cannot fail in the case it exists to catch, and is
compiled out unless CONFIG_DRM_XE_DEBUG is set. Replace it with one
that can fail: CCS storage must not run into GSM.
[ And this was a debug session from hell, enormously helped by an AI
doing much of the grunt-work.
I'd like to call it my tireless helper, but the AI several times
stated flat out that this was impossible and unsolvable and that we
should just write a report about it.
I suspect those things have been trained by people who may not be
quite as stubborn as I am.
But while the AI was ready to give up several times, it did keep
adding debug code and analyzing it faithfully when I pushed. So credit
where credit is due and I let the AI write the commit message above.
This is basically a one-liner fixing a bogus "round_up()" to a
"round_down()", but there were 24 patches adding more and more debug
information to this, and 18 kernel boot to finally narrow it down to
this. - Linus ]
SUSE information
Overall state of this security issue: Analysis
This issue is currently rated as having moderate severity.
| CVSS detail | CNA (NVD) | Linux Kernel CNA | SUSE |
|---|---|---|---|
| Base Score | 7.8 | 7.8 | 5.5 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Attack Vector | Local | Local | Local |
| Attack Complexity | Low | Low | Low |
| Privileges Required | Low | Low | Low |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality Impact | High | High | None |
| Integrity Impact | High | High | None |
| Availability Impact | High | High | High |
| CVSSv3 Version | 3.1 | 3.1 | 3.1 |
Note from the SUSE Security Team on the kernel-default package
SUSE will no longer fix all CVEs in the Linux Kernel anymore, but declare some bug classes as won't fix. Please refer to TID 21496 for more details. SUSE Bugzilla entry: 1280927 [NEW] No SUSE Security Announcements cross referenced.Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Desktop 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise Desktop 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise High Availability Extension 16.0 | kernel-default | Analysis |
| SUSE Linux Enterprise High Availability Extension 16.0 | kernel-source | Analysis |
| SUSE Linux Enterprise High Availability Extension 16.1 | kernel-default | Analysis |
| SUSE Linux Enterprise High Availability Extension 16.1 | kernel-source | Analysis |
| SUSE Linux Enterprise Micro 5.3 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.3 | kernel-rt | Analysis |
| SUSE Linux Enterprise Micro 5.3 | kernel-source | Analysis |
| SUSE Linux Enterprise Micro 5.3 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Micro 5.4 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.4 | kernel-rt | Analysis |
| SUSE Linux Enterprise Micro 5.4 | kernel-source | Analysis |
| SUSE Linux Enterprise Micro 5.4 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Micro 5.5 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.5 | kernel-source | Analysis |
| SUSE Linux Enterprise Micro 5.5 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise Real Time 15 SP7 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Server 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 16.0 | kernel-default | Analysis |
| SUSE Linux Enterprise Server 16.0 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 16.1 | kernel-default | Analysis |
| SUSE Linux Enterprise Server 16.1 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP applications 16.0 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP applications 16.0 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP applications 16.1 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP applications 16.1 | kernel-source | Analysis |
| SUSE Linux Micro 6.0 | kernel-default | Analysis |
| SUSE Linux Micro 6.0 | kernel-source | Analysis |
| SUSE Linux Micro 6.0 | kernel-source-rt | Analysis |
| SUSE Linux Micro 6.1 | kernel-default | Analysis |
| SUSE Linux Micro 6.1 | kernel-source | Analysis |
| SUSE Linux Micro 6.1 | kernel-source-rt | Analysis |
| SUSE Linux Micro 6.2 | kernel-default | Analysis |
| SUSE Linux Micro 6.2 | kernel-source | Analysis |
| SUSE Linux Micro Extras 6.0 | kernel-default | Analysis |
| SUSE Linux Micro Extras 6.0 | kernel-source | Analysis |
| SUSE Linux Micro Extras 6.0 | kernel-source-rt | Analysis |
| SUSE Linux Micro Extras 6.1 | kernel-default | Analysis |
| SUSE Linux Micro Extras 6.1 | kernel-source | Analysis |
| SUSE Real Time Module 15 SP7 | kernel-source-rt | Analysis |
| openSUSE Leap 16.0 | kernel-source | Analysis |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 12 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-default | Analysis |
| SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | kernel-source | Analysis |
| SUSE Linux Enterprise Server 12 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 12 SP5-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP4-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP5-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP6 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP6-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP6-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-default | Analysis |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-default | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | kernel-source | Analysis |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE CaaS Platform 4.0 | kernel-source | Analysis |
| SUSE Enterprise Storage 6 | kernel-source | Analysis |
| SUSE Enterprise Storage 7 | kernel-source | Analysis |
| SUSE Enterprise Storage 7.1 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 11 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP5 | kernel-source | Analysis |
| SUSE Linux Enterprise Desktop 15 SP6 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | kernel-source | Analysis |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | kernel-source | Analysis |
| SUSE Linux Enterprise Micro 5.0 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.1 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.2 | kernel-default | Analysis |
| SUSE Linux Enterprise Micro 5.2 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Basesystem 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise Real Time 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Real Time 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise Real Time 15 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Real Time 15 SP4 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Real Time 15 SP5 | kernel-source-rt | Analysis |
| SUSE Linux Enterprise Server 11 SP4 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 11 SP4-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP1-BCL | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP1-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP2-BCL | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP2-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP3 | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP3-BCL | kernel-source | Analysis |
| SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-default | Analysis |
| SUSE Linux Enterprise Server 15 SP3-LTSS | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | kernel-source | Analysis |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | kernel-source | Analysis |
| SUSE Manager Proxy 4.0 | kernel-source | Analysis |
| SUSE Manager Proxy 4.1 | kernel-source | Analysis |
| SUSE Manager Proxy 4.2 | kernel-source | Analysis |
| SUSE Manager Proxy 4.3 | kernel-source | Analysis |
| SUSE Manager Proxy LTS 4.3 | kernel-source | Analysis |
| SUSE Manager Retail Branch Server 4.0 | kernel-source | Analysis |
| SUSE Manager Retail Branch Server 4.1 | kernel-source | Analysis |
| SUSE Manager Retail Branch Server 4.2 | kernel-source | Analysis |
| SUSE Manager Retail Branch Server 4.3 | kernel-source | Analysis |
| SUSE Manager Retail Branch Server LTS 4.3 | kernel-source | Analysis |
| SUSE Manager Server 4.0 | kernel-source | Analysis |
| SUSE Manager Server 4.1 | kernel-source | Analysis |
| SUSE Manager Server 4.2 | kernel-source | Analysis |
| SUSE Manager Server 4.3 | kernel-source | Analysis |
| SUSE Manager Server LTS 4.3 | kernel-source | Analysis |
| SUSE Real Time Module 15 SP4 | kernel-source-rt | Analysis |
| SUSE Real Time Module 15 SP5 | kernel-source-rt | Analysis |
| openSUSE Leap 15.3 | kernel-source | Analysis |
| openSUSE Leap 15.4 | kernel-source | Analysis |
| openSUSE Leap 15.4 | kernel-source-rt | Analysis |
| openSUSE Leap 15.5 | kernel-source | Analysis |
| openSUSE Leap 15.5 | kernel-source-rt | Analysis |
| openSUSE Leap 15.6 | kernel-source | Analysis |
SUSE Timeline for this CVE
CVE page created: Thu Sep 17 16:09:11 2026CVE page last modified: Thu Sep 17 16:09:11 2026