{"id":81642,"date":"2026-07-07T16:46:29","date_gmt":"2026-07-07T13:16:29","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-10659-null-pointer-dereference-in-zephyr-dhara-ftl-disk-driver-on-flash-read-error-during-journal-resume\/"},"modified":"2026-07-07T16:46:29","modified_gmt":"2026-07-07T13:16:29","slug":"cve-2026-10659-null-pointer-dereference-in-zephyr-dhara-ftl-disk-driver-on-flash-read-error-during-journal-resume","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-10659-null-pointer-dereference-in-zephyr-dhara-ftl-disk-driver-on-flash-read-error-during-journal-resume\/","title":{"rendered":"CVE-2026-10659 &#8211; NULL pointer dereference in Zephyr Dhara FTL disk driver on flash read error during journal resume"},"content":{"rendered":"<p>CVE ID :CVE-2026-10659<\/p>\n<p>  Published : July 7, 2026, 1:16 p.m. | 31\u00a0minutes ago<\/p>\n<p>  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, &amp;found, NULL), which forwards the NULL pointer into dhara_nand_read(). This path runs during disk_ftl_access_init() -&gt; 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&#8217;s NULL-safe dhara_set_error() helper. Affects Zephyr v4.4.0, where the driver was introduced.<\/p>\n<p>  Severity: 4.7 | MEDIUM<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-10659 Published : July 7, 2026, 1:16 p.m. | 31\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81642","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81642"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81642\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}