Cloudanix VulnDB

CVE-2025-39747

None

CVSS

—

EPSS

0.2%

Published

Sep 11, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A missing safety check in Linux graphics code could let the system crash or be taken over when memory is low, and the fix adds that missing check.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Unpatched krealloc failure in msm_ioctl_gem_info_set_metadata() allows NULL pointer dereference in the Linux kernel DRM MSM driver metadata setup path.

Why it matters to the business

Risk of kernel crashes or denial of service on affected Linux systems and containerized environments using MinimOS argocd components, with potential for privilege escalation in high-value container workloads.

How an attack unfolds

An attacker triggers the gem metadata ioctl under memory pressure to induce krealloc failure, dereferences the resulting NULL pointer, and leverages the resulting corruption for privilege escalation, consistent with VMSCAPE activity targeting Linux kernel container environments.

How to fix it

Upgrade argocd-fips-3.1, argocd-fips-3.1-repo-server and argocd-fips-3.1-compat to 3.1.0-r1; apply Linux kernel commit 53dc780c1e94ea782d8936b41bfaa83c663702eb or later stable equivalent.

How to confirm the fix worked

Confirm the presence of explicit krealloc failure check returning -ENOMEM in msm_ioctl_gem_info_set_metadata and absence of __GFP_NOFAIL usage.

Typical attack path

  1. Identify systems running vulnerable Linux kernel or MinimOS argocd packages
  2. Obtain sufficient permissions to invoke drm msm ioctls
  3. Induce memory allocation pressure to force krealloc failure
  4. Trigger msm_ioctl_gem_info_set_metadata to dereference NULL
  5. Escalate privileges or crash the kernel

How to detect it

Search kernel logs and audit trails for oops/panic messages referencing msm_ioctl_gem_info_set_metadata or unexpected NULL dereferences during gem metadata operations; correlate with VMSCAPE TTPs on container-optimized hosts.

  • msm_ioctl_gem_info_set_metadata
  • krealloc.*-ENOMEM
  • drm/msm.*metadata

What your security team should do

  • Prioritize patching all MinimOS argocd and upstream Linux kernel instances to the listed fixed versions
  • Monitor container workloads for kernel oops involving drm/msm functions
  • Review and restrict unprivileged access to DRM ioctls where feasible
  • Track VMSCAPE-related exploitation attempts against similar kernel flaws

The record

In the Linux kernel, the following vulnerability has been resolved: drm/msm: Add error handling for krealloc in metadata setup Function msm_ioctl_gem_info_set_metadata() now checks for krealloc failure and returns -ENOMEM, avoiding potential NULL pointer dereference. Explicitly avoids __GFP_NOFAIL due to deadlock risks and allocation constraints. Patchwork: https://patchwork.freedesktop.org/patch/661235/

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 6.12.43-1
Debian:14 linux 0 6.16.3-1
Linux Kernel 3.12.0 6.12.43
SUSE:Linux Enterprise Live Patching 15 SP7 kernel-livepatch-SLE15-SP7-RT_Update_5 0 1-150700.1.3.1
SUSE:Real Time Module 15 SP7 kernel-rt 0 6.4.0-150700.7.19.1
SUSE:Real Time Module 15 SP7 kernel-source-rt 0 6.4.0-150700.7.19.1
SUSE:Real Time Module 15 SP7 kernel-syms-rt 0 6.4.0-150700.7.19.1
openSUSE:Leap 16.0 dtb-aarch64 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-64kb 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-default 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-default-base 0 6.12.0-160000.6.1.160000.2.4
openSUSE:Leap 16.0 kernel-docs 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-kvmsmall 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-obs-build 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-obs-qa 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-rt 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-source 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-syms 0 6.12.0-160000.6.1
openSUSE:Leap 16.0 kernel-zfcpdump 0 6.12.0-160000.6.1

Related vulnerabilities