Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp300815pxj; Fri, 14 May 2021 03:57:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXLzGlWoLJul4OMER/oqeEFV1GpP8ps4bePeSJjAKhq9gWNNohJQJZF9+MtGtC8EVZlzpR X-Received: by 2002:a17:906:d0c8:: with SMTP id bq8mr47239600ejb.423.1620989835460; Fri, 14 May 2021 03:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620989835; cv=none; d=google.com; s=arc-20160816; b=o0+s8HDUvgaJYBSB/ewc/6kYtlcl7LsDpptoFo0ojzHUOk8ohLa6aqjQ6He+5HECkL CieJvcklWvQ+byl/5vZpvp4Y2CERcHLjvwDNvdpzuLGzN44qG2qIpu5Fn5wJX9/PcxwM CoglPs9utwQ1/oMoyd/FR0+iZB2hvkLNboagGdpqGWHCdCQxxt6+3rYW3C5Mof5UQnIl fneaa79Y1Qqh2pGaxRG4xbZMTyH5B1E+f8JixZ2Q1Z0ixnE9+tTf154PYL6pGx3hssZR ptRCnnRxm2rZKN0nxP9wpjzIzR0qVQ1SLvLv4ARwatYzxBk+lGPPhhavpSqEq/fmBNtf V5Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=brvMeIcai2nadZSOsid3fbic0kSQa5ACpkQSpixaFWE=; b=bwghSONRSRg7RAcwxXMG2uRDzTWN+fsSN2m/TIuoPU1Nv71Mxnq7JONxi6diMULaYd t3vGAcwZUycBdp2CXB56QYLZ9vV+F3YBagILysqVEjdre92bG6cxVBDgklLVsjnltnwA vf9HdF57lLRwtH4oa2xxvcUHdilEBMPKjc3XYOaDFy0Xe2hegxsDxzTZTVZJnaYuSSmr fXaK3HlJGup1Zsszdpe5xJvTi19+lykvXzwynZ0OlPf5gOMuvkGKHqrPFbzonGR1nTil 5hxM4iu/8qZfr5mHEeFaxrHQLnF2sqy6OcbjgU49YvazJwvPdn0QV6tqKrhfPA0jKbaN RW8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ky26si5442656ejc.683.2021.05.14.03.56.51; Fri, 14 May 2021 03:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231710AbhENKd7 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 14 May 2021 06:33:59 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:35111 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbhENKd7 (ORCPT ); Fri, 14 May 2021 06:33:59 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 14EAWQLD0000693, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36502.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 14EAWQLD0000693 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 14 May 2021 18:32:26 +0800 Received: from RTEXMBS02.realtek.com.tw (172.21.6.95) by RTEXH36502.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 14 May 2021 18:32:25 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 14 May 2021 18:32:24 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::1d8:ba7d:61ca:bd74]) by RTEXMBS04.realtek.com.tw ([fe80::1d8:ba7d:61ca:bd74%5]) with mapi id 15.01.2106.013; Fri, 14 May 2021 18:32:24 +0800 From: Hayes Wang To: Greg KH CC: Alan Stern , syzbot , "davem@davemloft.net" , "kuba@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" , "netdev@vger.kernel.org" , "syzkaller-bugs@googlegroups.com" , nic_swsd Subject: RE: [syzbot] WARNING in rtl8152_probe Thread-Topic: [syzbot] WARNING in rtl8152_probe Thread-Index: AQHXRxMNo04dZcfiN0eNJrSRsQsh6qrguwNggAA4ewCAAVQHMP//vp6AgACQRgD//4sbgIAApcsA Date: Fri, 14 May 2021 10:32:24 +0000 Message-ID: References: <0000000000009df1b605c21ecca8@google.com> <7de0296584334229917504da50a0ac38@realtek.com> <20210513142552.GA967812@rowland.harvard.edu> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.177.203] x-kse-serverinfo: RTEXMBS02.realtek.com.tw, 9 x-kse-antivirus-interceptor-info: scan successful x-kse-antivirus-info: =?us-ascii?Q?Clean,_bases:_2021/5/14_=3F=3F_06:04:00?= x-kse-attachment-filter-triggered-rules: Clean x-kse-attachment-filter-triggered-filters: Clean x-kse-bulkmessagesfiltering-scan-result: protection disabled Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 05/14/2021 10:22:47 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 163662 [May 14 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: hayeswang@realtek.com X-KSE-AntiSpam-Info: LuaCore: 445 445 d5f7ae5578b0f01c45f955a2a751ac25953290c9 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: realtek.com:7.1.1;127.0.0.199:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 05/14/2021 10:10:00 X-KSE-ServerInfo: RTEXH36502.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-AntiSpam-Outbound-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 05/14/2021 10:12:41 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 163661 [May 14 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: hayeswang@realtek.com X-KSE-AntiSpam-Info: LuaCore: 445 445 d5f7ae5578b0f01c45f955a2a751ac25953290c9 X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;realtek.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-AntiSpam-Info: Auth:dkim=none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Heuristic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 05/14/2021 10:15:00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Greg KH > Sent: Friday, May 14, 2021 4:27 PM [...] > Checking the whole USB decriptor is fine, yes, they can duplicate that. > So that means you need to validate _ALL_ data coming from the device > that it is in an acceptable range of values that the driver can > correctly handle. I see. Best Regards, Hayes