Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792756595; b=xDGCXn4uz81iSgEIawiR8WxVSd0tavJN0VQ8SoO5Y34/kmmhjdaKeZ1czprFro3xd55G HUfQDhFaw1Z+Aaj1TT9bABaHuMeIjuTyyvfHZKTHNmYq3ry7zWTW+U0bEaBjKH9tQNMH2 4ffEP6iQG97ndtjTny8D3cfR6qp4TEHpc7hjMC2yJ/ThjuJICQwyo9xPzi8xpHOdaDJtL VSIDGyi+TCD81Gt0cvyLnluo3AEkBTEQkNXnn7B/UVoWX7huCH/KRgisRDObom4vTRJEZ Ph3QYhWpzigqEFlZKpxwVF5kQjuF/srgqE9tOsKAdt3wSYh0zHT3j5HBcFi1I003tYw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756595; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=/QMbWpkHtQgayivxYb5w0uKgQ2Wx3A2YRxE9vk7cge8=; b=t2dA5/9m3wNwaCo0ZxgdOshMy8xUb2o98Lp5EjKrNXdQr6mB7oABT1TroM6RLkvcDkAo ehT6+iATmqgxAWDfhTtaw7QiPaJGpM7xjPcYVUeEWWWMfPPN4KCnF4I2Lt/mItOMs03WH 1AUHJbEs9bubOG96SL1QLp62zTYkqQTn5+EVFZScMlDGPb1w86287F9T0A8U3GkZfWJbf RCY5jk1iqsK0RFi3Br8rgA9IR2k4EPGLllvi4JkE38eGi8a6UrVDPFJQqgc2Kabj4EoeR fQdmEjgvGdGOOcC7DHSJT9GeckotUQWElS2Zd0tf6dTsIEGFI+CjQ7Ruc2SyxoRrRFg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jDPZdWVC; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AF70D606A31A for ; Fri, 23 Oct 2026 11:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jDPZdWVC Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CB481F01825; Fri, 23 Oct 2026 11:56:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756594; bh=/QMbWpkHtQgayivxYb5w0uKgQ2Wx3A2YRxE9vk7cge8=; h=From:To:Cc:Subject:Date:Reply-To; b=jDPZdWVCp1Cw4GUP1Tc89vNTaM8iND1z2n+1ZoVHKNbeyMXsxpYOcWIHyVnPUmEme /tFdF6hxy9NGpeNgJnk4TB1XQ/lkQmksPk+4rOVHZqCJqJ+ln9GzLnueX7Sls/rqsy Y+Bp4IE+nCNz2Mi4/AHCGtZ0n5cw11vw2D72f7tY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98912: ALSA: seq: oss: Reject reads that cannot fit the next event Date: Fri, 23 Oct 2026 13:54:25 +0200 Message-ID: <2026102314-CVE-2026-98912-6495@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3014; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sGGqgPE9XoM9ToAQdS1vDJOn66o2r1QdFrOzfMnZz1w=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ71G6YE7rxT7/KLf6Wh3H6/tm63Wk975geVXz8oX 6hkOfu9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbiG8mwYMKcwyzPdnyLXn1X +WnQiRPpnvOibzLM9yjqmrbKZefGndeTYu+ujhVccKEgFgA= 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: oss: Reject reads that cannot fit the next event snd_seq_oss_read() checks whether the next queued OSS sequencer event fits in the remaining userspace buffer before removing it from the read queue. The check is inverted. It currently stops when the event is smaller than the remaining buffer, so a normal 4-byte event is not copied for an 8-byte read buffer. Conversely, an 8-byte event can be copied for a smaller read count. Break only when the remaining userspace buffer is smaller than the next event, and report -EINVAL if no complete event has been copied. This prevents an undersized read from looking like end-of-file while leaving the event queued for a later read with a large enough buffer. The Linux kernel CVE team has assigned CVE-2026-98912 to this issue. Affected and fixed versions =========================== Fixed in 5.10.271 with commit b3b4b647313757a275be7f7f9d0415d0a90acf73 Fixed in 5.15.222 with commit 591226398c1f93bd994678237ff0be229b19d3bb Fixed in 6.1.189 with commit 372bec8a01e2ab8eaa6851bdc346ede5f82dba99 Fixed in 6.6.158 with commit 2922cf2583e590f51bed613a6fcd27b9aea83674 Fixed in 6.12.111 with commit 7483fd5f6990f43cc266e94b3f50ce84856ebb97 Fixed in 6.18.53 with commit 20b8520d1ef996173065f7abdde47b99136c0785 Fixed in 7.2 with commit 611f538253d970f4d152003841544e875828d015 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-98912 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/oss/seq_oss_rw.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/b3b4b647313757a275be7f7f9d0415d0a90acf73 https://git.kernel.org/stable/c/591226398c1f93bd994678237ff0be229b19d3bb https://git.kernel.org/stable/c/372bec8a01e2ab8eaa6851bdc346ede5f82dba99 https://git.kernel.org/stable/c/2922cf2583e590f51bed613a6fcd27b9aea83674 https://git.kernel.org/stable/c/7483fd5f6990f43cc266e94b3f50ce84856ebb97 https://git.kernel.org/stable/c/20b8520d1ef996173065f7abdde47b99136c0785 https://git.kernel.org/stable/c/611f538253d970f4d152003841544e875828d015