{"id":"CVE-2026-93058","summary":"drm/msm: Only fini scheduler after successful init","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: Only fini scheduler after successful init\n\nmsm_ringbuffer_new() destroys a partially initialized ring through\nmsm_ringbuffer_destroy() when an allocation or scheduler setup step\nfails.\n\nIf drm_sched_init() fails before it finishes initializing the scheduler,\nthe failure path still calls drm_sched_fini(). That teardown path assumes\nthe scheduler work items, lists, and workqueue state were initialized.\n\nTrack successful scheduler initialization and call drm_sched_fini() only\nafter drm_sched_init() returned 0.\n\nThis issue was found by a static analysis checker and confirmed by\nmanual source review.\n\nPatchwork: https://patchwork.freedesktop.org/patch/738905/","modified":"2026-09-19T03:47:26.815643215Z","published":"2026-09-17T16:10:45.793Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93058.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09b360eb6ce345996a30fad8c86e9df80f41cd7e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d43e1bbfd43458b9242806eec77ea3b032134baf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2332abed2a4d3caa59052095dc16e4ce44791ea"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93058.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93058"},{"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":"1d8a5ca436ee4a28eec14cb813f790f7cdeeee19"},{"fixed":"d43e1bbfd43458b9242806eec77ea3b032134baf"},{"fixed":"09b360eb6ce345996a30fad8c86e9df80f41cd7e"},{"fixed":"e2332abed2a4d3caa59052095dc16e4ce44791ea"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93058.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93058.json"}}],"schema_version":"1.9.0"}