CVE-2026-90335
NoneCVSS
—
EPSS
0.2%
Published
Sep 17, 2026
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel's handling of certain device connections can cause the whole system to crash if registration fails partway through.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL-pointer dereference occurs when cdev_del() is invoked on an uninitialized (NULL) cdev slot during TTY port cleanup after early registration failure.
Why it matters to the business
Systems relying on serial TTY devices may experience unexpected kernel crashes or service interruptions during device attach or detach operations.
How an attack unfolds
An attacker triggers a TTY device registration path that fails before cdev allocation, then forces the subsequent removal path that unconditionally calls cdev_del() on the NULL slot, resulting in a kernel panic.
How to fix it
Apply the upstream kernel patch that adds a NULL check before calling cdev_del() on the TTY cdev slot; rebuild and deploy the fixed kernel image to all affected systems.
How to confirm the fix worked
Inspect the tty core source for the conditional guard around cdev_del(); verify the running kernel version contains the commit that resolves the early-registration failure path.
Typical attack path
- Trigger TTY registration failure before cdev allocation (e.g., via malformed serial configuration or resource exhaustion)
- Ensure the serial core retains the port for later setserial access
- Invoke port removal or module unload that reaches the unconditional cdev_del(NULL) call
- Kernel dereferences NULL pointer and panics
How to detect it
Search kernel logs and dmesg for oops or panic messages referencing cdev_del and tty registration failure; correlate with serial port attach events.
- cdev_del.*NULL
- tty_register_device.*failed.*cdev
- Unable to handle kernel NULL pointer dereference.*cdev_del
What your security team should do
- Prioritize kernel updates on systems exposing serial TTY interfaces
- Monitor kernel logs for NULL dereference oops in tty/serial paths
- Test serial device attach/detach sequences after patching to confirm stability
The record
In the Linux kernel, the following vulnerability has been resolved: tty: skip cdev_del() when no cdev is registered TTY device registration can fail before a cdev is allocated. Serial core keeps the port so setserial can still use it, and later removal passes the NULL cdev slot to cdev_del(), causing a NULL-pointer dereference. Only delete the cdev when the slot is not NULL.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|