[<prev] [next>] [day] [month] [year] [list]
Message-ID: <786c9926-e92c-32d5-6a1f-b6352a077d5f@huawei.com>
Date: Wed, 4 Mar 2020 17:53:53 +0000
From: John Garry <john.garry@...wei.com>
To: <edumazet@...gle.com>, "David S . Miller" <davem@...emloft.net>,
<kuznet@....inr.ac.ru>, <yoshfuji@...ux-ipv6.org>,
<kuba@...nel.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: kmemleak report in tcp_metrics_init()->genl_register_family()
Hi guys,
On 5.6-rc4, I get this report of a memory leak after booting:
root@(none)$ more /sys/kernel/debug/kmemleak
unreferenced object 0xffff2027d1838300 (size 128):
comm "swapper/0", pid 1, jiffies 4294894708 (age 155.112s)
hex dump (first 32 bytes):
80 82 83 d1 27 20 ff ff 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:
[<(____ptrval____)>] __kmalloc+0x1c8/0x2d0
[<(____ptrval____)>] genl_register_family+0x300/0x6a8
[<(____ptrval____)>] tcp_metrics_init+0x30/0x48
[<(____ptrval____)>] tcp_init+0x270/0x29c
[<(____ptrval____)>] inet_init+0x178/0x264
[<(____ptrval____)>] do_one_initcall+0x5c/0x1b0
[<(____ptrval____)>] kernel_init_freeable+0x1f8/0x260
[<(____ptrval____)>] kernel_init+0x10/0x108
[<(____ptrval____)>] ret_from_fork+0x10/0x18
.config is here https://pastebin.com/RbvNz825, dmesg
https://pastebin.com/ABW4S1Qw
Cheers,
John
Powered by blists - more mailing lists