CVE-2025-38214

5.5 MEDIUM

📋 TL;DR

A null pointer dereference vulnerability in the Linux kernel's framebuffer subsystem allows local attackers to cause a kernel panic (denial of service) by triggering a failed memory allocation during video mode changes. This affects systems with framebuffer console support enabled, primarily Linux servers and workstations with console access.

💻 Affected Systems

Products:
  • Linux kernel
Versions: Specific affected versions not specified in CVE, but references indicate fixes in stable kernel trees (5.10.226 mentioned in crash report)
Operating Systems: Linux distributions using vulnerable kernel versions
Default Config Vulnerable: ⚠️ Yes
Notes: Requires framebuffer console support (CONFIG_FB=y, CONFIG_FB_CONSOLE=y). Many server configurations may have this disabled.

📦 What is this software?

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

Linux Kernel by Linux

The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...

Learn more about Linux Kernel →

⚠️ Risk & Real-World Impact

🔴

Worst Case

Kernel panic leading to system crash and denial of service, potentially requiring physical or remote console access to reboot.

🟠

Likely Case

Local denial of service through kernel panic when privileged users or processes trigger the vulnerable code path.

🟢

If Mitigated

Minimal impact if systems have proper access controls and don't expose framebuffer console functionality to untrusted users.

🌐 Internet-Facing: LOW - Requires local access or console access to trigger.
🏢 Internal Only: MEDIUM - Local users with console access or ability to trigger framebuffer operations can cause denial of service.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Found by fuzzing with Syzkaller. Requires ability to trigger framebuffer operations, typically through console access or specific ioctl calls.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Patches available in stable kernel trees (commits referenced in CVE)

Vendor Advisory: https://git.kernel.org/stable/c/05f6e183879d9785a3cdf2f08a498bc31b7a20aa

Restart Required: Yes

Instructions:

1. Update Linux kernel to patched version from your distribution vendor. 2. For custom kernels, apply commit 05f6e183879d9785a3cdf2f08a498bc31b7a20aa or equivalent from stable tree. 3. Reboot system after kernel update.

🔧 Temporary Workarounds

Disable framebuffer console

linux

Disable framebuffer console support in kernel configuration to remove vulnerable code path

Rebuild kernel with CONFIG_FB=n or CONFIG_FB_CONSOLE=n

Restrict console access

linux

Limit physical and virtual console access to trusted users only

🧯 If You Can't Patch

  • Restrict physical and virtual console access to minimize attack surface
  • Monitor for kernel panic events and investigate any unauthorized console access attempts

🔍 How to Verify

Check if Vulnerable:

Check kernel version and framebuffer configuration: cat /proc/version | grep -E '5\.10\.' && grep -q 'CONFIG_FB=y' /boot/config-$(uname -r)

Check Version:

uname -r

Verify Fix Applied:

Verify kernel version is newer than patched version and check for presence of fix commit: uname -r && git log --oneline | grep -q '05f6e183879d9785a3cdf2f08a498bc31b7a20aa'

📡 Detection & Monitoring

Log Indicators:

  • Kernel panic messages in /var/log/kern.log or dmesg
  • General protection fault errors mentioning fb_videomode_to_var
  • Syz-executor processes triggering framebuffer operations

Network Indicators:

  • None - local vulnerability only

SIEM Query:

source="kernel" AND ("general protection fault" OR "null-ptr-deref" OR "fb_videomode_to_var")

🔗 References

📤 Share & Export