2020-12-02 19:46:24

by Jeffrin Thalakkottoor

[permalink] [raw]
Subject: [PROBLEM] drivers:hid 2 memory leaks suspected

hello,

2 new suspected memory leaks.


$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
$


[ Details about System ].

Linux debian 5.10.0-rc6 #4 SMP Wed Dec 2 02:49:21 IST 2020 x86_64
GNU/Linux

GNU C 10
GNU Make 4.3
Binutils 2.35.1
Util-linux 2.36.1
Mount 2.36.1
Bison 3.7.3
Flex 2.6.4
Dynamic linker (ldd) 2.31
Procps 3.3.16
Kbd 2.3.0
Console-tools 2.3.0
Sh-utils 8.32
Udev 246

Reported-by: Jeffrin Jose T <[email protected]>

--
software engineer
rajagiri school of engineering and technology - autonomous