================================================================== BUG: KASAN: global-out-of-bounds in read_pnet include/net/net_namespace.h:329 [inline] BUG: KASAN: global-out-of-bounds in dev_net include/linux/netdevice.h:2422 [inline] BUG: KASAN: global-out-of-bounds in add_del_if+0x130/0x140 net/bridge/br_ioctl.c:85 Read of size 8 at addr ffffffff90526e98 by task syz-executor.2/10979 CPU: 0 PID: 10979 Comm: syz-executor.2 Not tainted 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:105 print_address_description.constprop.0.cold+0xf/0x309 mm/kasan/report.c:233 __kasan_report mm/kasan/report.c:419 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:436 read_pnet include/net/net_namespace.h:329 [inline] dev_net include/linux/netdevice.h:2422 [inline] add_del_if+0x130/0x140 net/bridge/br_ioctl.c:85 br_ioctl_stub+0x1c6/0x7f0 net/bridge/br_ioctl.c:397 br_ioctl_call+0x5e/0xa0 net/socket.c:1092 dev_ifsioc+0xc1f/0xf60 net/core/dev_ioctl.c:382 dev_ioctl+0x1b9/0xee0 net/core/dev_ioctl.c:580 sock_do_ioctl+0x18b/0x210 net/socket.c:1129 sock_ioctl+0x2f1/0x640 net/socket.c:1232 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:1055 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f73c4ce7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000140 RSI: 00000000000089a3 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff02d5c5af R14: 00007f73c4ce7300 R15: 0000000000022000 The buggy address belongs to the variable: __key.4+0x38/0x40 Memory state around the buggy address: ffffffff90526d80: f9 f9 f9 f9 00 f9 f9 f9 f9 f9 f9 f9 00 f9 f9 f9 ffffffff90526e00: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 >ffffffff90526e80: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ^ ffffffff90526f00: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ffffffff90526f80: f9 f9 f9 f9 00 00 f9 f9 f9 f9 f9 f9 00 00 f9 f9 ==================================================================