{"id":"CVE-2026-139526","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:29.007","lastModified":"2026-11-30T14:19:29.007","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: switchtec-dma: fix double-free in switchtec_dma_free_desc()\n\nswitchtec_dma_free_desc() frees swdma_chan->hw_sq, hw_cq, and every\ndesc_ring[] entry without clearing the pointers afterward. If\nswitchtec_dma_alloc_chan_resources() fails partway through and calls\nit during unwind, then a later retry of alloc_chan_resources() fails\nin switchtec_dma_alloc_desc() before reallocating one of those\npointers, its own failure path calls switchtec_dma_free_desc() again\nand frees the same, already-freed pointers a second time.\n\nNULL out each pointer as it's freed so a subsequent call is a no-op\nfor anything already released."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/dma/switchtec_dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"30eba9df76adf1294e88214dbf9cea402fa7af37","lessThan":"8cba9a0fb162748b6d5c73628d1713a2f895c972","versionType":"git","status":"affected"},{"version":"30eba9df76adf1294e88214dbf9cea402fa7af37","lessThan":"bdfd76514bd11301f4e67d150485ab696c26d83d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/dma/switchtec_dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/8cba9a0fb162748b6d5c73628d1713a2f895c972","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/bdfd76514bd11301f4e67d150485ab696c26d83d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}