From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp153-141.sina.com.cn (smtp153-141.sina.com.cn [61.135.153.141]) (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 880678488 for ; Sun, 17 Aug 2025 02:49:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=61.135.153.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755398967; cv=none; b=pqElRuzKYhy8Qz4dSnqjgETjqOy6nTrUZbnv85k0zJ6nI1eUvmp1soOQwvEdyd1WqF2yUL8LEzaXaRdEQPilIUYMPp9kodn7WWla+6z03wbwymToizE0RxIi7zeDS0me8ig+sXqqzGsWDHqyy5DUfwSjoqo41cvRkJJuWx4C3Sg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755398967; c=relaxed/simple; bh=jsnUdmVDHRv43P6bFSrI0ZZWUUVikH9IkH2XInAk6Vo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ehKojH97AAqw2XQKESCBmXoPUrkEJNXVO4aetoVUz0OtCfUTGoXAH7AQIXeoZSLa4Up9+3ex5aKgiTeXMxvIE/NA3vxiSOfGjujYaWZ/O3SHKyw3eCIIOkYPZeZ41vG9vxgEmmIOE3DVnJSBf+hTM1KOWyzPhNtCInLR/iZySwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b=nFpRcdCx; arc=none smtp.client-ip=61.135.153.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sina.com header.i=@sina.com header.b="nFpRcdCx" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sina.com; s=201208; t=1755398958; bh=OkrVSyeS//+CcCqI1oEDz7c3KAgxVfsjKdON8/W43nQ=; h=From:Subject:Date:Message-ID; b=nFpRcdCxGA3s8P4kaPKJgIagwSuX9dGqwg/Mb7HDncjuuVyl81W3gLB+fFb+8Nt7t DfVxc32Gsti7xUKqY+sTX8kVxeKPHddexxoifrx/44dn/+IEG0n1r9dBz43AgbO9dl BX2g5AvCtzFus7p3Lch0TqdGckj8X8aqSoSl/uFo= X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([114.249.58.236]) by sina.com (10.54.253.31) with ESMTP id 68A1432900001E53; Sun, 17 Aug 2025 10:49:15 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 237236816158 X-SMAIL-UIID: 03EE68A4904E433CB8E226C471D70E12-20250817-104915-1 From: Hillf Danton To: syzbot Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [usb?] KASAN: slab-out-of-bounds Read in usbtmc_interrupt Date: Sun, 17 Aug 2025 10:49:02 +0800 Message-ID: <20250817024904.4820-1-hdanton@sina.com> In-Reply-To: <689ff5f6.050a0220.e29e5.0032.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit > Date: Fri, 15 Aug 2025 20:07:34 -0700 [thread overview] > Hello, > > syzbot found the following issue on: > > HEAD commit: 931e46dcbc7e Add linux-next specific files for 20250814 > git tree: linux-next > console+strace: https://syzkaller.appspot.com/x/log.txt?x=11ef65a2580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=bb7fbecfa2364d1c > dashboard link: https://syzkaller.appspot.com/bug?extid=abbfd103085885cf16a2 > compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14a99842580000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17108da2580000 #syz test --- x/drivers/usb/class/usbtmc.c +++ y/drivers/usb/class/usbtmc.c @@ -2365,6 +2365,7 @@ static void usbtmc_free_int(struct usbtm if (!data->iin_ep_present || !data->iin_urb) return; usb_kill_urb(data->iin_urb); + usb_kill_urb(data->iin_urb); kfree(data->iin_buffer); data->iin_buffer = NULL; usb_free_urb(data->iin_urb); --- x/fs/smb/server/transport_rdma.h +++ y/fs/smb/server/transport_rdma.h @@ -61,7 +61,7 @@ void init_smbd_max_io_size(unsigned int unsigned int get_smbd_max_read_write_size(void); #else static inline int ksmbd_rdma_init(void) { return 0; } -static inline void ksmbd_rdma_stop_listening(void) { return }; +static inline void ksmbd_rdma_stop_listening(void) { } static inline void ksmbd_rdma_destroy(void) { return; } static inline bool ksmbd_rdma_capable_netdev(struct net_device *netdev) { return false; } static inline void init_smbd_max_io_size(unsigned int sz) { } --