Wind River Support Network

HomeDefectsLIN1022-1153
Acknowledged

LIN1022-1153 : kmemleak could be found on NUC7i5DNK1E when using USB devices

Created: Jul 30, 2022    Updated: Aug 23, 2022
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: BSP

Description

unreferenced object 0xffff9de9ee5706c0 (size 96):
  comm "kworker/3:1", pid 32942, jiffies 4302533955 (age 445.796s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 ad 4e ad de  .............N..
    ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff  ................
  backtrace:
    [<00000000fc7a07fb>] kmem_cache_alloc_node_trace+0x16b/0x320
    [<00000000ce1ec5dc>] xhci_alloc_command+0xaa/0xe0
    [<0000000042508bab>] xhci_disable_slot+0x27/0x110
    [<00000000c2b1e8b3>] xhci_free_dev+0xde/0x1f0
    [<00000000eadc69ad>] usb_disconnect.cold+0x1da/0x22d
    [<0000000010372ec8>] hub_quiesce+0x65/0xd0
    [<000000001f3b020e>] hub_event+0x730/0x15c0
    [<00000000790c62a9>] process_one_work+0x263/0x5f0
    [<000000000579556f>] worker_thread+0x53/0x3f0
    [<000000008be611c7>] kthread+0x19f/0x1c0
    [<000000000d134867>] ret_from_fork+0x22/0x30
unreferenced object 0xffff9de9ee5707e0 (size 96):
  comm "kworker/3:10", pid 9798, jiffies 4302533962 (age 445.789s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 ad 4e ad de  .............N..
    ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff  ................
  backtrace:
    [<00000000fc7a07fb>] kmem_cache_alloc_node_trace+0x16b/0x320
    [<00000000ce1ec5dc>] xhci_alloc_command+0xaa/0xe0
    [<0000000042508bab>] xhci_disable_slot+0x27/0x110
    [<00000000c2b1e8b3>] xhci_free_dev+0xde/0x1f0
    [<00000000eadc69ad>] usb_disconnect.cold+0x1da/0x22d
    [<0000000010372ec8>] hub_quiesce+0x65/0xd0
    [<000000001f3b020e>] hub_event+0x730/0x15c0
    [<00000000790c62a9>] process_one_work+0x263/0x5f0
    [<000000000579556f>] worker_thread+0x53/0x3f0
    [<000000008be611c7>] kthread+0x19f/0x1c0
    [<000000000d134867>] ret_from_fork+0x22/0x30
unreferenced object 0xffff9de9ee570720 (size 96):
  comm "kworker/3:1", pid 32942, jiffies 4302533969 (age 445.782s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 ad 4e ad de  .............N..
    ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff  ................
  backtrace:
    [<00000000fc7a07fb>] kmem_cache_alloc_node_trace+0x16b/0x320
    [<00000000ce1ec5dc>] xhci_alloc_command+0xaa/0xe0
    [<0000000042508bab>] xhci_disable_slot+0x27/0x110
    [<00000000c2b1e8b3>] xhci_free_dev+0xde/0x1f0
    [<00000000eadc69ad>] usb_disconnect.cold+0x1da/0x22d
    [<0000000010372ec8>] hub_quiesce+0x65/0xd0
    [<000000001f3b020e>] hub_event+0x730/0x15c0
    [<00000000790c62a9>] process_one_work+0x263/0x5f0
    [<000000000579556f>] worker_thread+0x53/0x3f0
    [<000000008be611c7>] kthread+0x19f/0x1c0
    [<000000000d134867>] ret_from_fork+0x22/0x30
<<end check kmemleak>>

Steps to Reproduce

http://128.224.153.156/buildarea1/SharedImage/LINCD_CIRC/Kernel/intel-x86-64_preempt-rt_glibc-std/20220301_002241/build_steps.log


/lpg-build/cdc/fast_prod/WRLINUX_CI/RC_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --templates feature/docker feature/bcc --distro wrlinux --accept-eula=yes --dl-layers

source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build

Add PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt" into conf/local.conf

bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_MASTER_WR/testcases/wrlinux/wr-testing/kts-dev
echo require templates/feature/wr-kts/template.conf >> conf/local.conf
echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf
echo BB_NO_NETWORK:pn-lmbench = \"0\" >> conf/local.conf
echo IMAGE_FSTYPES:remove = \" live hddimg iso\" >>conf/local.conf
echo >> conf/local.conf
echo '# Bellow is basic env, used by wr-test_0.1.0.bb' >> conf/local.conf
echo 'TEST_SPIN = "WRLINUX_CI"' >> conf/local.conf
echo 'TEST_SPRINT = "S220215"' >> conf/local.conf
echo 'TEST_PLAN_WEEK = "2022WW09"' >> conf/local.conf
echo 'TEST_RELEASE_NAME = "WRLinux CD Standard"' >> conf/local.conf
echo 'TEST_ROOTFS_TYPE = "glibc-std"' >> conf/local.conf
echo 'TEST_MULTILIB = ""' >> conf/local.conf
echo 'TEST_TESTER_NAME = ""' >> conf/local.conf
echo 'TEST_REQUIREMANTS = "LINUXEXEC-18742"' >> conf/local.conf
echo 'TEST_TARGET_NAME = "builder"' >> conf/local.conf
echo 'TEST_TAGS = ""' >> conf/local.conf
echo 'TEST_KEYWORD = ""' >> conf/local.conf
echo >> conf/local.conf

bitbake wrlinux-image-std


On target:
/opt/wr-test/main_test.py -s stress-ng-pagefault
Live chat
Online