Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2646269lqb; Tue, 28 May 2024 06:32:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXK+GvTkSOUt5BWPusBj23D0xR9bDjPE3K0GUy0Cv5dSSEy74zWWTmq264oVQhQYDDeUG3+8dKo4vbuqXgcn+LdYnemcMHidTu+6SMzXA== X-Google-Smtp-Source: AGHT+IFiR0Jekv80IDEryZMLJ2W2gKvqn3CgkNmIKeF4glKSOItsruUsHCFCeZW6G39X840C+C/H X-Received: by 2002:a17:902:e84f:b0:1f4:990c:5ef1 with SMTP id d9443c01a7336-1f4990c5fecmr61837395ad.31.1716903134895; Tue, 28 May 2024 06:32:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716903134; cv=pass; d=google.com; s=arc-20160816; b=UBNryZm4TKUbGLWTBeNaFtSyVOqB6d9+j+vLvPBps6KTKx/o+sVJ0vVOM18m2kd+vK 94upOZhDyvI2z/IdcITqykmrk106QnxJPCKUV9sawnKOn/sVTWr59lGKxNdN9pUIDHQs UGXiIN7CVh3yeaGCsAYj+P7IK/IIb9OLxVDyl3b3ol622MG8ZWWaB92fLPDfOWiz6qrW yv0M08ODBSPJCukwnCZoCqnTgdFyOuHcGlXWOQrLXIGTh6lARNElzcipqNNQAktHkFOo r13ydRt72uM88wCjvyyUwqYnlVmDveTY/qYW+TZG9O0TjX+xUmfRJR1Z2TJHkCXgkWPT PUwA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=5J/UjQrfEeskw0GytFbNpvv1YoZ7YCGjZo8ZQkgfaVE=; fh=pOch3swFjjKxjT8RoaVZP9X8zPXHxjayNJx34D6Eb6Y=; b=waZfX/xDofX9DfozMadKAOd/A8MTFDt1SRLRsubkIAyciKuGLT4umu9P/gQ6ELMSWF gvtUwjXpx0xy09bEEgwMX00qtka3NVpqP0g8179vXf0JnU8QHzIpGXsHhcR6+8+h7M7U 8RMA4ateTBjtTqwOEyaMcpTjqCUkxF9UlA50APG1OexeW1Z3H5T9BhiRE7oukwRK5bJT 7B//68HFUJMIh4FIf/ky2vbIzm7VzpHwJcF32itreqfGu/gnkn6NJZ7RMhy3DQz8X/6q wnNIJxwywpNNbOymHZ9JsXAzIGRRj8bVFrMeiSrgKgDuyXpcgRRW1VkaQWs/NaYUNg+/ siTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=fintech.ru); spf=pass (google.com: domain of linux-kernel+bounces-192417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192417-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c787f5esi80851205ad.110.2024.05.28.06.32.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:32:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=fintech.ru); spf=pass (google.com: domain of linux-kernel+bounces-192417-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192417-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 63280286E8F for ; Tue, 28 May 2024 13:31:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 496ED16F26D; Tue, 28 May 2024 13:30:47 +0000 (UTC) Received: from exchange.fintech.ru (exchange.fintech.ru [195.54.195.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED30816DEDB for ; Tue, 28 May 2024 13:30:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.54.195.159 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716903046; cv=none; b=aoM3WSNLi/G5P9dyTmsCRfn/eMEpVlGJRQAwLv+HRaRx4dG1paifdB0q+g302d5HhUc2ihg/FNMftD+ziA07ikZzSKBo8senYt6S6CxIJQvXH9t2z/TK9y3Jzsn7ke4veKfSDvvg1hFdc5UqIfbwxyCSGjrDKvUT4m5DITDCgVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716903046; c=relaxed/simple; bh=6Jie44RqKx5Qzojma1qH3Xylibo10Il3iCQdi7nNgsg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=tjYz2Fsg/H1fHKLmqzN3+lpSVPRMf3uWS63iMj/zPzilvB0YTv911yP9CEQcZZkwxa7NAG9/EC4+45e8/sQsx73kg7luEvtXzJGevOxojyA2uING9uLh0HdUWwRi39Eg+NXjAYpl7GcYWI8JQs27F/wqRWydXihVPTlemOso+D0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fintech.ru; spf=pass smtp.mailfrom=fintech.ru; arc=none smtp.client-ip=195.54.195.159 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=fintech.ru Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fintech.ru Received: from Ex16-01.fintech.ru (10.0.10.18) by exchange.fintech.ru (195.54.195.159) with Microsoft SMTP Server (TLS) id 14.3.498.0; Tue, 28 May 2024 16:30:32 +0300 Received: from localhost (10.0.253.138) by Ex16-01.fintech.ru (10.0.10.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 28 May 2024 16:30:32 +0300 From: Nikita Zhandarovich To: CC: Nikita Zhandarovich , , Subject: Re: memory leak in r8712_init_recv_priv Date: Tue, 28 May 2024 06:30:27 -0700 Message-ID: <20240528133027.37641-1-n.zhandarovich@fintech.ru> X-Mailer: git-send-email 2.25.1 In-Reply-To: <00000000000092f61e05b6f1215b@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 Content-Type: text/plain X-ClientProxiedBy: Ex16-02.fintech.ru (10.0.10.19) To Ex16-01.fintech.ru (10.0.10.18) Hi, I am pretty sure this issue is close to obsolete. Original error, I imagine, has been fixed in some other commit, while the latest bug iteration refers to a similar but technically different issue [1] with a trace: BUG: memory leak unreferenced object 0xffff88810891f000 (size 4096): comm "kworker/0:4", pid 5084, jiffies 4294944455 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): [] kmemleak_alloc_recursive include/linux/kmemleak.h:42 [inline] [] slab_post_alloc_hook mm/slub.c:3944 [inline] [] slab_alloc_node mm/slub.c:4000 [inline] [] kmalloc_trace_noprof+0x282/0x320 mm/slub.c:4147 [] kmalloc_noprof include/linux/slab.h:660 [inline] [] _r8712_init_xmit_priv+0x2b2/0x6e0 drivers/staging/rtl8712/rtl871x_xmit.c:130 [] r8712_init_drv_sw+0xc7/0x2a0 drivers/staging/rtl8712/os_intfs.c:311 [] r871xu_drv_init+0x1c6/0x930 drivers/staging/rtl8712/usb_intf.c:386 [] usb_probe_interface+0x16f/0x3f0 drivers/usb/core/driver.c:399 [] call_driver_probe drivers/base/dd.c:578 [inline] [] really_probe+0x12c/0x430 drivers/base/dd.c:656 [] __driver_probe_device+0xc3/0x1a0 drivers/base/dd.c:79 [1] Other issue in question can be found here: Link: https://syzkaller.appspot.com/bug?extid=83763e624cfec6b462cb Patch to fix the error in [1] was sent by Nam Cao . Link: https://lore.kernel.org/all/20240525073229.4144612-1-namcao@linutronix.de/T/ Once that change is pushed, this issue should most likely be closed, since none of the old or newer reproducers trigger original bug. Regards, Nikita