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 D265B37F30C for ; Sun, 18 Oct 2026 15:59:02 +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=1792339144; cv=none; b=MIEePfRJdaOCNQpKjf4FmBM10b0KAlrtiB/UtdUlmZNs6G5WWd3HdkH6H1uUHoKtoAPlynU/gFdXzCg/cqXjlXPfTZuNZk2EseCDEjvLeLcgLLLNbZxNQS6mgwL36aQjHUYxJJEhNJwVtQXbhmHNg11b6hzFhcLhiAMEXltf+VU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792339144; c=relaxed/simple; bh=IoysXSzBjaS3uZBOaC1cZRDo2Yper7oFk/55TM6yAWI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GAzAcs8hSIlsIZW6cfxlc/+odO/uApH69OSGUkUKIQ1p5huK40RqbDnDzFP3Yv3BehuPoXyOfYDRxx6ytzBdkX7n0fpnJrotlXiOz57xM7E5WPzmTMTUrWjxgWGP/rWczhIY17sO6X4B4hbhuTMgKQP/lcRXNzznL2dW7J/lI5k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EisX07KM; 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="EisX07KM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 478261F000C4; Sun, 18 Oct 2026 15:58:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792339142; bh=XmbrCJdEAi0IcJ75uoGpxCw5uSJbNYMzM16Y5IXsXWc=; h=From:To:Cc:Subject:Date:Reply-To; b=EisX07KMRLld4QMT/OVAkh3LaECp+OVtG5jBQGE2nIN6JeXWG+am/DA4PnXUl5szk mO/XVQA/l3JuWyChhG7GkbJnTgeecxUWj4TE7/hoCDXp9UcZkY28pAqvCAN9RvgRyk MXXKcvD0CeCH6+Va46f9wo7ckaJEV3pLjHWq/TkE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98742: ALSA: seq: Serialize compat port-info ioctls Date: Sun, 18 Oct 2026 17:45:17 +0200 Message-ID: <2026101813-CVE-2026-98742-0d67@gregkh> X-Mailer: git-send-email 2.56.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=3585; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O+9h94DDvAdDIBtclL0dAu4fv1J5sP6/Nbs7nvxiHeI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXvryZs+MnxpmuOBu0MXUCp3b2zYefuz3z2TST7ffe z7yv1Iq7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJqB5nmO8a8zeN8VNzk9K/ x229d66e1Qx+dIlhwUWd60H+1r9uhGqIhT0JffwozWcfNwA= 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: seq: Serialize compat port-info ioctls The native sequencer ioctl path serializes handler calls with client->ioctl_mutex, but the translated port-info compat path invokes the same handlers through snd_seq_kernel_client_ctl() without taking that mutex. This lets concurrent compat CREATE_PORT requests pass the port-count check before any request reaches the serialized insertion. The computed integer port index can then exceed the address field range and wrap to an existing index. Subsequent subscriber teardown can resolve the duplicate address to the wrong port and access a freed subscriber. Take ioctl_mutex while dispatching converted port-info requests, matching the native ioctl path. All translated port-info commands share this helper, so their accesses to the client port state are serialized as well. The Linux kernel CVE team has assigned CVE-2026-98742 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 and fixed in 6.12.113 with commit 413211dd31cb2ef2fc99fb0aa1a037a97509502c Issue introduced in 4.15 with commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 and fixed in 6.18.56 with commit fc5c52848e405b6efb073db5035bb9ebaed11ec4 Issue introduced in 4.15 with commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 and fixed in 7.2.10 with commit 702d92f361f65d9698c473c7599d471395dc4341 Issue introduced in 4.15 with commit b3defb791b26ea0683a93a4f49c77ec45ec96f10 and fixed in 7.3-rc6 with commit 95b2e0361c88753afa030c10698be0a1a5b67650 Issue introduced in 3.2.99 with commit d6693160906d55ba376bf0b88b7c129762170162 Issue introduced in 3.16.54 with commit 02cbce8576a31df8fca54aaec91ee081076bd79d Issue introduced in 3.18.94 with commit 6aab3aa52366a0051e5abf8aae4616c42053fd8e Issue introduced in 4.1.50 with commit f8a38ab4cd9624fc5ac8a7f965c7b20f5b62c03c Issue introduced in 4.4.115 with commit 623e5c8ae32b39cc8baea83478695dc624935318 Issue introduced in 4.9.78 with commit e4ff9f294629b65df3f7982cd4faf86b2856b9d7 Issue introduced in 4.14.15 with commit c3162384aed4cfe3f1a1f40041f3ba8cd7704d88 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-98742 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/seq/seq_compat.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/413211dd31cb2ef2fc99fb0aa1a037a97509502c https://git.kernel.org/stable/c/fc5c52848e405b6efb073db5035bb9ebaed11ec4 https://git.kernel.org/stable/c/702d92f361f65d9698c473c7599d471395dc4341 https://git.kernel.org/stable/c/95b2e0361c88753afa030c10698be0a1a5b67650