Skip to main content
← All vulnerabilities
CVE-2026-97506

crypto: ixp4xx - fix buffer chain unwind on allocation failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.28, 2.6.29, 2.6.30, 5.15.222, 6.1.189, and 3 more
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: crypto: ixp4xx - fix buffer chain unwind on allocation failure chainup_buffers() builds a linked list of buffer descriptors for a scatterlist. If dma_pool_alloc() fails while constructing the list, the current code sets buf to NULL and later dereferences it unconditionally at the end of the function: buf->next = NULL; buf->phys_next = 0; This can lead to a null-pointer dereference on allocation failure. If the failure happens after part of the descriptor chain has already been allocated and DMA-mapped, the partially constructed chain also needs to be released. Fix this by terminating the partially constructed chain on allocation failure and letting the callers unwind it via their existing cleanup paths. Also fix ablk_perform() to preserve the hook pointers before checking for failure, so partially built chains can be freed correctly.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in d4007867be42d71795b78fa7f8ce7514dda9ca83; From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in 4918b0bd7d2baafb45d87dca9e322137c96005c2; From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in 8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991; From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in 04cb00106ca4d0fa9eca24cadc4eda6036e855c8; From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in 028a7f4f3d69e551f6bf9f728d547bbf4cfc707d; From 0d44dc59b2b434b29aafeae581d06f81efac7c83 · fixed in 25056329384010a8672552b134f609601dc4f80e; From 2.6.27.22 · fixed in 2.6.28; From 2.6.28.10 · fixed in 2.6.29; From 2.6.29.3 · fixed in 2.6.30

  • Linux Linux

    2.6.30

  • KernelLinux

    From 2.6.30 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53

References 6

git.kernel.org