OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by n8v8R - 15.09.2020

FS#3339 - [netifd] potential kernel memory leak

  • mvebu
  • self-compiled kernel 5.9 with memleak detection enabled
  • netifd 2020-09-12-55a7b6b7-1

—-

echo clear > /sys/kernel/debug/kmemleak
echo scan > /sys/kernel/debug/kmemleak
cat /sys/kernel/debug/kmemleak


  unreferenced object 0xe9400000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824963 (age 12186.578s)
  hex dump (first 32 bytes):
    00 00 40 e9 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:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8
unreferenced object 0xea92c000 (size 8896):
  comm "netifd", pid 2314, jiffies 4294824965 (age 12186.574s)
  hex dump (first 32 bytes):
    00 c0 92 ea 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:
    [<6c721e2f>] hwbm_pool_refill+0x50/0x88
    [<7e7e2552>] hwbm_pool_add+0x6c/0x11c
    [<092daf5d>] mvneta_bm_update_mtu+0x64/0x1ac
    [<25a31bd5>] mvneta_change_mtu+0xa4/0x140
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<82387d21>] dsa_slave_change_mtu+0x134/0x20c
    [<b80b104c>] dev_set_mtu_ext+0xd8/0x198
    [<28e7b11b>] dev_set_mtu+0x44/0xa4
    [<61c48941>] dev_ioctl+0x31c/0x464
    [<2480ee5a>] sock_ioctl+0x2e4/0x664
    [<406a3520>] sys_ioctl+0x90/0xbc
    [<31543a6f>] ret_fast_syscall+0x0/0x54
    [<784618c7>] 0xbecaaad8


Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing