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=-8.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 389E5C64E7C for ; Wed, 2 Dec 2020 18:47:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 49FB02173E for ; Wed, 2 Dec 2020 18:47:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 49FB02173E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 49CDC6B0036; Wed, 2 Dec 2020 13:47:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 425986B005C; Wed, 2 Dec 2020 13:47:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 314256B005D; Wed, 2 Dec 2020 13:47:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 14CE36B0036 for ; Wed, 2 Dec 2020 13:47:25 -0500 (EST) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id D0D12181AEF21 for ; Wed, 2 Dec 2020 18:47:24 +0000 (UTC) X-FDA: 77549225208.04.rifle17_1516dcb273b5 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id A6B2F800AB4E for ; Wed, 2 Dec 2020 18:47:24 +0000 (UTC) X-HE-Tag: rifle17_1516dcb273b5 X-Filterd-Recvd-Size: 3885 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf16.hostedemail.com (Postfix) with ESMTP for ; Wed, 2 Dec 2020 18:47:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=gftQbKifriUZqj/fvWyoxa13BO2BqZypaHTshSxtU4Y=; b=gcIJgt+o82n1E9XqBLSj3jCGnd df3d+OAPBx/TiLcBr1Y9ejoSsO2BfH8oFJIAfck4IeYbvO64ILX+CHft3Z1m9rrMN3Rh3oweV/Zeg VDV0Tlcd1t1BcyssesyCUuXUVUQ96YIBWB7liTQlM7EQe0yGFVkvh90uatJb2SV4/DIE3ezBYZ6ik HhPi6ONj9WCfu2GHkp1emzgiEwX+xDtYLWjh8ZSATQndLmOGdlXgpsZ6kngDf8ItDZMdG4luVBRmO eXzPMvq8tfM7Qd+9qqOkxQv9WZu384A1OaWi0WnroydylJLKdv3clDvmJVVeVAHL5hWMG15bqIsLV Q3/f4lNg==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkX9q-00044K-Js; Wed, 02 Dec 2020 18:47:18 +0000 Date: Wed, 2 Dec 2020 18:47:18 +0000 From: Matthew Wilcox To: Jeffrin Jose T Cc: catalin.marinas@arm.com, Andrew Morton , linux-mm@kvack.org, lkml Subject: Re: [PROBLEM] mm : kmemleaks related detected Message-ID: <20201202184718.GF11935@casper.infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Dec 03, 2020 at 12:04:22AM +0530, Jeffrin Jose T wrote: > hello, >=20 >=20 > 2 new suspected =A0memory leaks. =A0 See =A0below... You've reported this to the wrong place. It looks like the HID driver would be the place which is leaking memory, and is probably a better place to report it. > ------------------x-------------------x------------------------------ > $sudo cat /sys/kernel/debug/kmemleak > [sudo] password for jeffrin:=20 > unreferenced object 0xffff88813128bee0 (size 16): > comm "irq/109-ELAN130", pid 152, jiffies 4294931163 (age 9576.624s) > hex dump (first 16 bytes): > 04 03 08 0a eb 03 24 e7 01 80 13 44 00 00 00 00 ......$....D.... > backtrace: > [<00000000eff80361>] kmemdup+0x1a/0x40 > [<00000000552197bd>] hidraw_report_event+0xbc/0x190 [hid] > [<00000000a102ccd5>] hid_report_raw_event+0x70a/0x790 [hid] > [<00000000b1b8f73f>] hid_input_report+0x1b4/0x210 [hid] > [<00000000e0f74a09>] i2c_hid_irq+0x164/0x1e0 [i2c_hid] > [<00000000a79c6ce4>] irq_thread_fn+0x40/0xb0 > [<0000000037a84810>] irq_thread+0x23d/0x330 > [<0000000009e057aa>] kthread+0x1cd/0x1f0 > [<000000005e7b7b46>] ret_from_fork+0x22/0x30 > unreferenced object 0xffff88813128b640 (size 16): > comm "irq/109-ELAN130", pid 152, jiffies 4294931165 (age 9576.616s) > hex dump (first 16 bytes): > 04 03 02 0a ee 03 74 e7 01 80 13 44 00 00 00 00 ......t....D.... > backtrace: > [<00000000eff80361>] kmemdup+0x1a/0x40 > [<00000000552197bd>] hidraw_report_event+0xbc/0x190 [hid] > [<00000000a102ccd5>] hid_report_raw_event+0x70a/0x790 [hid] > [<00000000b1b8f73f>] hid_input_report+0x1b4/0x210 [hid] > [<00000000e0f74a09>] i2c_hid_irq+0x164/0x1e0 [i2c_hid] > [<00000000a79c6ce4>] irq_thread_fn+0x40/0xb0 > [<0000000037a84810>] irq_thread+0x23d/0x330 > [<0000000009e057aa>] kthread+0x1cd/0x1f0 > [<000000005e7b7b46>] ret_from_fork+0x22/0x30 > $ > ----------------------x-----------------x------------------------x----- > ------------ > Reported-by: Jeffrin Jose T > Tested-by: Jeffrin Jose T Tested-by is used to indicate that you tested the patch. Since there is no patch yet, you can't have tested it.