CVE-2023-54027
Null Pointer Dereference in Linux IIO Core Causes Kernel Crash
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a NULL pointer dereference in the Linux kernel's Industrial I/O (IIO) subsystem. Specifically, after a commit changed how device nodes are handled, if an IIO device has no parent device, the kernel attempts to access a NULL pointer during device registration, causing a crash (BUG). This happens, for example, when creating a new entry in configfs for the IIO dummy driver. The fix prevents invalid memory access when the parent device is NULL, allowing the IIO dummy driver to work correctly without requiring a parent device.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference when registering certain IIO devices without a parent device. This can lead to system instability or denial of service, especially if the affected driver or configuration is used. It may disrupt device functionality and impact system reliability.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by attempting to create a new entry in the IIO dummy device configfs directory and observing if a kernel NULL pointer dereference occurs. For example, running the command: mkdir /sys/kernel/config/iio/devices/dummy/foo may trigger the bug and cause a kernel crash if the system is vulnerable.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves applying the patch that prevents invalid memory access when the parent device is NULL in the IIO dummy driver. Until the patch is applied, avoid creating new entries in /sys/kernel/config/iio/devices/dummy to prevent triggering the NULL pointer dereference.