linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Jeffrin Jose T <jeffrin@rajagiritech.edu.in>
Cc: catalin.marinas@arm.com,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PROBLEM] mm :  kmemleaks  related detected
Date: Wed, 2 Dec 2020 18:47:18 +0000	[thread overview]
Message-ID: <20201202184718.GF11935@casper.infradead.org> (raw)
In-Reply-To: <ecfa0f976740346b26ebdbf62bb3d4519f98602b.camel@rajagiritech.edu.in>

On Thu, Dec 03, 2020 at 12:04:22AM +0530, Jeffrin Jose T wrote:
> hello,
> 
> 
> 2 new suspected  memory leaks.   See  below...

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: 
> 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 <jeffrin@rajagiritech.edu.in>
> Tested-by: Jeffrin Jose T <jeffrin@rajagiritech.edu.in>

Tested-by is used to indicate that you tested the patch.  Since there
is no patch yet, you can't have tested it.


      reply	other threads:[~2020-12-02 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 18:34 [PROBLEM] mm : kmemleaks related detected Jeffrin Jose T
2020-12-02 18:47 ` Matthew Wilcox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201202184718.GF11935@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=catalin.marinas@arm.com \
    --cc=jeffrin@rajagiritech.edu.in \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).