{"id":77157,"date":"2026-02-14T20:45:58","date_gmt":"2026-02-14T17:15:58","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-23207-spi-tegra210-quad-protect-curr_xfer-check-in-irq-handler\/"},"modified":"2026-02-14T20:45:58","modified_gmt":"2026-02-14T17:15:58","slug":"cve-2026-23207-spi-tegra210-quad-protect-curr_xfer-check-in-irq-handler","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-23207-spi-tegra210-quad-protect-curr_xfer-check-in-irq-handler\/","title":{"rendered":"CVE-2026-23207 &#8211; spi: tegra210-quad: Protect curr_xfer check in IRQ handler"},"content":{"rendered":"<p>CVE ID : CVE-2026-23207<\/p>\n<p>Published :  Feb. 14, 2026, 5:15 p.m. | 1\u00a0hour, 14\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>spi: tegra210-quad: Protect curr_xfer check in IRQ handler<\/p>\n<p>Now that all other accesses to curr_xfer are done under the lock,<br \/>\nprotect the curr_xfer NULL check in tegra_qspi_isr_thread() with the<br \/>\nspinlock. Without this protection, the following race can occur:<\/p>\n<p>  CPU0 (ISR thread)              CPU1 (timeout path)<br \/>\n  &#8212;&#8212;&#8212;&#8212;&#8212;-               &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n  if (!tqspi-&gt;curr_xfer)<br \/>\n    \/\/ sees non-NULL<br \/>\n                                 spin_lock()<br \/>\n                                 tqspi-&gt;curr_xfer = NULL<br \/>\n                                 spin_unlock()<br \/>\n  handle_*_xfer()<br \/>\n    spin_lock()<br \/>\n    t = tqspi-&gt;curr_xfer  \/\/ NULL!<br \/>\n    &#8230; t-&gt;len &#8230;        \/\/ NULL dereference!<\/p>\n<p>With this patch, all curr_xfer accesses are now properly synchronized.<\/p>\n<p>Although all accesses to curr_xfer are done under the lock, in<br \/>\ntegra_qspi_isr_thread() it checks for NULL, releases the lock and<br \/>\nreacquires it later in handle_cpu_based_xfer()\/handle_dma_based_xfer().<br \/>\nThere is a potential for an update in between, which could cause a NULL<br \/>\npointer dereference.<\/p>\n<p>To handle this, add a NULL check inside the handlers after acquiring<br \/>\nthe lock. This ensures that if the timeout path has already cleared<br \/>\ncurr_xfer, the handler will safely return without dereferencing the<br \/>\nNULL pointer.<\/p>\n<p>Severity: 0.0 | NA<\/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-23207 Published : Feb. 14, 2026, 5:15 p.m. | 1\u00a0hour, 14\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: spi: tegra210-quad: Protect curr_xfer check in IRQ handler Now that all other accesses to curr_xfer are done under the lock, protect the curr_xfer NULL check in tegra_qspi_isr_thread() with &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-77157","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77157","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=77157"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/77157\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=77157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=77157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=77157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}