[bug report] kmemleak observed on bnxt_re

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I found this kmemleak issue after system boots up with the latest
linux tree, please help check it and let me know if you need any info,
thanks.

(gdb) l *(bnxt_re_alloc_pd+0x3d0)
0x22160 is in bnxt_re_alloc_pd (drivers/infiniband/hw/bnxt_re/ib_verbs.c:678).
673 goto dbfail;
674 }
675 }
676
677 if (!udata)
678 if (bnxt_re_create_fence_mr(pd))
679 ibdev_warn(&rdev->ibdev,
680    "Failed to create Fence-MR\n");
681 active_pds = atomic_inc_return(&rdev->stats.res.pd_count);
682 if (active_pds > rdev->stats.res.pd_watermark)


unreferenced object 0xffffc90006a41000 (size 4096):
  comm "systemd-udevd", pid 1233, jiffies 4294779228
  hex dump (first 32 bytes):
    00 e0 43 80 81 88 ff ff 2a 3e 03 00 00 00 00 00  ..C.....*>......
    ea 7b 06 00 00 00 00 00 0a 00 00 00 30 00 00 00  .{..........0...
  backtrace (crc cd29ebd4):
    [<ffffffff8a9bf425>] kmemleak_vmalloc+0x95/0x160
    [<ffffffff88cf35bc>] __vmalloc_node_range+0x3fc/0x540
    [<ffffffff88cf37c4>] __vmalloc_node+0xb4/0x150
    [<ffffffffc2152f89>] __alloc_pbl+0x199/0x960 [bnxt_re]
    [<ffffffffc2154cc9>] bnxt_qplib_alloc_init_hwq+0xec9/0x1c20 [bnxt_re]
    [<ffffffffc2163d65>] bnxt_qplib_reg_mr+0x245/0x630 [bnxt_re]
    [<ffffffffc2150509>] bnxt_re_create_fence_mr+0x419/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
unreferenced object 0xffffc90006a71000 (size 4096):
  comm "systemd-udevd", pid 1233, jiffies 4294779229
  hex dump (first 32 bytes):
    00 e0 43 80 01 00 00 00 00 00 00 00 00 00 00 00  ..C.............
    01 00 3e 00 01 00 00 00 00 00 00 00 00 00 00 00  ..>.............
  backtrace (crc f97dda8f):
    [<ffffffff8a9bf425>] kmemleak_vmalloc+0x95/0x160
    [<ffffffff88cf35bc>] __vmalloc_node_range+0x3fc/0x540
    [<ffffffff88cf37c4>] __vmalloc_node+0xb4/0x150
    [<ffffffffc2152fc7>] __alloc_pbl+0x1d7/0x960 [bnxt_re]
    [<ffffffffc2154cc9>] bnxt_qplib_alloc_init_hwq+0xec9/0x1c20 [bnxt_re]
    [<ffffffffc2163d65>] bnxt_qplib_reg_mr+0x245/0x630 [bnxt_re]
    [<ffffffffc2150509>] bnxt_re_create_fence_mr+0x419/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
unreferenced object 0xffff8882b5c5bc00 (size 512):
  comm "systemd-udevd", pid 1233, jiffies 4294779229
  hex dump (first 32 bytes):
    00 00 c0 43 82 88 ff ff 00 00 00 00 00 00 00 00  ...C............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 754e43ab):
    [<ffffffff88d24b7d>] kmalloc_trace+0x30d/0x3b0
    [<ffffffffc214f923>] bnxt_re_alloc_mw+0x73/0x280 [bnxt_re]
    [<ffffffffc215058b>] bnxt_re_create_fence_mr+0x49b/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
    [<ffffffff89b075e0>] auxiliary_bus_probe+0xa0/0x110
    [<ffffffff89ae7630>] really_probe+0x1e0/0x920
    [<ffffffff89ae7f0a>] __driver_probe_device+0x18a/0x3d0
    [<ffffffff89ae81a9>] driver_probe_device+0x49/0x120
unreferenced object 0xffffc90006d4e000 (size 4096):
  comm "systemd-udevd", pid 1233, jiffies 4294822916
  hex dump (first 32 bytes):
    00 c0 44 b8 82 88 ff ff 00 00 00 00 00 00 00 00  ..D.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 48b8bc5a):
    [<ffffffff8a9bf425>] kmemleak_vmalloc+0x95/0x160
    [<ffffffff88cf35bc>] __vmalloc_node_range+0x3fc/0x540
    [<ffffffff88cf37c4>] __vmalloc_node+0xb4/0x150
    [<ffffffffc2152f89>] __alloc_pbl+0x199/0x960 [bnxt_re]
    [<ffffffffc2154cc9>] bnxt_qplib_alloc_init_hwq+0xec9/0x1c20 [bnxt_re]
    [<ffffffffc2163d65>] bnxt_qplib_reg_mr+0x245/0x630 [bnxt_re]
    [<ffffffffc2150509>] bnxt_re_create_fence_mr+0x419/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
unreferenced object 0xffffc90006d59000 (size 4096):
  comm "systemd-udevd", pid 1233, jiffies 4294822916
  hex dump (first 32 bytes):
    00 c0 44 b8 02 00 00 00 00 00 00 00 00 00 00 00  ..D.............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 1bc211ce):
    [<ffffffff8a9bf425>] kmemleak_vmalloc+0x95/0x160
    [<ffffffff88cf35bc>] __vmalloc_node_range+0x3fc/0x540
    [<ffffffff88cf37c4>] __vmalloc_node+0xb4/0x150
    [<ffffffffc2152fc7>] __alloc_pbl+0x1d7/0x960 [bnxt_re]
    [<ffffffffc2154cc9>] bnxt_qplib_alloc_init_hwq+0xec9/0x1c20 [bnxt_re]
    [<ffffffffc2163d65>] bnxt_qplib_reg_mr+0x245/0x630 [bnxt_re]
    [<ffffffffc2150509>] bnxt_re_create_fence_mr+0x419/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
unreferenced object 0xffff888295670400 (size 512):
  comm "systemd-udevd", pid 1233, jiffies 4294822916
  hex dump (first 32 bytes):
    00 00 c0 33 81 88 ff ff 00 00 00 00 00 00 00 00  ...3............
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 5378fcd7):
    [<ffffffff88d24b7d>] kmalloc_trace+0x30d/0x3b0
    [<ffffffffc214f923>] bnxt_re_alloc_mw+0x73/0x280 [bnxt_re]
    [<ffffffffc215058b>] bnxt_re_create_fence_mr+0x49b/0xc90 [bnxt_re]
    [<ffffffffc2151160>] bnxt_re_alloc_pd+0x3d0/0x540 [bnxt_re]
    [<ffffffffc1ec133c>] __ib_alloc_pd+0xfc/0x5b0 [ib_core]
    [<ffffffffc1f131a5>] ib_mad_port_open+0x685/0xfb0 [ib_core]
    [<ffffffffc1f13bd1>] ib_mad_init_device+0xf1/0x370 [ib_core]
    [<ffffffffc1edce6d>] add_client_context+0x2ed/0x440 [ib_core]
    [<ffffffffc1edd17a>] enable_device_and_get+0x1aa/0x340 [ib_core]
    [<ffffffffc1ede5c8>] ib_register_device+0x1c8/0x3a0 [ib_core]
    [<ffffffffc2134f61>] bnxt_re_ib_init+0x401/0x6a0 [bnxt_re]
    [<ffffffffc2137dbc>] bnxt_re_probe+0x4bc/0x710 [bnxt_re]
    [<ffffffff89b075e0>] auxiliary_bus_probe+0xa0/0x110
    [<ffffffff89ae7630>] really_probe+0x1e0/0x920
    [<ffffffff89ae7f0a>] __driver_probe_device+0x18a/0x3d0
    [<ffffffff89ae81a9>] driver_probe_device+0x49/0x120

-- 
Best Regards,
  Yi Zhang





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux