CVE-2024-50090
published high CVSS 3.1 · 7.8drm/xe/oa: Fix overflow in oa batch buffer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxdd08ebf6c3525a7ea2186e636df064ea47281987 to < bcb5be3421705e682b0b32073ad627056d6bc2a2 · dd08ebf6c3525a7ea2186e636df064ea47281987 to < 6c10ba06bb1b48acce6d4d9c1e33beb9954f1788 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | bionic | linux | Advisory build | 4.15.0-247.259 | LSN-0117-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devel-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermaarch64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermppc64le | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longterms390x | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-longtermx86_64 | Advisory build | 6.12.11-1.1 | OPENSUSE-SU-2025:14705-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 6.11.8-1.1 | OPENSUSE-SU-2024:14500-1 |
| Ubuntu | bionic | linux-aws | Advisory build | 4.15.0-1189.202 | LSN-0117-1 |
| Ubuntu | bionic | linux-azure-4.15 | Advisory build | 4.15.0-1197.212 | LSN-0117-1 |
| Ubuntu | bionic | linux-gcp-4.15 | Advisory build | 4.15.0-1182.199 | LSN-0117-1 |
| Ubuntu | bionic | linux-hwe-5.4 | Advisory build | 5.4.0-224.244~18.04.1 | LSN-0117-1 |
| Ubuntu | bionic | linux-oracle | Advisory build | 4.15.0-1151.162 | LSN-0117-1 |
| Ubuntu | focal | linux | Advisory build | 5.4.0-224.244 | LSN-0117-1 |
| Ubuntu | focal | linux-aws | Advisory build | 5.4.0-1153.163 | LSN-0117-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1098.105~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1102.111~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1098.107~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-164.174~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1092.95~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-164.174~20.04.1 | LSN-0117-1 |
| Ubuntu | focal | linux-oracle-5.15 | Advisory build | 5.15.0-1095.101~20.04.1 | LSN-0117-1 |
| Ubuntu | jammy | linux | Advisory build | 5.15.0-164.174 | LSN-0117-1 |
| Ubuntu | jammy | linux-aws | Advisory build | 5.15.0-1098.105 | LSN-0117-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1027 | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-azure | Advisory build | 5.15.0-1102.111 | LSN-0117-1 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1025 | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-gcp | Advisory build | 5.15.0-1098.107 | LSN-0117-1 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1026 | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1026 | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-headers-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-headers-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-headers-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-cloud-tools-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-headers-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-hwe-6.8-tools-6.8.0-57 | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1022-oracle | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1022-oracle-64k | Advisory build | 6.8.0-1022.23~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-nvidia | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1024-nvidia-64k | Advisory build | 6.8.0-1024.27~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1025-azure | Advisory build | 6.8.0-1025.30~22.04.1 | USN-7384-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-gcp | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1026-gcp-64k | Advisory build | 6.8.0-1026.28~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1027-aws | Advisory build | 6.8.0-1027.29~22.04.1 | USN-7451-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-56-lowlatency | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-56-lowlatency-64k | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-57-generic | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-57-generic-64k | Advisory build | 6.8.0-57.59~22.04.1 | USN-7403-1 |
| Ubuntu | jammy | linux-lowlatency-hwe-6.8 | Advisory build | 6.8.0-56.58.1~22.04.1 | USN-7383-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Fix overflow in oa batch buffer By default xe_bb_create_job() appends a MI_BATCH_BUFFER_END to batch buffer, this is not a problem if batch buffer is only used once but oa reuses the batch buffer for the same metric and at each call it appends a MI_BATCH_BUFFER_END, printing the warning below and then overflowing. [ 381.072016] ------------[ cut here ]------------ [ 381.072019] xe 0000:00:02.0: [drm] Assertion `bb->len * 4 + bb_prefetch(q->gt) <= size` failed! platform: LUNARLAKE subplatform: 1 graphics: Xe2_LPG / Xe2_HPG 20.04 step B0 media: Xe2_LPM / Xe2_HPM 20.00 step B0 tile: 0 VRAM 0 B GT: 0 type 1 So here checking if batch buffer already have MI_BATCH_BUFFER_END if not append it. v2: - simply fix, suggestion from Ashutosh (cherry picked from commit 9ba0e0f30ca42a98af3689460063edfb6315718a)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached through the xe DRM render node (`/dev/dri/renderD*`) via the OA stream open ioctl followed by `DRM_XE_OBSERVATION_IOCTL_CONFIG` on the returned fd. This requires local access to the GPU device node; there is no remote or adjacent-network path. AC:L - Triggering is fully deterministic — the attacker opens one OA stream and loops the CONFIG ioctl alternating between two metric sets, with `bb->len` incrementing by exactly one dword per call, so the overflow offset is precisely attacker-chosen and no race or unknown memory layout is involved. CONFIG_DRM_XE is the default driver for all modern Intel graphics (Meteor Lake, Lunar Lake, DG2/Arc, Battlemage) in distro kernels. PR:L - Only an unprivileged local account with render-node access and an exec queue is needed: the query-sampling path sets `privileged_op = false` (`xe_oa.c:1826`), bypassing the `perfmon_capable()` gate at stream open, and `xe_oa_ioctl()`/`xe_oa_config_locked()` perform no capability check at all. Render nodes are world-accessible or render-group accessible on common distros and reachable by ordinary apps on Android/ChromeOS. UI:N - The attacker performs the entire sequence — open stream, loop the config ioctl — within their own process. No victim action is required. S:U - The out-of-bounds write and its consequences are confined to kernel memory managed by the same kernel security authority. No VM, IOMMU, or sandbox boundary is crossed by the flaw itself. C:H - The overflow writes into the shared 1 MB `kernel_bb_pool` holding live `xe_migrate` command streams; a stray MI_BATCH_BUFFER_END truncates a BO clear/copy batch, leaving stale memory contents exposed to another client, or corrupts a PTE-emitting batch so GPU page tables map arbitrary memory readable by attacker GPU work. On discrete GPUs the write lands in a `kvzalloc()`'d kernel heap buffer, giving OOB access to adjacent kernel objects. I:H - This is an unbounded out-of-bounds kernel write of a fixed dword (0x05000000) at an offset the attacker selects exactly by iteration count, hitting vmap'd BO pages on integrated GPUs and the kernel heap on discrete GPUs. It also rewrites GPU command streams that the engine executes with full GGTT access, making control-flow and page-table corruption achievable. A:H - The reported symptom is a driver assertion failure and buffer overflow; continued iteration corrupts in-flight kernel batch buffers causing GPU hangs and device wedging, and writing past the pool mapping produces a kernel oops/panic.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | dd08ebf6c3525a7ea2186e636df064ea47281987 to < bcb5be3421705e682b0b32073ad627056d6bc2a2 (affected · git)dd08ebf6c3525a7ea2186e636df064ea47281987 to < 6c10ba06bb1b48acce6d4d9c1e33beb9954f1788 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-120 CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
2Provider assertions
2Linux · cna
drm/xe/oa: Fix overflow in oa batch buffer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d04197853917d822888462696ac9277683453690cc2acacebc856620e84f3b54
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record