Impact
An out‑of‑bounds write flaw in the NXP MCUX LPADC ADC driver causes the driver to write beyond the user‑supplied buffer without performing a buffer size check. The driver assigns the buffer supplied by a user‑mode thread and then writes 16‑bit samples into it one channel at a time during each sampling round, even for extra samplings that are not accounted for in the original buffer size. Because the driver operates in kernel mode, the writes occur without the protection of the MPU, corrupting adjacent kernel memory or thread stacks. This memory corruption can provide an unprivileged user‑mode thread with a practical privilege‑escalation or denial‑of‑service vector.
Affected Systems
The vulnerability exists in the Zephyr operating system when the NXP MCUX LPADC driver is compiled with the CONFIG_USERSPACE configuration enabled. Any Zephyr build that includes this driver and exposes it to user space is affected. No specific release version is listed, so the flaw may exist in current and future releases that do not incorporate the adc_sequence_validate_buffer() fix.
Risk and Exploitability
The CVSS base score of 7.8 indicates high severity. The EPSS score is not available, so the exact exploitation likelihood cannot be quantified but the flaw is not trivial to mitigate: a user‑mode thread with device access can provide an oversized buffer or request many extra samplings, causing writes beyond the buffer bounds in kernel‑mode interrupt or DMA callbacks. The resulting kernel‑memory corruption can be leveraged to alter critical kernel data or thread stacks, enabling privilege escalation or denial of service. In builds without CONFIG_USERSPACE the risk is limited to a robustness defect, but the underlying driver flaw remains present and should still be corrected.
OpenCVE Enrichment