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 560704CB5B for ; Tue, 9 Dec 2025 00:03:23 +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=1765238603; cv=none; b=E1BHmFD7DIspjrwJbGuuB56BFgMafZAKXdubzOOhfF0gb7g19FjfV7WU/EMaBkNq6YeELoagi7+Y/CFBRWUs0g1ZosEqNOHuR40tfgLM17o5TpVIQqZ4rHJlpEATOpxDuRDTqAVcWpBrvQYHqAMPzODJmz5D0c3koB78G25zF6Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238603; c=relaxed/simple; bh=8k818OtrhsKl/d8jZIKc19FkT+J4TRzGKu6EwjbBEts=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n0w+83faJgljLqZerSYaf3zD7//ibqkOG51gL97O/mO2Fm6v857M7uLqx3Er7b5Z1tKT8r9Q8qffZpmD94ueAxK6LBtAGvnBlWIWD8kTVauCpC41hu3u80SJm1htT0omCBIrRpW0jzXNFfEhMiVvJsKGcaRnrptub3xF89z5l50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j1WhqrSH; 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="j1WhqrSH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE6DDC113D0; Tue, 9 Dec 2025 00:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238603; bh=8k818OtrhsKl/d8jZIKc19FkT+J4TRzGKu6EwjbBEts=; h=From:To:Cc:Subject:Date:Reply-To:From; b=j1WhqrSH7u3EHZx6+tqIc9CD9SZJqr3FPNg65pgDy6v8+k6SBLJo9cr8dx8WLNwax TjHyer1eZXB1tK55FNm+zzESli6kor9MMx3HS2kdSMVPNC66E5gly93LggvHDqfkrr gKg64iy9eCh75MK0v4M30lx0fc8JNc5atuf9THgc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53786: dm flakey: fix a crash with invalid table line Date: Tue, 9 Dec 2025 09:02:07 +0900 Message-ID: <2025120940-CVE-2023-53786-3c1a@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=2863; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AX+7Ic+ejTYAM1pm1LYbJzgMUKIiwzYjvuLZre9dBwA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaU98VFvWvnJL/FdaxJZx64hAZ1G1iKKKw/2mpgOvT Xg9l5t3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQ+PGaYn/C3XjOh3//b38yY UwwJ/2x3se0uZ5gflSSlsfDOhhsTT0l6+cevSJo2Kb4AAA== 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: dm flakey: fix a crash with invalid table line This command will crash with NULL pointer dereference: dmsetup create flakey --table \ "0 `blockdev --getsize /dev/ram0` flakey /dev/ram0 0 0 1 2 corrupt_bio_byte 512" Fix the crash by checking if arg_name is non-NULL before comparing it. The Linux kernel CVE team has assigned CVE-2023-53786 to this issue. Affected and fixed versions =========================== Fixed in 4.14.315 with commit f95cb1526669ccdf7eb12eefd57a893953e3595f Fixed in 4.19.283 with commit 12849ed107c0b2869fb775c81208050899006f07 Fixed in 5.4.243 with commit 337b7af273562b73c46ef77a724604ad139ca762 Fixed in 5.10.180 with commit a1e3fffe02e05c05357af91364ac0fc1ed425b5b Fixed in 5.15.111 with commit f76fcb9d43ec014ac4a1bb983768696d5b032df9 Fixed in 6.1.28 with commit cb874a190f3f7c3c3fa5b979bee7a3b8cc3a19cc Fixed in 6.2.15 with commit 83b4e3d878ea6be9aec1d5a1ab177c766c64d1a0 Fixed in 6.3.2 with commit 8258d84a7917aeece773716518deadb7ad776cb7 Fixed in 6.4 with commit 98dba02d9a93eec11bffbb93c7c51624290702d2 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-2023-53786 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: drivers/md/dm-flakey.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/f95cb1526669ccdf7eb12eefd57a893953e3595f https://git.kernel.org/stable/c/12849ed107c0b2869fb775c81208050899006f07 https://git.kernel.org/stable/c/337b7af273562b73c46ef77a724604ad139ca762 https://git.kernel.org/stable/c/a1e3fffe02e05c05357af91364ac0fc1ed425b5b https://git.kernel.org/stable/c/f76fcb9d43ec014ac4a1bb983768696d5b032df9 https://git.kernel.org/stable/c/cb874a190f3f7c3c3fa5b979bee7a3b8cc3a19cc https://git.kernel.org/stable/c/83b4e3d878ea6be9aec1d5a1ab177c766c64d1a0 https://git.kernel.org/stable/c/8258d84a7917aeece773716518deadb7ad776cb7 https://git.kernel.org/stable/c/98dba02d9a93eec11bffbb93c7c51624290702d2