---
id: CVE-2025-68190
title: >-
  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
summary: >-
  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…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    0b52e3192181b4de58844faedd2928e5c6ca0e06
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    47252c7d5559d8776ad336be9c955d8404e7ae69
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    88d198836f628c57536c6c71d13e90c5d15fbf1a
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    73853208a497a036596dcf9efbff8ce927651d3a
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    35f3fb86bb0158a298d6834e7e110dcaf07f490c
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    997e28d3d00a1d30649629515e4402612921205b
  - >-
    Linux >= d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <
    cc9a8e238e42c1f43b98c097995137d644b69245
  - Linux 4.2
published: '2025-12-16'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:33.157'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68190'
references:
  - url: 'https://git.kernel.org/stable/c/0b52e3192181b4de58844faedd2928e5c6ca0e06'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/35f3fb86bb0158a298d6834e7e110dcaf07f490c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/47252c7d5559d8776ad336be9c955d8404e7ae69'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/73853208a497a036596dcf9efbff8ce927651d3a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/88d198836f628c57536c6c71d13e90c5d15fbf1a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/997e28d3d00a1d30649629515e4402612921205b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cc9a8e238e42c1f43b98c097995137d644b69245'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00197
epssPercentile: 0.08537
ingestedAt: '2026-10-03T11:43:42.112Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
