{"id":"CVE-2026-97506","aliases":["CVE-2026-97506"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: ixp4xx - fix buffer chain unwind on allocation failure","summary":"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->next = NULL;\n  buf->phys_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->next = NULL;\n  buf->phys_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.","source":"cvelist"}],"published":"2026-09-24T16:04:55.504Z","modified":"2026-10-03T11:17:59.963Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"d4007867be42d71795b78fa7f8ce7514dda9ca83","status":"affected"},{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"4918b0bd7d2baafb45d87dca9e322137c96005c2","status":"affected"},{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991","status":"affected"},{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"04cb00106ca4d0fa9eca24cadc4eda6036e855c8","status":"affected"},{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"028a7f4f3d69e551f6bf9f728d547bbf4cfc707d","status":"affected"},{"type":"git","introduced":"0d44dc59b2b434b29aafeae581d06f81efac7c83","fixed":"25056329384010a8672552b134f609601dc4f80e","status":"affected"},{"type":"git","version":"5a80273150a8a1725fa70418d106eb1f2ee8fd2f","status":"affected"},{"type":"git","version":"82a8becb9c2c52fc5e67057a43aeded1f0731e7b","status":"affected"},{"type":"git","version":"68845515c8b11791b547a2838e22c27dfa3115ee","status":"affected"},{"type":"semver","introduced":"2.6.27.22","fixed":"2.6.28","status":"affected"},{"type":"semver","introduced":"2.6.28.10","fixed":"2.6.29","status":"affected"},{"type":"semver","introduced":"2.6.29.3","fixed":"2.6.30","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.30","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.30","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d4007867be42d71795b78fa7f8ce7514dda9ca83","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4918b0bd7d2baafb45d87dca9e322137c96005c2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c37bc8d6a6f77bf9593fb1bcab6c14c7cf02991","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04cb00106ca4d0fa9eca24cadc4eda6036e855c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/028a7f4f3d69e551f6bf9f728d547bbf4cfc707d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/25056329384010a8672552b134f609601dc4f80e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97506","url":"https://www.cve.org/CVERecord?id=CVE-2026-97506","licence":"CVE Terms of Use","modified":"2026-10-03T10:59:03.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97506","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97506","licence":"Public domain","modified":"2026-10-03T11:17:59.963Z"}],"updatedAt":"2026-11-25T22:59:40.871Z","epss":{"score":0.00161,"percentile":0.05495,"date":"2026-12-01T12:00:22.000Z"}}