
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68257 is a NULL pointer dereference vulnerability in the Linux kernel's COMEDI subsystem, specifically within the compat IOCTL handlers. The flaw arises because compat versions of standard IOCTL handlers do not perform the required sanity check for a device's attached status before executing operations, allowing IOCTLs to be called on improperly configured devices. This was identified via a Syzbot report demonstrating a kernel crash on i386 systems. The vulnerability was published on December 16, 2025, and is estimated as medium severity with an EPSS score of 0.000180 (Feedly, CVE.org).
The root cause is a missing device attachment status check in the compat IOCTL handlers of the Linux kernel's COMEDI driver (drivers/comedi/comedi_fops.c), classified as a NULL pointer dereference (CWE-476). Unlike the standard comedi_unlocked_ioctl() path, several compat IOCTL variants were modified independently and omit the required validation that ensures the device has been properly configured via COMEDI_DEVCONFIG. When an attacker or user invokes these compat IOCTLs on an unconfigured device, critical initialization steps are skipped — including setting the dev->get_valid_routes() callback — resulting in a NULL pointer dereference when that callback is subsequently invoked. The Syzbot-reported crash trace shows a call to get_valid_routes at address 0x0000000000000000, confirming the uninitialized function pointer is dereferenced (Feedly).
Successful exploitation causes a kernel NULL pointer dereference, leading to a kernel panic and system crash, directly impacting availability. The vulnerability is primarily a local denial-of-service issue affecting systems running i386 (32-bit) Linux kernels with the COMEDI subsystem loaded. There is no evidence of confidentiality or integrity impact beyond the crash, and lateral movement potential is limited given the local access requirement (Feedly).
/dev/comedi0) without first configuring it via COMEDI_DEVCONFIG ioctl, leaving the device in an unattached/unconfigured state.comedi_unlocked_ioctl().dev->get_valid_routes(), which is NULL because __comedi_device_postconfig() was never called, causing a kernel NULL pointer dereference and system crash (Feedly).dmesg or /var/log/kern.log) showing BUG: kernel NULL pointer dereference, address: 0000000000000000 with a call trace involving get_valid_routes in drivers/comedi/comedi_fops./dev/comedi* devices without prior COMEDI_DEVCONFIG configuration./var/crash/ or similar directories following COMEDI ioctl activity.The fix has been merged into the Linux kernel stable trees, adding the required device attachment status check to compat IOCTL handlers before any operations are performed. Downstream distributions including Debian (linux 6.1.162-1, linux 5.10.249-1), Ubuntu (USN-8096-x, USN-8094-x, USN-8152-1, USN-8179-x, USN-8184-1, USN-8185-x, USN-8203-1, USN-8258-1, USN-8260-1, USN-8265-1), and Amazon Linux 2 (ALAS2KERNEL-5.10-2026-113) have released updated kernel packages. Administrators should apply the latest kernel updates from their distribution vendor. As a workaround where patching is not immediately possible, unloading the COMEDI kernel module (modprobe -r comedi) or restricting access to /dev/comedi* devices can reduce exposure (Ubuntu USN-8096-1, Debian Tracker, Amazon ALAS).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."