[{"id":3673931,"web_url":"http://patchwork.ozlabs.org/comment/3673931/","msgid":"<e50b019e071d66509cc24f98c7900fee@manguebit.org>","list_archive_url":null,"date":"2026-04-07T03:03:14","subject":"Re: [PATCH 0/2] smb: some potential bugfixes","submitter":{"id":91025,"url":"http://patchwork.ozlabs.org/api/people/91025/","name":"Paulo Alcantara","email":"pc@manguebit.org"},"content":"Greg Kroah-Hartman <gregkh@linuxfoundation.org> writes:\n\n> I spent the time exercising some new fuzzing tools on the ksmbd and smb\n> code purely because it's something that is simple to set up and test\n> locally with virtual machines, and in doing so, potentially found some\n> minor problems for when you have an \"untrusted\" client.\n>\n> Here's some fixes for what I happened to notice.  They pass my very\n> limited testing here, but please don't trust them at all and verify that\n> I'm not just making this all up before accepting them.\n\nReviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>","headers":{"Return-Path":"\n <linux-cifs+bounces-10688-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-cifs@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=manguebit.org header.i=@manguebit.org header.a=rsa-sha256\n header.s=dkim header.b=8EiHIFsH;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10688-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=manguebit.org header.i=@manguebit.org\n header.b=\"8EiHIFsH\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=143.255.12.172","smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=manguebit.org","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=manguebit.org"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fqWHB2S4vz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 13:03:34 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 2FB813007C8F\n\tfor <incoming@patchwork.ozlabs.org>; Tue,  7 Apr 2026 03:03:23 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A3AF12192FA;\n\tTue,  7 Apr 2026 03:03:21 +0000 (UTC)","from mx1.manguebit.org (mx1.manguebit.org [143.255.12.172])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 2540B1F09A5;\n\tTue,  7 Apr 2026 03:03:19 +0000 (UTC)","from pc by mx1.manguebit.org with local (Exim 4.99.1)\n\tid 1w9wig-00000002KJt-3klJ;\n\tTue, 07 Apr 2026 00:03:14 -0300"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775531001; cv=none;\n b=X+MXZ+4YG/csciayx71SRqPhUOAJWg0y+qhT3K26rp0ENnWQ//MVmuDquqrHLtVqznWI5lB+tR2HpE5TWlBCpcQZw7aNz724G9sRs6L39yGz8xUuO2/D0KN70HTIVhh6JvgFt/Sq+VfmBE8fQAWCdkFMck9XBBUVEFrcfUFL30Q=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775531001; c=relaxed/simple;\n\tbh=5VC3SXNJMBDbofTVHru/ld2xz/AXNeBtVaPZyx+4+1c=;\n\th=Message-ID:From:To:Cc:Subject:In-Reply-To:References:Date:\n\t MIME-Version:Content-Type;\n b=b8KIlRWhKcgqas+pCzhemmjOSH8NxKa1ZFL+2S2pfLm+JGhqagGi6OuyFagKbqpsiQD3gx81zA3UxdR9zzdCobjIJVZYp/qrCfS0/CQyYIyDi6tBF4CmYmBtnbvHD+MnolCrYRIKBjSLoNxLdL6jqds1FPN5r6yJokvm16EnW2g=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=manguebit.org;\n spf=pass smtp.mailfrom=manguebit.org;\n dkim=pass (2048-bit key) header.d=manguebit.org header.i=@manguebit.org\n header.b=8EiHIFsH; arc=none smtp.client-ip=143.255.12.172","DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=manguebit.org; s=dkim; h=Content-Type:MIME-Version:Date:References:\n\tIn-Reply-To:Subject:Cc:To:From:Message-ID:Sender:Reply-To:\n\tContent-Transfer-Encoding:Content-ID:Content-Description;\n\tbh=t4n1bX7/fTIqNg1EppRsTrm+a/ZsF9A+tAQe1d5H31U=; b=8EiHIFsH4xnFyJfTk6ApOV24dJ\n\tQt3yNDsmeoZtFTap5tZ/Lr0fVd7DlDJ+mDTX7XrUmi6b49Fo7JI/oo9gP80lCddFtsKyb8FXTiWqX\n\tsGxsMfOoSo2ef0jGPTRNmTR8Swd/4qQroDq//8GLKR3rSrFE6rixi6nu3d6I4ZM+TzpnONLvnvrFq\n\t3xoOM7i7GylqKEGQeWqw9l3E+HtZAyPl/KEXirCzN3BszBwQ4ZkmtWh6+e49lprD6CYPIpMR8UkWJ\n\taRHSqQHmfQ8xKoKUacDlKanLH6KVksPStn5/3128PfT6ibKJgSWiRs1Tj5i19rNYnGcsh/6c+PpWy\n\tOdmTQx9w==;","Message-ID":"<e50b019e071d66509cc24f98c7900fee@manguebit.org>","From":"Paulo Alcantara <pc@manguebit.org>","To":"Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n linux-cifs@vger.kernel.org, samba-technical@lists.samba.org","Cc":"linux-kernel@vger.kernel.org, Greg Kroah-Hartman\n <gregkh@linuxfoundation.org>, Steve French <sfrench@samba.org>, Ronnie\n Sahlberg <ronniesahlberg@gmail.com>, Shyam Prasad N\n <sprasad@microsoft.com>, Tom Talpey <tom@talpey.com>, Bharath SM\n <bharathsm@microsoft.com>","Subject":"Re: [PATCH 0/2] smb: some potential bugfixes","In-Reply-To":"<2026040635-banking-unsoiled-3250@gregkh>","References":"<2026040635-banking-unsoiled-3250@gregkh>","Date":"Tue, 07 Apr 2026 00:03:14 -0300","Precedence":"bulk","X-Mailing-List":"linux-cifs@vger.kernel.org","List-Id":"<linux-cifs.vger.kernel.org>","List-Subscribe":"<mailto:linux-cifs+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-cifs+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain"}},{"id":3674564,"web_url":"http://patchwork.ozlabs.org/comment/3674564/","msgid":"<2026040816-rendering-reaffirm-d8ed@gregkh>","list_archive_url":null,"date":"2026-04-08T05:45:22","subject":"Re: [PATCH 0/2] smb: some potential bugfixes","submitter":{"id":11800,"url":"http://patchwork.ozlabs.org/api/people/11800/","name":"Greg Kroah-Hartman","email":"gregkh@linuxfoundation.org"},"content":"On Tue, Apr 07, 2026 at 03:52:21PM -0500, Steve French wrote:\n> merged into cifs-2.6.git for-next\n\nThanks!","headers":{"Return-Path":"\n <linux-cifs+bounces-10707-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-cifs@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org\n header.a=rsa-sha256 header.s=korg header.b=KN04/L4D;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10707-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=linuxfoundation.org\n header.i=@linuxfoundation.org header.b=\"KN04/L4D\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4frBqX1884z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 15:45:27 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 47C40301456D\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  8 Apr 2026 05:45:26 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 389A434DCE0;\n\tWed,  8 Apr 2026 05:45:25 +0000 (UTC)","from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 1674C1EB5C2;\n\tWed,  8 Apr 2026 05:45:24 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 479F4C19424;\n\tWed,  8 Apr 2026 05:45:24 +0000 (UTC)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775627125; cv=none;\n b=d37Qe4DI09uNGoqJQs81yB+suT22mvGY7SwRE2dy5pW7MwNtHEyiJXE+9MG7nOT89H4ChwLJC+OYKcVqrof/3N9Fz1gpTBn9go0GDlJ2wbTSZQw2HpaaHPt9xURBpP57uKldC4xEx5PTHijXeXu/z6HKYd7Uqv+PCYWgr1pQ53Y=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775627125; c=relaxed/simple;\n\tbh=T6neeW3mgh7D1onuAxxjE5kOLZQ+E7BmmJ86KiSY3ZY=;\n\th=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\t Content-Type:Content-Disposition:In-Reply-To;\n b=dtKO6lQRMwTRxYWrxxvrYvKD/NPOgeNyWEnQ133xGwRdt4Kfon+dc7LUSWP9F0kzRXy4uOC1KGnfeGsoJTxOKE9OVsL/GAtbXtnyzOSsHWjUlU2nSCByzOy6J+qOcr3Vvymcr3NoW4DyBNslYLWRbSZ6H5mfTBPURk3BE/nsQ8o=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dkim=pass (1024-bit key) header.d=linuxfoundation.org\n header.i=@linuxfoundation.org header.b=KN04/L4D;\n arc=none smtp.client-ip=10.30.226.201","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org;\n\ts=korg; t=1775627124;\n\tbh=T6neeW3mgh7D1onuAxxjE5kOLZQ+E7BmmJ86KiSY3ZY=;\n\th=Date:From:To:Cc:Subject:References:In-Reply-To:From;\n\tb=KN04/L4DbEJ2AqjD83Iguc+UO87bjyMZU+8xAnUW0FFXVw8ozeIu1Fbt+decvWIXn\n\t RhrHCebkNNMNi1PSe7ty0S1yn87K41DmIUVtxubiR0JviYincEpYD0vwe2/HLtadn5\n\t rCnzfPb+/7WwFp89nhREP87jXRQzgd0EmNG6c9D0=","Date":"Wed, 8 Apr 2026 07:45:22 +0200","From":"Greg Kroah-Hartman <gregkh@linuxfoundation.org>","To":"Steve French <smfrench@gmail.com>","Cc":"Paulo Alcantara <pc@manguebit.org>, linux-cifs@vger.kernel.org,\n\tsamba-technical@lists.samba.org, linux-kernel@vger.kernel.org,\n\tSteve French <sfrench@samba.org>,\n\tRonnie Sahlberg <ronniesahlberg@gmail.com>,\n\tShyam Prasad N <sprasad@microsoft.com>, Tom Talpey <tom@talpey.com>,\n\tBharath SM <bharathsm@microsoft.com>","Subject":"Re: [PATCH 0/2] smb: some potential bugfixes","Message-ID":"<2026040816-rendering-reaffirm-d8ed@gregkh>","References":"<2026040635-banking-unsoiled-3250@gregkh>\n <e50b019e071d66509cc24f98c7900fee@manguebit.org>\n <CAH2r5mvXFzWxs70Jmg=yWddmcHs+Bpf8eiBUvyc4oOMLzdCY7w@mail.gmail.com>","Precedence":"bulk","X-Mailing-List":"linux-cifs@vger.kernel.org","List-Id":"<linux-cifs.vger.kernel.org>","List-Subscribe":"<mailto:linux-cifs+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:linux-cifs+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"\n <CAH2r5mvXFzWxs70Jmg=yWddmcHs+Bpf8eiBUvyc4oOMLzdCY7w@mail.gmail.com>"}}]