Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D35C3499F31 for ; Fri, 25 Sep 2026 10:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332640; cv=none; b=E8XUJpPvj+kZrqC/T5PICKttGcOEPQZQ3jDCsKn7iNqTJ+cI5oQ1yiExMC3Hfl+j7um7M9+Ynxo8U6YSxMueRgzrSAfQOBIC1XLo+rqXMCMITyfogQ43E15+QONvOGTH9+rUPlVoZNaAm0P19uj7AgIPe8Wh0OefiMXmBGu/n2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332640; c=relaxed/simple; bh=b70Ul+e6fhHB0lNNkmFOLAvOG31fklNeWbHyNjhtkNo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pxQXnR1aYzH6HXjoJ1a+Q50gcOvNH15qAYuF3vbtK1G6cgRIKrOMI9smxgcbJ1iMaiX2wRIj30ZGtDW7CXL+NbKjxKXOZDK6ULmLKkYHqxcYue+z/fmWCLLvcMTeK3Tzo/VJ+5IDRVGPOfVbt6QSJt8B4uQQsvOtksuaYQQLUIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YxRvcp/k; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YxRvcp/k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37D4E1F000FF; Fri, 25 Sep 2026 10:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332638; bh=Gp+yjOdw4zE0/uMktI83HzDI+DXiXZYUdsiE8lQBIts=; h=From:To:Cc:Subject:Date:Reply-To; b=YxRvcp/khok0ZaUrfgwMYbXQilc3grZi9tn3D0Gc5qEOt4ioYMNu07jkD2AHHUkUj 2BVOPpTejjRidq5Xv65UAUINO2iX/61e22hFCndUdIoXm+xHFoQIbmcCvZWZdyKoK4 2SSjfFCBICTA21OeZrN/+qG+q9KrE94ntqtz3quE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98086: ALSA: ump: do not touch legacy_rmidi before it exists Date: Fri, 25 Sep 2026 12:26:28 +0200 Message-ID: <2026092539-CVE-2026-98086-6192@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2741; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ypg6xPdazI6lWboo8+RC55zcBaSmtRORguy1IILDQGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvPN5hG5G8fdsuvKspam8cp5F9bqaJbI8GzZZLn18h uP6KZ97HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARnXkMC/ZfWf4sY2nO1zLe ONtZUuwRrie95jMsaIk1XS3a8UzxzJV1tZrG/pFzjQ03AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: do not touch legacy_rmidi before it exists snd_ump_parse_endpoint() sets ump->parsed on every exit, including error, before the caller attaches the legacy rawmidi device. ump_handle_ep_name_msg() then treats parsed as "legacy_rmidi is live" and calls ump_legacy_set_rawmidi_name(), which snprintf()s into ump->legacy_rmidi->name. If a UMP packet arrives in that window (IRQ path from snd_ump_receive), legacy_rmidi is still NULL (KASAN null-ptr-deref in snprintf). Guard the legacy helpers. parsed only means endpoint info was parsed, not that legacy_rmidi exists. The Linux kernel CVE team has assigned CVE-2026-98086 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 37e0e14128e0685267dc5c037bf655421a6ce2ea and fixed in 6.12.111 with commit 1c8e01792adf91879322f1ad752f1814de8b7e7d Issue introduced in 6.5 with commit 37e0e14128e0685267dc5c037bf655421a6ce2ea and fixed in 6.18.53 with commit 228075f31b141395233218712242913125ace4e0 Issue introduced in 6.5 with commit 37e0e14128e0685267dc5c037bf655421a6ce2ea and fixed in 7.2.7 with commit a4cef20cd473e0640fefd38094d4baac0ec76ae3 Issue introduced in 6.5 with commit 37e0e14128e0685267dc5c037bf655421a6ce2ea and fixed in 7.3-rc2 with commit adeee7187694719890aaffdc14b7e89cfd736f1d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98086 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/core/ump.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/1c8e01792adf91879322f1ad752f1814de8b7e7d https://git.kernel.org/stable/c/228075f31b141395233218712242913125ace4e0 https://git.kernel.org/stable/c/a4cef20cd473e0640fefd38094d4baac0ec76ae3 https://git.kernel.org/stable/c/adeee7187694719890aaffdc14b7e89cfd736f1d