CVE-2025-68190
NoneCVSS
—
EPSS
0.2%
Published
Dec 16, 2025
CISA due date
—
Cloudanix analysis
A flaw in the Linux kernel's AMD graphics driver could make computers using those graphics cards crash when memory gets low.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Unchecked kcalloc failure for WS buffer in amdgpu_atom_execute_table_locked leaves ectx.ws NULL while ws_size is nonzero, causing NULL pointer dereference in atom_get_src_int when accessing workspace entries.
Why it matters to the business
Systems using AMD GPUs may experience kernel crashes or denial of service when memory allocation fails during atom table execution, with higher urgency on widely deployed Linux kernels containing the affected code.
How an attack unfolds
An attacker triggers amdgpu_atom_execute_table_locked with nonzero WS size while the system is under memory pressure so that kcalloc fails, leaving a NULL workspace pointer that is later dereferenced.
How to fix it
Apply the kernel fix in commit 35f3fb86bb0158a298d6834e7e110dcaf07f490c which adds a check for kcalloc failure and returns -ENOMEM; rebuild and deploy updated kernels on all affected systems.
How to confirm the fix worked
Confirm presence of the allocation-failure check and -ENOMEM return in amdgpu_atom_execute_table_locked; test by forcing memory pressure during atom table execution and verify no NULL dereference occurs.
Typical attack path
- Trigger execution of an AMD GPU atom table with WS allocation request
- Induce memory pressure to force kcalloc failure
- Reach atom_get_src_int which dereferences the unset workspace pointer
How to detect it
Inspect kernel logs and crash dumps for NULL pointer dereference stack traces involving amdgpu_atom_execute_table_locked or atom_get_src_int, especially during periods of high memory usage.
- amdgpu_atom_execute_table_locked
- atom_get_src_int
- NULL pointer dereference.*ws
What your security team should do
- Update all Linux kernels containing the AMDGPU driver to the fixed commit
- Reboot systems after kernel upgrade
- Monitor kernel logs for amdgpu atom-related oops until patches are deployed
The record
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked() kcalloc() may fail. When WS is non-zero and allocation fails, ectx.ws remains NULL while ectx.ws_size is set, leading to a potential NULL pointer dereference in atom_get_src_int() when accessing WS entries. Return -ENOMEM on allocation failure to avoid the NULL dereference.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Linux | Kernel | 0 | 6.12.58 |
| Linux | Kernel | 4.2.0 | 6.12.58 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-azure | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-default | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 0 | 6.12.0-160000.9.1.160000.2.6 |
| openSUSE:Leap 16.0 | kernel-docs | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-rt | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-source | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-syms | 0 | 6.12.0-160000.9.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 0 | 6.12.0-160000.9.1 |
Related vulnerabilities
- CVE-2026-23226 In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock… Also affects Kernel
- CVE-2026-23225 In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Don't… Also affects Kernel
- CVE-2026-23230 In the Linux kernel, the following vulnerability has been resolved: smb: client: split… Also affects Kernel
- CVE-2026-23224 In the Linux kernel, the following vulnerability has been resolved: erofs: fix UAF issue… Also affects Kernel
- CVE-2026-23227 In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use… Also affects Kernel
- CVE-2026-23223 In the Linux kernel, the following vulnerability has been resolved: xfs: fix UAF in… Also affects Kernel
- CVE-2026-23228 In the Linux kernel, the following vulnerability has been resolved: smb: server: fix leak… Also affects Kernel
- CVE-2026-23229 In the Linux kernel, the following vulnerability has been resolved: crypto: virtio - Add… Also affects Kernel