HomeDefectsLIN1025-2739
Fixed

LIN1025-2739 : [s32g]: pfe test caught kmemleak at oal_mm_malloc+0x1c/0x2c [pfeng]

Created: Jul 16, 2025    Updated: Jan 25, 2026
Resolved Date: Jan 25, 2026
Found In Version: 10.25.33.1
Fix Version: 10.25.33.6
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: BSP

Description

root@nxp-s32g:~# uname -a
Linux nxp-s32g 6.6.36-rt31-yocto-preempt-rt #1 SMP PREEMPT_RT Fri Jun 28 18:22:59 UTC 2024 aarch64 GNU/Linux
root@nxp-s32g:~# cat /proc/version
Linux version 6.6.36-rt31-yocto-preempt-rt (oe-user@oe-host) (aarch64-wrs-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240216) #1 SMP PREEMPT_RT Fri Jun 28 18:22:59 UTC 2024
root@nxp-s32g:~# cat /proc/cmdline
console=ttyLF0,115200n8 earlycon nohz=off coherent_pool=64M root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/29119/rootfs,nolock,v3,tcp ip=128.224.165.200:128.224.165.20:128.224.165.1:255.255.255.0::eth0:off 
root@nxp-s32g:~# cat /etc/os-release
ID=wrlinux
NAME="Wind River Linux LTS"
VERSION="10.24.17.0 (nanbield)"
VERSION_ID=10.24.17.0
VERSION_CODENAME="nanbield"
PRETTY_NAME="Wind River Linux LTS 24.17"
CPE_NAME="cpe:/o:openembedded:wrlinux:10.24.17.0"

unreferenced object 0xffffff8805de83e0 (size 32):
  comm "(udev-worker)", pid 266, jiffies 4294897086 (age 306.956s)
  hex dump (first 32 bytes):
    06 00 00 00 00 00 00 00 00 26 1d 07 88 ff ff ff  .........&......
    50 84 de 05 88 ff ff ff 44 b4 aa 03 88 ff ff ff  P.......D.......
  backtrace:
    [<0000000012b94aef>] __kmem_cache_alloc_node+0x1d4/0x2d8
    [<00000000b9cd7911>] __kmalloc+0x60/0x228
    [<00000000d32a4d15>] oal_mm_malloc+0x1c/0x30 [pfeng]
    [<000000005e1bc676>] pfe_if_db_add+0x140/0x198 [pfeng]
    [<000000004eb77623>] pfe_platform_create_ifaces+0x4c8/0x878 [pfeng]
    [<00000000ce91fc24>] pfe_platform_init+0x588/0x708 [pfeng]
    [<0000000077d5e88a>] pfeng_drv_probe+0x9a4/0x10b0 [pfeng]
    [<0000000056956825>] platform_probe+0x70/0xd8
    [<00000000ff6b8fdd>] really_probe+0x150/0x2c0
    [<000000003bf0f316>] __driver_probe_device+0x80/0x140
    [<00000000548fba3e>] driver_probe_device+0xdc/0x178
    [<00000000304b0416>] __driver_attach+0x98/0x1b8
    [<0000000024db20e9>] bus_for_each_dev+0x84/0xf0
    [<00000000a93a4f68>] driver_attach+0x2c/0x40
    [<000000008a4dae47>] bus_add_driver+0xec/0x218
    [<00000000e62c211e>] driver_register+0x64/0x138

--------------

unreferenced object 0xffffff8808a26f80 (size 32):
  comm "dhcpcd", pid 646, jiffies 4294900268 (age 294.292s)
  hex dump (first 32 bytes):
    33 33 00 00 00 01 26 6f a2 08 88 ff ff ff e6 6f  33....&o.......o
    a2 08 88 ff ff ff 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<0000000012b94aef>] __kmem_cache_alloc_node+0x1d4/0x2d8
    [<00000000b9cd7911>] __kmalloc+0x60/0x228
    [<00000000886a779b>] kzalloc+0x14/0x28 [pfeng]
    [<0000000081f5be6b>] pfe_mac_db_add_addr+0x80/0x108 [pfeng]
    [<0000000058873ed4>] pfe_phy_if_add_mac_addr+0x78/0x190 [pfeng]
    [<0000000035906b66>] pfeng_addr_sync+0x80/0x118 [pfeng]
    [<00000000279834a0>] pfeng_addr_mc_sync+0x28/0x40 [pfeng]
    [<00000000a48add16>] __hw_addr_sync_dev+0xcc/0x180
    [<000000008d5e200d>] pfeng_netif_set_rx_mode+0xb8/0x340 [pfeng]
    [<00000000743a7609>] __dev_set_rx_mode+0x68/0xb0
    [<00000000544582bd>] __dev_open+0x160/0x228
    [<00000000ae9498b9>] __dev_change_flags+0x1ac/0x240
    [<00000000ee54a2fc>] dev_change_flags+0x2c/0x80
    [<000000004090fba9>] devinet_ioctl+0x320/0x698
    [<000000003534f68c>] inet_ioctl+0x21c/0x240
    [<000000001a1dce64>] sock_do_ioctl+0x68/0x128

Steps to Reproduce

INFO: HTTP shared image: http://pek-lpgtest7408.wrs.com/buildarea1/SharedImage/LTS24/BSP/nxp-s32g_standard_glibc-std/20240704_115006

/lpg-build/cdc/fast_prod/WRL10_24/WRL10_24_GIT/wrlinux-10/setup.sh --machines nxp-s32g --templates feature/docker --distros wrlinux --dl-layers=1 --accept-eula=yes
source environment-setup-x86_64-wrlinuxsdk-linux
source oe-init-build-env build
echo 'SHARED_IMAGE_BASE = "/net/pek-lpgtest7408/buildarea1/SharedImage"
FIRMWARE_DIR_BASE = "${SHARED_IMAGE_BASE}/wr-bsp-images/nxp-s32g/firmwares"
HSE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/hse"
HSE_FW_VERSION_S32G2 = "0.1.0.14"
HSE_FW_VERSION_S32G3 = "0.2.51.0"
HSE_FW_NAME_S32G2 = "rev2.0_s32g2xx_hse_fw_0.1.0_1.0.14_pb240319.bin.pink"
HSE_FW_NAME_S32G3 = "rev1.1_s32g3xx_hse_fw_0.20.0_2.51.0_pb240404.bin.pink"
LLCE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/llce/1.0.8/s32g2"
LLCE_LOCAL_FIRMWARE_DIR_S32G3 = "${FIRMWARE_DIR_BASE}/llce/1.0.8/s32g3"
IPCF_M7_APP_BIN_DIR = "${FIRMWARE_DIR_BASE}/ipcf/4.9"
PFE_LOCAL_FIRMWARE_DIR = "${FIRMWARE_DIR_BASE}/pfe/1.8.0"
CUSTOMER_RECIPES:append = " llce"
CUSTOMER_RECIPES:openembedded-layer += 'ccid pcsc-lite opensc'
BB_NO_NETWORK = '0'
IMAGE_INSTALL:append = " llce ipc-shm pkcs11-hse pkcs11-hse-examples pfe pfe-slave libfci-cli"' >> conf/local.conf
bitbake wrlinux-image-std