Hello,
kernel test robot noticed "BUG_kmalloc-#k:Object_corrupt" on:
commit: 6e383382971f4573e29f0e85c6e5667c8f5f46d6 ("[PATCH] net: Fix error handling in netdev_register_kobject") url: https://github.com/intel-lab-lkp/linux/commits/Ma-Ke/net-Fix-error-handling-... base: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git 6fc33710cd6c55397e606eeb544bdf56ee87aae5 patch link: https://lore.kernel.org/all/20251107080117.15099-1-make24@iscas.ac.cn/ patch subject: [PATCH] net: Fix error handling in netdev_register_kobject
in testcase: boot
config: i386-randconfig-014-20251110 compiler: gcc-14 test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot oliver.sang@intel.com | Closes: https://lore.kernel.org/oe-lkp/202511121347.b3f6c2a3-lkp@intel.com
[ OK ] Started /etc/rc.local Compatibility. LKP: ttyS0: 250: skip deploy intel ucode as no ucode is specified [ 15.199659] rc.local[250]: LKP: stdout: 250: skip deploy intel ucode as no ucode is specified [ 15.508990][ T1] [Poison overwritten] 0xf5e12370-0xf5e12370 @offset=9072. First byte 0x6a instead of 0x6b [ 15.511968][ T1] ============================================================================= [ 15.514232][ T1] BUG kmalloc-2k (Tainted: G S ): Object corrupt [ 15.516308][ T1] ----------------------------------------------------------------------------- [ 15.516308][ T1] [ 15.519187][ T1] Allocated in alloc_netdev_mqs+0x7d/0x470 age=517 cpu=1 pid=191 [ 15.521218][ T1] __slab_alloc+0x53/0x80 [ 15.522561][ T1] __kvmalloc_node_noprof (kbuild/src/consumer/mm/slub.c:4846 kbuild/src/consumer/mm/slub.c:5268 kbuild/src/consumer/mm/slub.c:5641 kbuild/src/consumer/mm/slub.c:7100)
The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20251112/202511121347.b3f6c2a3-lkp@i...