Vulnerability Description
The Dhara flash translation layer disk driver (drivers/disk/ftl_dhara.c) implemented the dhara_nand_ callbacks so that, on a flash error, the error code was written unconditionally through the caller-supplied dhara_error_t err pointer (e.g. *err = DHARA_E_ECC in dhara_nand_read, and similar in dhara_nand_erase/prog/copy). The upstream Dhara library calls these callbacks with err == NULL along its journal-resume binary search: find_last_checkblock() invokes find_checkblock(j, mid, &found, NULL), which forwards the NULL pointer into dhara_nand_read(). This path runs during disk_ftl_access_init() -> dhara_map_resume() whenever the FTL disk is mounted/initialised. If a flash read error (uncorrectable ECC, bad block, controller error) occurs on one of the probed checkpoint pages, the driver dereferences and writes to NULL, faulting the kernel (denial of service). The trigger is conditioned on the NAND medium content/health, which can be influenced by media wear, induced faults, or a corrupted/crafted on-flash image. The fix routes all error assignments through the library's NULL-safe dhara_set_error() helper. Affects Zephyr v4.4.0, where the driver was introduced.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Zephyrproject | Zephyr | 4.4.0 |
Related Weaknesses (CWE)
References
- https://github.com/zephyrproject-rtos/zephyr/commit/a8371b0d4719efe37a66e2abb618Patch
- https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-q28v-3729-ExploitPatchVendor Advisory
FAQ
What is CVE-2026-10659?
CVE-2026-10659 is a vulnerability with a CVSS score of 4.7 (MEDIUM). The Dhara flash translation layer disk driver (drivers/disk/ftl_dhara.c) implemented the dhara_nand_ callbacks so that, on a flash error, the error code was written unconditionally through the caller-...
How severe is CVE-2026-10659?
CVE-2026-10659 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-10659?
Check the references section above for vendor advisories and patch information. Affected products include: Zephyrproject Zephyr.