Cloudanix VulnDB

CVE-2025-40360

None

CVSS

—

EPSS

0.2%

Published

Dec 16, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the Linux kernel's graphics handling could let a local user crash the whole system by triggering certain display operations, and updating the kernel fixes it.

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

What it actually does

NULL pointer dereference in __drm_gem_reset_shadow_plane() when plane state is NULL, allowing invalid memory access during DRM plane reset operations in the Linux kernel.

Why it matters to the business

Kernel crashes or system instability on affected Red Hat Enterprise Linux systems using DRM graphics subsystems, potentially causing downtime for workloads reliant on display or GPU functionality; widespread kernel package exposure increases patch urgency across enterprise deployments.

How an attack unfolds

An attacker with local access triggers DRM operations that invoke plane reset with a NULL plane state, causing the kernel to dereference the pointer and resulting in a crash or memory corruption opportunity.

How to fix it

Upgrade all listed affected Red Hat rhel_e4s:8.0 kernel packages to version 0:4.18.0-80.23.2.el8_0 or later; apply the fix that passes NULL through reset helpers without dereference and clears plane->state.

How to confirm the fix worked

Confirm kernel package versions match or exceed the fixed release; test DRM plane reset paths in controlled environments to verify no NULL dereference occurs; review kernel logs for absence of related oops or panic messages post-upgrade.

Typical attack path

  1. Obtain local user access on a vulnerable system
  2. Craft or trigger specific DRM sysfb plane reset calls
  3. Cause __drm_gem_reset_shadow_plane to receive NULL state
  4. Induce NULL dereference leading to kernel panic or corruption

How to detect it

Review kernel logs and dmesg for NULL pointer dereference oops in drm or sysfb functions; inspect system call traces involving DRM plane resets for anomalous activity.

What your security team should do

  • Prioritize kernel updates on all rhel_e4s:8.0 systems within standard change windows
  • Monitor for any downstream dependents using these kernel builds
  • Restrict unprivileged local access where possible until patched

The record

In the Linux kernel, the following vulnerability has been resolved: drm/sysfb: Do not dereference NULL pointer in plane reset The plane state in __drm_gem_reset_shadow_plane() can be NULL. Do not deref that pointer, but forward NULL to the other plane-reset helpers. Clears plane->state to NULL. v2: - fix typo in commit description (Javier)

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 5.15.0 5.15.197
Mageia:9 kernel 0 6.6.120-1.mga9
Mageia:9 kernel-linus 0 6.6.120-1.mga9
Mageia:9 kmod-virtualbox 0 7.1.14-14.mga9
Mageia:9 kmod-xtables-addons 0 3.24-88.mga9
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