Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DADED2F6903 for ; Wed, 24 Dec 2025 12:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579296; cv=none; b=AQlvW/zLNzDxI7S5cD9fIGyvoK4BZkS4WhiDET53Smqp8qWBlL+IvuX6nK0lqhXI/8P0OoZCR6yRPqeonWDgMD1NDkSsINWTkSuRPDynJ5Q1vv+CK7cdEP5BsKsIHh+ghXpRf/c4ES+WFS6KN5xV8zyXJGssz1M786N2r7HgaRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579296; c=relaxed/simple; bh=SXkPyw6Njtzp3gKysY20xqtvlqK02xf3R80oI/FgJEY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O37wQDP5t1rxLzP6NnERWlDtvu49tXZEHrCdCI672Ctw4K7nbsAs5eGwk0HBD8GodajC6pTCOW8xGl/lCYtu/UUqT7piz71j6DZxW1EIhfYPZWcAF8V7SSOto0dKsJ1W9vklVlhxsGiFLpYmIEQ2NX4CQGLx4iLLlCMOOVWj1jw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P0YAKEzT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="P0YAKEzT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6594BC4CEFB; Wed, 24 Dec 2025 12:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579296; bh=SXkPyw6Njtzp3gKysY20xqtvlqK02xf3R80oI/FgJEY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=P0YAKEzT7In4N7J8y5R2OiS6dzucDhG7CnjEZru9EidClJAy7oe8liXPWVRpAcS4l FwmqWOQaxYBHKjC6uL489eJguiGhIw+Ioid5O8uE1yamXrz/Xl1YkNq+ly6cGlDscD E7GzKIBEduTsaob+FTRXWcPELpIbdtBqPbSnzG6E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50719: ALSA: line6: fix stack overflow in line6_midi_transmit Date: Wed, 24 Dec 2025 13:26:18 +0100 Message-ID: <2025122416-CVE-2022-50719-02d8@gregkh> X-Mailer: git-send-email 2.52.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=2793; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e0JPMeRFFMZDX9xWHHsfzJ+SPoVwEIkYVCuIW2/xxpg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnet1/s+TPL5NwcK43ID6sqAiU/W30oW1Wm6edqyLVHR yH16K+fHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRAD2G+dFRIo5rZmd/0X9u Uq5Z88H2SV5OEcOCU19edvH/5fr3+ZqZy+SJjJcv/b3hAQA= 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: line6: fix stack overflow in line6_midi_transmit Correctly calculate available space including the size of the chunk buffer. This fixes a buffer overflow when multiple MIDI sysex messages are sent to a PODxt device. The Linux kernel CVE team has assigned CVE-2022-50719 to this issue. Affected and fixed versions =========================== Fixed in 4.9.337 with commit b026af92b2cea907c780f7168c730c816cd33311 Fixed in 4.14.303 with commit 49cb7737e733013ec86aa77ed2e19b94a68eaa05 Fixed in 4.19.270 with commit 0c76087449ee4ed45a88b10017d02c6694caedb1 Fixed in 5.4.229 with commit 25e8c6ecb46843a955f254b8f0d77894e4a53dc4 Fixed in 5.10.163 with commit 66f359ad66d49f75d39ac729f9114dabf90b81bb Fixed in 5.15.87 with commit 0c9118e381ff538874e00fd4e66a768273c150fb Fixed in 6.0.17 with commit 61e4be4a60cc6de723f8c574ddbcb3025eb44cac Fixed in 6.1.3 with commit 389d34c2a8b52acc351fd932ed4bea41fee5a39b Fixed in 6.2 with commit b8800d324abb50160560c636bfafe2c81001b66c 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-2022-50719 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/usb/line6/midi.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/b026af92b2cea907c780f7168c730c816cd33311 https://git.kernel.org/stable/c/49cb7737e733013ec86aa77ed2e19b94a68eaa05 https://git.kernel.org/stable/c/0c76087449ee4ed45a88b10017d02c6694caedb1 https://git.kernel.org/stable/c/25e8c6ecb46843a955f254b8f0d77894e4a53dc4 https://git.kernel.org/stable/c/66f359ad66d49f75d39ac729f9114dabf90b81bb https://git.kernel.org/stable/c/0c9118e381ff538874e00fd4e66a768273c150fb https://git.kernel.org/stable/c/61e4be4a60cc6de723f8c574ddbcb3025eb44cac https://git.kernel.org/stable/c/389d34c2a8b52acc351fd932ed4bea41fee5a39b https://git.kernel.org/stable/c/b8800d324abb50160560c636bfafe2c81001b66c