{"id":"AZL-102629","summary":"CVE-2026-93049 affecting package kernel 6.6.150.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: mtdswap: Avoid freeing registered blktrans device twice\n\nIn mtdswap_add_mtd(), debugfs setup failure after successful blktrans\nregistration can free mbd_dev twice.\n\nadd_mtd_blktrans_dev() initializes the blktrans device reference and\npublishes the disk. Once that succeeds, del_mtd_blktrans_dev() tears the\ndisk down and drops the blktrans reference; when that reference reaches\nzero, blktrans_dev_release() frees the mtd_blktrans_dev.\n\nThe debugfs failure path called del_mtd_blktrans_dev(mbd_dev), then fell\nthrough the common cleanup label and called kfree(mbd_dev) again. Clear\nthe local pointer after deregistration so the common cleanup can still\nrelease the mtdswap state without freeing the blktrans object twice.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review.","modified":"2026-09-19T05:33:49Z","published":"2026-09-17T17:17:58Z","upstream":["CVE-2026-93049"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93049"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.150.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-102629.json"}}],"schema_version":"1.9.0"}