[bug report] NVMe/IB: kmemleak observed on 5.17.0-rc5 with nvme-rdma testing

Yi Zhang yi.zhang at redhat.com
Mon Feb 21 04:37:35 PST 2022


add linux-nvme maillist
On Mon, Feb 21, 2022 at 7:37 PM Yi Zhang <yi.zhang at redhat.com> wrote:
>
> Hello
>
> Below kmemleak triggered when I do nvme connect/reset/disconnect
> operations on latest 5.17.0-rc5, pls check it.
>
> # cat /sys/kernel/debug/kmemleak
> unreferenced object 0xffff8883e398bc00 (size 192):
>   comm "nvme", pid 2632, jiffies 4295317772 (age 2951.476s)
>   hex dump (first 32 bytes):
>     80 50 84 a3 ff ff ff ff 70 d4 12 67 81 88 ff ff  .P......p..g....
>     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>   backtrace:
>     [<00000000ecf84f29>] kmem_cache_alloc_trace+0x10e/0x220
>     [<0000000099bbcbaa>] blk_iolatency_init+0x4e/0x380
>     [<00000000e7a59176>] blkcg_init_queue+0x12e/0x610
>     [<00000000aade682c>] blk_alloc_queue+0x400/0x840
>     [<000000007ed43824>] blk_mq_init_queue_data+0x6a/0x100
>     [<00000000cbff6d39>] nvme_rdma_setup_ctrl+0x4ca/0x15f0 [nvme_rdma]
>     [<00000000a309d26c>] nvme_rdma_create_ctrl+0x7e5/0xa9f [nvme_rdma]
>     [<000000007d8b5cca>] nvmf_dev_write+0x44e/0xa39 [nvme_fabrics]
>     [<0000000031d8624b>] vfs_write+0x17e/0x9a0
>     [<00000000471d7945>] ksys_write+0xf1/0x1c0
>     [<00000000a963bc79>] do_syscall_64+0x3a/0x80
>     [<0000000005154fc2>] entry_SYSCALL_64_after_hwframe+0x44/0xae
> unreferenced object 0xffff8883e398a700 (size 192):
>   comm "nvme", pid 2632, jiffies 4295317782 (age 2951.466s)
>   hex dump (first 32 bytes):
>     80 50 84 a3 ff ff ff ff 60 c8 12 67 81 88 ff ff  .P......`..g....
>     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>   backtrace:
>     [<00000000ecf84f29>] kmem_cache_alloc_trace+0x10e/0x220
>     [<0000000099bbcbaa>] blk_iolatency_init+0x4e/0x380
>     [<00000000e7a59176>] blkcg_init_queue+0x12e/0x610
>     [<00000000aade682c>] blk_alloc_queue+0x400/0x840
>     [<000000007ed43824>] blk_mq_init_queue_data+0x6a/0x100
>     [<000000004f80b965>] nvme_rdma_setup_ctrl+0xf37/0x15f0 [nvme_rdma]
>     [<00000000a309d26c>] nvme_rdma_create_ctrl+0x7e5/0xa9f [nvme_rdma]
>     [<000000007d8b5cca>] nvmf_dev_write+0x44e/0xa39 [nvme_fabrics]
>     [<0000000031d8624b>] vfs_write+0x17e/0x9a0
>     [<00000000471d7945>] ksys_write+0xf1/0x1c0
>     [<00000000a963bc79>] do_syscall_64+0x3a/0x80
>     [<0000000005154fc2>] entry_SYSCALL_64_after_hwframe+0x44/0xae
> unreferenced object 0xffff8894253d9d00 (size 192):
>   comm "nvme", pid 2632, jiffies 4295331915 (age 2937.333s)
>   hex dump (first 32 bytes):
>     80 50 84 a3 ff ff ff ff 80 e0 12 67 81 88 ff ff  .P.........g....
>     01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
>   backtrace:
>     [<00000000ecf84f29>] kmem_cache_alloc_trace+0x10e/0x220
>     [<0000000099bbcbaa>] blk_iolatency_init+0x4e/0x380
>     [<00000000e7a59176>] blkcg_init_queue+0x12e/0x610
>     [<00000000aade682c>] blk_alloc_queue+0x400/0x840
>     [<000000007ed43824>] blk_mq_init_queue_data+0x6a/0x100
>     [<000000009f9abba5>] nvme_rdma_setup_ctrl.cold.70+0x5ee/0xb01 [nvme_rdma]
>     [<00000000a309d26c>] nvme_rdma_create_ctrl+0x7e5/0xa9f [nvme_rdma]
>     [<000000007d8b5cca>] nvmf_dev_write+0x44e/0xa39 [nvme_fabrics]
>     [<0000000031d8624b>] vfs_write+0x17e/0x9a0
>     [<00000000471d7945>] ksys_write+0xf1/0x1c0
>     [<00000000a963bc79>] do_syscall_64+0x3a/0x80
>     [<0000000005154fc2>] entry_SYSCALL_64_after_hwframe+0x44/0xae
>
>
>
> --
> Best Regards,
>   Yi Zhang



-- 
Best Regards,
  Yi Zhang




More information about the Linux-nvme mailing list