From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EF99C433DB for ; Thu, 25 Feb 2021 09:59:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2FC0B64EFA for ; Thu, 25 Feb 2021 09:59:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FC0B64EFA Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D2wOz14oGLvtTW6VazVILCaG5kxLrS39+hwbsqgJZoA=; b=UQB7sNXyK2QM67hr3/eLlVct8 0Lmu8TnVjEXPJkHI9QeeBfdWziVGCU8narMRzEwZvAfKOsxtN6JfOk9FZlXWKNtGCNY8nfAtdO8qD Oo3LcteqCaMYkKiOiJAA6FU8omxKbuLUEzyRLwICldtR6VxyVdVc6WWx6xSbms3nDKkR+ArE5cNYr d0hxQ7sSgdvTUNBqNiWJ3Fv/q4FYWLO8QLRYutGWativb2j62cEBUYoYTd1ZCvovkewtKbWqFSkSk 2bVj5arH7qIIYhqbg5pReGVGYutZtGO47It2TrFu05eOYlkWuzEpq/K5cY6l9mxmxbylcdEnAjwTY 9bJQCW9qg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFDPE-0000nm-LL; Thu, 25 Feb 2021 09:58:00 +0000 Received: from mx2.suse.de ([195.135.220.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lFDPB-0000mz-Jg for linux-arm-kernel@lists.infradead.org; Thu, 25 Feb 2021 09:57:59 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1614247074; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EPf2fM16KD0kREgBjB6ua+rUylDq8AlBvOuagV32ch8=; b=pbX7XxuES5kDjdVmxKOG4XJlDdNepmvI3JJOseAZZPFF1+P9Rm8/cRwCoNXlnYjYV6fuOY +E35+FuiaT4n7m0slMdcR0KUW8apwwTs+BrR3RXcR5qR6sNw8Q9qhelKuU5uwcDHlKdn3Q reOIWqAHddziPOK8i4GF3/sA4quKT98= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 66FCDAC1D; Thu, 25 Feb 2021 09:57:54 +0000 (UTC) Message-ID: Subject: Re: usb: cdc-acm: BUG kmalloc-128 Poison overwritten From: Oliver Neukum To: Bruno Thomsen Date: Thu, 25 Feb 2021 10:57:50 +0100 In-Reply-To: References: <777991bb72f8842e3e730f9b600b2086478f5d36.camel@suse.com> Content-Type: multipart/mixed; boundary="=-dR9FkrW5twny4+EEnyrJ" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210225_045757_884231_F41EA31C X-CRM114-Status: GOOD ( 25.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bruno Thomsen , linux-usb@vger.kernel.org, open list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Lars Alex Pedersen Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --=-dR9FkrW5twny4+EEnyrJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Am Mittwoch, den 24.02.2021, 16:21 +0100 schrieb Bruno Thomsen: Hi, > No, this is not a regression from 5.10. It seems that many attempts to > fix cdc-acm in the 5.x kernel series have failed to fix the root cause of > these oops. I have not seen this on 4.14 and 4.19, but I have observed > it on at least 5.3 and newer kernels in slight variations. > I guess this is because cdc-acm is very common in the embedded > ARM world and rarely used on servers or laptops. Combined with > ARM devices still commonly use 4.x LTS kernels. Not sure if > hardening options on the kernel has increased change of reproducing > oops. OK, so this is not an additional problem. According to your logs, an URB that should have been killed wasn't. > I am ready to test new patches and will continue to report oops Could you test the attached patches? Regards Oliver --=-dR9FkrW5twny4+EEnyrJ Content-Disposition: attachment; filename*0=0001-cdc-wdm-untangle-a-circular-dependency-between-callb.pat; filename*1=ch Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0001-cdc-wdm-untangle-a-circular-dependency-between-callb.patch"; charset="UTF-8" RnJvbSAzMDcwOTdlODA2NT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2RldmljZShpbnRmKTsKIAlpbnQgcnY7CiAK Kwl1bnBvaXNvbl91cmJzKGRlc2MpOwogCWNsZWFyX2JpdChXRE1fT1ZFUkZMT1csICZkZXNjLT5m bGFncyk7CiAJY2xlYXJfYml0KFdETV9SRVNFVFRJTkcsICZkZXNjLT5mbGFncyk7CiAJcnYgPSBy ZWNvdmVyX2Zyb21fdXJiX2xvc3MoZGVzYyk7Ci0tIAoyLjI2LjIKCg== --=-dR9FkrW5twny4+EEnyrJ Content-Disposition: attachment; filename*0=0002-cdc-acm-untangle-a-circular-dependency-between-callb.pat; filename*1=ch Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0002-cdc-acm-untangle-a-circular-dependency-between-callb.patch"; charset="UTF-8" RnJvbSAzZWViNjQ0YWYxNDAxNzRlYmFkNmRkY2U1NTI2YmNhZjQyY2NkOWM5IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBPbGl2ZXIgTmV1a3VtIDxvbmV1a3VtQHN1c2UuY29tPgpEYXRl OiBUaHUsIDE4IEZlYiAyMDIxIDEzOjUyOjI4ICswMTAwClN1YmplY3Q6IFtQQVRDSCAyLzJdIGNk Yy1hY206IHVudGFuZ2xlIGEgY2lyY3VsYXIgZGVwZW5kZW5jeSBiZXR3ZWVuIGNhbGxiYWNrCiBh bmQgc29mdGludAoKV2UgaGF2ZSBhIGN5Y2xlIG9mIGNhbGxiYWNrcyBzY2hlZHVsaW5nIHdvcmtz IHdoaWNoIHN1Ym1pdApVUkJzIHdpdGggdGhvcyBjYWxsYmFja3MuIFRoaXMgbmVlZHMgdG8gYmUg YmxvY2tlZCwgc3RvcHBlZAphbmQgdW5ibG9ja2VkIHRvIHVudGFuZ2xlIHRoZSBjaXJjbGUuCgpT aWduZWQtb2ZmLWJ5OiBPbGl2ZXIgTmV1a3VtIDxvbmV1a3VtQHN1c2UuY29tPgotLS0KIGRyaXZl cnMvdXNiL2NsYXNzL2NkYy1hY20uYyB8IDQxICsrKys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" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --=-dR9FkrW5twny4+EEnyrJ--