CVE-2026-53024
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Jun 24, 2026
CISA due date
—
Cloudanix analysis
A local user or program with access to a specialized Linux device interface may be able to crash the system after that device disconnects.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Use After Free
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This flaw is a use-after-free in the Linux kernel Greybus raw character device handling. When a Greybus connection is disconnected, the connection object can be freed while a later or concurrent write operation still attempts to use it. That stale pointer can cause a NULL pointer dereference or invalid memory access in kernel context, leading to a kernel panic. The demonstrated impact is local denial of service through system crash; reliable privilege escalation is not indicated by the available information.
Why it matters to the business
Systems using the Linux Greybus raw interface may be crashable by a local user or process with access to the affected character device, causing service interruption, node reboot, workload disruption, and potential availability issues for embedded, development, or specialized hardware environments that rely on Greybus. The EPSS score is currently very low and it is not listed in CISA KEV, so broad internet-scale exploitation is unlikely, but exposed multi-user systems or devices granting access to Greybus character devices should still prioritize remediation.
How an attack unfolds
An attacker first needs local ability to interact with the Greybus raw character device, typically by having access to the relevant device node or by compromising a process that already has that access. The attacker triggers or waits for a Greybus disconnect event that destroys the underlying connection object. After disconnect, the attacker writes to the raw character device. Because the write path can pass the previously freed connection object into Greybus operation creation and synchronous operation handling, the kernel dereferences invalid state and panics. The attack outcome is generally a local kernel crash and denial of service rather than remote code execution.
How to fix it
Apply the Linux kernel update that includes the Greybus raw synchronization fix for this issue. If vendor kernels are used, upgrade to the distribution, appliance, or device-vendor kernel release that backports the patch. Where immediate patching is not possible, reduce exposure by unloading or disabling unused Greybus-related modules such as gb_raw where operationally safe, restricting permissions on Greybus character devices, preventing untrusted local users or containers from accessing device nodes, and limiting hotplug/disconnect control to trusted components. No product-specific fixed versions were provided in the input, so remediation should be tracked through the relevant Linux distribution or device vendor advisory for CVE-2026-53024.
How to confirm the fix worked
Confirm that the running kernel package or vendor build includes the Greybus raw fix for write-after-disconnect synchronization. Validate by checking the vendor advisory, kernel changelog, or source tree for the patch that adds locking around raw write and disconnect paths to prevent use of a destroyed Greybus connection. On systems where Greybus is not needed, verify that Greybus raw modules are not loaded and that related device nodes are absent or inaccessible to untrusted users. After patching, confirm the host is booted into the updated kernel, not merely that the package is installed.
Typical attack path
- Gain local execution or control of a process on a Linux system with the Greybus raw kernel module/interface available.
- Obtain permission to write to the Greybus raw character device.
- Trigger, race, or wait for a Greybus disconnect that destroys the connection object.
- Write to the character device after disconnect.
- Cause the kernel write path to use the freed Greybus connection object.
- Crash the kernel, causing denial of service or system reboot.
How to detect it
Look for evidence of kernel panics, oops reports, or unexpected reboots involving the Greybus raw module and write operations after disconnect events. Relevant sources include kernel logs, journald, /var/log/kern.log, /var/log/messages, persistent crash dumps, kdump/vmcore analysis, systemd journal boot history, and EDR telemetry that records kernel crashes or module activity. Search for stack traces containing raw_write, gb_operation_create_common, gb_operation_sync_timeout, gb_connection_destroy, or the gb_raw module. Also review audit or device access logs, where available, for processes writing to Greybus character devices shortly before a crash. Because this vulnerability primarily causes a crash, forensic evidence may be limited to pre-reboot kernel logs and crash dumps; absence of logs after a hard panic does not prove absence of exploitation.
- BUG: kernel NULL pointer dereference, address: 0000000000000218
- gb_operation_create_common
- gb_operation_create_flags
- gb_operation_sync_timeout
- raw_write
- [gb_raw]
- gb_connection_destroy
- greybus: raw
- kernel panic
- Oops:
- Call Trace:
- vfs_write
- ksys_write
- entry_SYSCALL_64_after_hwframe
- /var/log/kern.log
- /var/log/messages
- /proc/vmcore
What your security team should do
- Inventory Linux systems and embedded devices where Greybus support or the gb_raw module is enabled.
- Prioritize patching systems that allow local shell access, run untrusted workloads, expose device nodes to containers, or use Greybus-connected hardware.
- Restrict write access to Greybus raw character devices to only trusted administrative or service accounts.
- Disable or blacklist unused Greybus raw functionality where it is not required.
- Review kernel crash logs for Greybus-related panics to determine whether the issue may already have been triggered.
- Ensure monitoring alerts on unexpected kernel panics, reboots, and oops messages involving gb_raw or Greybus functions.
- Track Linux distribution and device-vendor advisories for the exact fixed kernel versions applicable to deployed platforms.
The record
In the Linux kernel, the following vulnerability has been resolved: greybus: raw: fix use-after-free if write is called after disconnect If a user writes to the chardev after disconnect has been called, the kernel panics with the following trace (with CONFIG_INIT_ON_FREE_DEFAULT_ON=y): BUG: kernel NULL pointer dereference, address: 0000000000000218 ... Call Trace: <TASK> gb_operation_create_common+0x61/0x180 gb_operation_create_flags+0x28/0xa0 gb_operation_sync_timeout+0x6f/0x100 raw_write+0x7b/0xc7 [gb_raw] vfs_write+0xcf/0x420 ? task_mm_cid_work+0x136/0x220 ksys_write+0x63/0xe0 do_syscall_64+0xa4/0x290 entry_SYSCALL_64_after_hwframe+0x77/0x7f Disconnect calls gb_connection_destroy, which ends up freeing the connection object. When gb_operation_sync is called in the write file operations, its gets a freed connection as parameter and the kernel panics. The gb_connection_destroy cannot be moved out of the disconnect function, as the Greybus subsystem expect all connections belonging to a bundle to be destroyed when disconnect returns. To prevent this bug, use a rw lock to synchronize access between write and disconnect. This guarantees that the write function doesn't try to use a disconnected connection.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-119338 Tesseract is an open source OCR engine. CWE-416
- CVE-2026-119332 Ladybird is a truly independent web browser. CWE-416
- CVE-2026-119116 A use-after-free and double-free issue in the SetClient command handler of the… CWE-416
- CVE-2026-119378 SQLite before 3.54.0 contains a use-after-free vulnerability in the R-Tree extension that… CWE-416
- CVE-2026-119372 SQLite before 3.54.0 built with FTS3/FTS4 and SQLITE_ENABLE_FTS3_PARENTHESIS contains a… CWE-416
- CVE-2026-65586 Software installed and run as a non-privileged user may conduct improper GPU system calls… CWE-416
- CVE-2026-15466 Software installed and run as a non-privileged user may conduct improper GPU system calls… CWE-416
- CVE-2026-76031 Use after free in Input in Google Chrome prior to 156.0.8078.79 allowed a remote attacker… CWE-416