From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796385623; b=NZs9Eh4Lt6GxSGwQGxO0s9RDoH4MVQ+uvoXGB7nrZbUKVkg/Hm6RlnFha+/839EhoZKf m+m/Y3/zsOirXYylnTBvhZ711PaYEFns2kOMdEALk+6QDRMUKcBKenCMjJFEhsi5pWp44 ygpPB71Nui1UOagd5e94nfEwX0JIH86Lv09QjiB0SKBm9e01U0k5NEKwfk9Wnwf0ywlPy 7a9o2IEOt5d4y1wxEPPDC2KjScGd7Ja6iRZAB9A40P0YOD6y/kPh9SsRyYbGeHGvSsEGp R9zri+U5+3pmVYxSRCAalSWdwH8P1FgB6Pe0xGmyiLoIA/1ejW1rMk4fmog+XMR3CoQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796385623; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=PepEfbySiqFsnk7oETBvlDAaHl9DAociVxo5ouiC7SY=; b=LSP5xsOlk0r+KYrVC15rHzbRkkzpcgyTmyQtYDF6bs2W4B0AH/1un30Cs5cyrxTLTsJH goDVRO7lGxJF//dG3izN9HmA7mJ8emcut2xgXAt6rV9PTHz+rwIxqNicbFJlDiFN+MwPl qgMZ1klUxPOUX7qRzkabrw1Lo1Sze+dqnjg5Y2pjC1wIOI5ok/u0gRvotI1B4QRGtVHSG 00iaRQMjdMRj4WLyi2lVdxsyltr9tndBGJjph7+ySU68EL9/cRLPmkFO7XJUt0tHoAlGo KgphHB4r+IzIZDg/0M+2KmluG9xCGD/KbtYtS6NBj8rd20dyt3Mj0QnA4qjL3I7KIJw== 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=LbFrPq6Z; 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 0AEE4606A33A; Fri, 4 Dec 2026 12:00:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=LbFrPq6Z Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C0D01F000C2; Fri, 4 Dec 2026 12:00:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796385622; bh=PepEfbySiqFsnk7oETBvlDAaHl9DAociVxo5ouiC7SY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=LbFrPq6ZI/jpNJbO8C4mglwIIc2tEbYNCMhL5AtsuWmqEVIw+JokeYlIyqNMS0ojC rOLHO0R0kVdTYObOJQCqdsIWGoNS0GfL9MeuvifubzaOw18+6PrHFeeuV0lx+5IBm/ 4He0NT0juQun8BDtXB3pJZRIbriFpoCjAyzGyQmI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mikulas Patocka Subject: [PATCH 6.6 0623/1167] dm-thin: fix parsing of feature arguments Date: Fri, 4 Dec 2026 19:00:50 +0900 Message-ID: <20261204100718.294737251@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikulas Patocka commit c557fa19a83efad1e20eb733df821b745a4589ff upstream. "struct dm_arg _args" limits the number of arguments to 4, but there are 5 possible arguments that can be specified. Signed-off-by: Mikulas Patocka Assisted-by: Claude:claude-opus-5 Cc: stable@vger.kernel.org Fixes: 787a996cb251 ("dm thin: add error_if_no_space feature") Signed-off-by: Greg Kroah-Hartman --- drivers/md/dm-thin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/md/dm-thin.c +++ b/drivers/md/dm-thin.c @@ -3153,7 +3153,7 @@ static int parse_pool_features(struct dm const char *arg_name; static const struct dm_arg _args[] = { - {0, 4, "Invalid number of pool feature arguments"}, + {0, 5, "Invalid number of pool feature arguments"}, }; /*