================================================================== BUG: KASAN: slab-use-after-free in netdev_need_ops_lock include/net/netdev_lock.h:30 [inline] BUG: KASAN: slab-use-after-free in netdev_lock_ops include/net/netdev_lock.h:41 [inline] BUG: KASAN: slab-use-after-free in __ethtool_get_link_ksettings+0x20c/0x254 net/ethtool/ioctl.c:463 Read of size 1 at addr ffff0000dc2c6e11 by task kworker/0:5/4818 CPU: 0 UID: 0 PID: 4818 Comm: kworker/0:5 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Workqueue: events smc_ib_port_event_work Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xb0/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0x8c/0xc4 mm/kasan/report.c:595 __asan_report_load1_noabort+0x20/0x2c mm/kasan/report_generic.c:378 netdev_need_ops_lock include/net/netdev_lock.h:30 [inline] netdev_lock_ops include/net/netdev_lock.h:41 [inline] __ethtool_get_link_ksettings+0x20c/0x254 net/ethtool/ioctl.c:463 ipvlan_ethtool_get_link_ksettings+0x48/0x58 drivers/net/ipvlan/ipvlan_main.c:413 netif_get_link_ksettings+0x220/0x2bc net/ethtool/ioctl.c:451 __ethtool_get_link_ksettings+0x114/0x254 net/ethtool/ioctl.c:464 ib_get_eth_speed+0x154/0x6b0 drivers/infiniband/core/verbs.c:2052 rxe_query_port+0x98/0x37c drivers/infiniband/sw/rxe/rxe_verbs.c:56 __ib_query_port drivers/infiniband/core/device.c:2129 [inline] ib_query_port+0x16c/0x76c drivers/infiniband/core/device.c:2161 smc_ib_remember_port_attr net/smc/smc_ib.c:364 [inline] smc_ib_port_event_work+0xf4/0x8a4 net/smc/smc_ib.c:388 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 Allocated by task 4726: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_alloc_info+0x44/0x54 mm/kasan/generic.c:570 poison_kmalloc_redzone mm/kasan/common.c:398 [inline] __kasan_kmalloc+0x9c/0xb4 mm/kasan/common.c:415 kasan_kmalloc include/linux/kasan.h:263 [inline] __do_kmalloc_node mm/slub.c:5362 [inline] __kvmalloc_node_noprof+0x460/0x7d8 mm/slub.c:6933 alloc_netdev_mqs+0xac/0xf2c net/core/dev.c:12048 rtnl_create_link+0x2b0/0xb78 net/core/rtnetlink.c:3721 rtnl_newlink_create+0x210/0x764 net/core/rtnetlink.c:3903 __rtnl_newlink net/core/rtnetlink.c:4044 [inline] rtnl_newlink+0xdc4/0x1144 net/core/rtnetlink.c:4159 rtnetlink_rcv_msg+0x66c/0x9bc net/core/rtnetlink.c:7076 netlink_rcv_skb+0x238/0x414 net/netlink/af_netlink.c:2556 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:7103 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x600/0x7f8 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x648/0x948 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec net/socket.c:775 [inline] __sock_sendmsg+0xc8/0x17c net/socket.c:790 __sys_sendto+0x250/0x328 net/socket.c:2252 __do_sys_sendto net/socket.c:2259 [inline] __se_sys_sendto net/socket.c:2255 [inline] __arm64_sys_sendto+0xe4/0x104 net/socket.c:2255 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x64/0x260 arch/arm64/kernel/entry-common.c:736 el0t_64_sync_handler+0x48/0x148 arch/arm64/kernel/entry-common.c:755 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:594 Freed by task 1934: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x40/0x78 mm/kasan/common.c:78 kasan_save_free_info+0x58/0x70 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:253 [inline] __kasan_slab_free+0x74/0xa4 mm/kasan/common.c:285 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2705 [inline] slab_free mm/slub.c:6405 [inline] kfree+0x188/0x690 mm/slub.c:6720 kvfree+0x30/0x40 mm/slub.c:6982 netdev_release+0x88/0xb0 net/core/net-sysfs.c:2231 device_release+0xb4/0x1d4 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1dc/0x4b8 lib/kobject.c:737 netdev_run_todo+0xc64/0xdf8 net/core/dev.c:11749 rtnl_unlock+0x14/0x20 net/core/rtnetlink.c:157 default_device_exit_batch+0x588/0x604 net/core/dev.c:13094 ops_exit_list net/core/net_namespace.c:205 [inline] ops_undo_list+0x434/0x81c net/core/net_namespace.c:252 cleanup_net+0x474/0x6c4 net/core/net_namespace.c:702 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 The buggy address belongs to the object at ffff0000dc2c6000 which belongs to the cache kmalloc-cg-4k of size 4096 The buggy address is located 3601 bytes inside of freed 4096-byte region [ffff0000dc2c6000, ffff0000dc2c7000) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11c2c0 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0x5ffc00000000040(head|node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000040 ffff0000c001d500 dead000000000100 dead000000000122 raw: 0000000000000000 0000000800040004 00000000f5000000 0000000000000000 head: 05ffc00000000040 ffff0000c001d500 dead000000000100 dead000000000122 head: 0000000000000000 0000000800040004 00000000f5000000 0000000000000000 head: 05ffc00000000003 fffffdffc370b001 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000dc2c6d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000dc2c6d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff0000dc2c6e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff0000dc2c6e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff0000dc2c6f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Unable to handle kernel paging request at virtual address 0079006ea0000148 Mem abort info: ESR = 0x0000000096000004 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x04: level 0 translation fault Data abort info: ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 CM = 0, WnR = 0, TnD = 0, TagAccess = 0 GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [0079006ea0000148] address between user and kernel address ranges Internal error: Oops: 0000000096000004 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 4818 Comm: kworker/0:5 Tainted: G B syzkaller #0 PREEMPT Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/02/2026 Workqueue: events smc_ib_port_event_work pstate: 03400005 (nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : netdev_need_ops_lock include/net/netdev_lock.h:33 [inline] pc : netdev_lock_ops include/net/netdev_lock.h:41 [inline] pc : __ethtool_get_link_ksettings+0xc4/0x254 net/ethtool/ioctl.c:463 lr : netdev_need_ops_lock include/net/netdev_lock.h:33 [inline] lr : netdev_lock_ops include/net/netdev_lock.h:41 [inline] lr : __ethtool_get_link_ksettings+0xb8/0x254 net/ethtool/ioctl.c:463 sp : ffff8000991c7760 x29: ffff8000991c7760 x28: 1fffe0001b19a438 x27: 0000000000000000 x26: 1fffe0001b858c01 x25: 1fffe0001b858dc2 x24: ffff0000dc2c6008 x23: ffff0000dc2c6e11 x22: dfff800000000000 x21: 03cc037500000a46 x20: ffff8000991c78a0 x19: ffff0000dc2c6000 x18: 1fffe00035bce428 x17: 3d3d3d3d3d3d3d3d x16: 3d3d3d3d3d3d3d3d x15: 3d3d3d3d3d3d3d3d x14: 3d3d3d3d3d3d3d3d x13: 0000000000000001 x12: 0000000000000000 x11: 0000000000000000 x10: ffff700011456921 x9 : ffff80008e7f2900 x8 : 0079806ea0000148 x7 : 0000000000000000 x6 : ffff80008048ce60 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: netdev_need_ops_lock include/net/netdev_lock.h:33 [inline] (P) netdev_lock_ops include/net/netdev_lock.h:41 [inline] (P) __ethtool_get_link_ksettings+0xc4/0x254 net/ethtool/ioctl.c:463 (P) ipvlan_ethtool_get_link_ksettings+0x48/0x58 drivers/net/ipvlan/ipvlan_main.c:413 netif_get_link_ksettings+0x220/0x2bc net/ethtool/ioctl.c:451 __ethtool_get_link_ksettings+0x114/0x254 net/ethtool/ioctl.c:464 ib_get_eth_speed+0x154/0x6b0 drivers/infiniband/core/verbs.c:2052 rxe_query_port+0x98/0x37c drivers/infiniband/sw/rxe/rxe_verbs.c:56 __ib_query_port drivers/infiniband/core/device.c:2129 [inline] ib_query_port+0x16c/0x76c drivers/infiniband/core/device.c:2161 smc_ib_remember_port_attr net/smc/smc_ib.c:364 [inline] smc_ib_port_event_work+0xf4/0x8a4 net/smc/smc_ib.c:388 process_one_work kernel/workqueue.c:3322 [inline] process_scheduled_works+0x788/0x10b8 kernel/workqueue.c:3405 worker_thread+0x798/0xbd0 kernel/workqueue.c:3486 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:842 Code: 96eef8ad f9400308 910ae115 d343fea8 (38766908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 96eef8ad bl 0xfffffffffbbbe2b4 4: f9400308 ldr x8, [x24] 8: 910ae115 add x21, x8, #0x2b8 c: d343fea8 lsr x8, x21, #3 * 10: 38766908 ldrb w8, [x8, x22] <-- trapping instruction