{"id":"CVE-2026-97506","summary":"crypto: ixp4xx - fix buffer chain unwind on allocation failure","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ixp4xx - fix buffer chain unwind on allocation failure\n\nchainup_buffers() builds a linked list of buffer descriptors for a\nscatterlist. If dma_pool_alloc() fails while constructing the list, the\ncurrent code sets buf to NULL and later dereferences it unconditionally\nat the end of the function:\n\n  buf-\u003enext = NULL;\n  buf-\u003ephys_next = 0;\n\nThis can lead to a null-pointer dereference on allocation failure.\n\nIf the failure happens after part of the descriptor chain has already\nbeen allocated and DMA-mapped, the partially constructed chain also\nneeds to be released.\n\nFix this by terminating the partially constructed chain on allocation\nfailure and letting the callers unwind it via their existing cleanup\npaths. Also fix ablk_perform() to preserve the hook pointers before\nchecking for failure, so partially built chains can be freed correctly.","modified":"2026-11-13T04:07:19.395592786Z","published":"2026-09-24T16:04:55.504Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97506.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/028a7f4f3d69e551f6bf9f728d547bbf4cfc707d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/04cb00106ca4d0fa9eca24cadc4eda6036e855c8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25056329384010a8672552b134f609601dc4f80e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4918b0bd7d2baafb45d87dca9e322137c96005c2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4007867be42d71795b78fa7f8ce7514dda9ca83"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97506.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97506"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83"},{"fixed":"d4007867be42d71795b78fa7f8ce7514dda9ca83"},{"fixed":"4918b0bd7d2baafb45d87dca9e322137c96005c2"},{"fixed":"8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991"},{"fixed":"04cb00106ca4d0fa9eca24cadc4eda6036e855c8"},{"fixed":"028a7f4f3d69e551f6bf9f728d547bbf4cfc707d"},{"fixed":"25056329384010a8672552b134f609601dc4f80e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5a80273150a8a1725fa70418d106eb1f2ee8fd2f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82a8becb9c2c52fc5e67057a43aeded1f0731e7b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"68845515c8b11791b547a2838e22c27dfa3115ee"}]}],"versions":["v2.6.27.62","v2.6.27.61","v2.6.27.60","v2.6.27.59","v2.6.27.58","v2.6.27.57","v2.6.27.56","v2.6.27.55","v2.6.27.54","v2.6.27.53","v2.6.27.52","v2.6.27.51","v2.6.27.50","v2.6.27.49","v2.6.27.48","v2.6.27.47","v2.6.27.46","v2.6.27.45","v2.6.27.44","v2.6.27.43","v2.6.27.42","v2.6.27.41","v2.6.27.40","v2.6.27.39","v2.6.27.38","v2.6.27.37","v2.6.27.36","v2.6.27.35","v2.6.27.34","v2.6.27.33","v2.6.27.32","v2.6.27.31","v2.6.27.30","v2.6.27.29","v2.6.27.28","v2.6.27.27","v2.6.27.26","v2.6.27.25","v2.6.27.24","v2.6.27.23","v2.6.27.22","v2.6.28.10","v2.6.29.6","v2.6.29.5","v2.6.29.4","v2.6.29.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97506.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.27.22"},{"fixed":"2.6.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.6.28.10"},{"fixed":"2.6.29"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.6.29.3"},{"fixed":"2.6.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.6.30"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97506.json"}}],"schema_version":"1.9.2"}