================================================================== BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:72 [inline] BUG: KASAN: null-ptr-deref in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] BUG: KASAN: null-ptr-deref in refcount_read include/linux/refcount.h:147 [inline] BUG: KASAN: null-ptr-deref in __refcount_add_not_zero include/linux/refcount.h:152 [inline] BUG: KASAN: null-ptr-deref in __refcount_inc_not_zero include/linux/refcount.h:227 [inline] BUG: KASAN: null-ptr-deref in refcount_inc_not_zero include/linux/refcount.h:245 [inline] BUG: KASAN: null-ptr-deref in maybe_get_net include/net/net_namespace.h:269 [inline] BUG: KASAN: null-ptr-deref in tcf_exts_get_net include/net/pkt_cls.h:260 [inline] BUG: KASAN: null-ptr-deref in __fl_put+0xe4/0x3f4 net/sched/cls_flower.c:513 Read of size 4 at addr 000000000000014c by task syz-executor.1/12255 CPU: 0 PID: 12255 Comm: syz-executor.1 Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_report+0xe4/0x514 mm/kasan/report.c:433 kasan_report+0xd4/0x130 mm/kasan/report.c:536 kasan_check_range+0x264/0x2a4 mm/kasan/generic.c:187 __kasan_check_read+0x2c/0x3c mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:72 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] refcount_read include/linux/refcount.h:147 [inline] __refcount_add_not_zero include/linux/refcount.h:152 [inline] __refcount_inc_not_zero include/linux/refcount.h:227 [inline] refcount_inc_not_zero include/linux/refcount.h:245 [inline] maybe_get_net include/net/net_namespace.h:269 [inline] tcf_exts_get_net include/net/pkt_cls.h:260 [inline] __fl_put+0xe4/0x3f4 net/sched/cls_flower.c:513 fl_change+0x1054/0x17f0 net/sched/cls_flower.c:2341 tc_new_tfilter+0xe38/0x1614 net/sched/cls_api.c:2310 rtnetlink_rcv_msg+0x780/0xdb8 net/core/rtnetlink.c:6165 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2574 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6192 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x568/0x81c net/socket.c:2504 ___sys_sendmsg net/socket.c:2558 [inline] __sys_sendmmsg+0x318/0x7d8 net/socket.c:2644 __do_sys_sendmmsg net/socket.c:2673 [inline] __se_sys_sendmmsg net/socket.c:2670 [inline] __arm64_sys_sendmmsg+0xa0/0xbc net/socket.c:2670 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 ================================================================== Unable to handle kernel paging request at virtual address dfff800000000029 KASAN: null-ptr-deref in range [0x0000000000000148-0x000000000000014f] Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000029] address between user and kernel address ranges Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 12255 Comm: syz-executor.1 Tainted: G B 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] pc : refcount_read include/linux/refcount.h:147 [inline] pc : __refcount_add_not_zero include/linux/refcount.h:152 [inline] pc : __refcount_inc_not_zero include/linux/refcount.h:227 [inline] pc : refcount_inc_not_zero include/linux/refcount.h:245 [inline] pc : maybe_get_net include/net/net_namespace.h:269 [inline] pc : tcf_exts_get_net include/net/pkt_cls.h:260 [inline] pc : __fl_put+0xe8/0x3f4 net/sched/cls_flower.c:513 lr : instrument_atomic_read include/linux/instrumented.h:72 [inline] lr : atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] lr : refcount_read include/linux/refcount.h:147 [inline] lr : __refcount_add_not_zero include/linux/refcount.h:152 [inline] lr : __refcount_inc_not_zero include/linux/refcount.h:227 [inline] lr : refcount_inc_not_zero include/linux/refcount.h:245 [inline] lr : maybe_get_net include/net/net_namespace.h:269 [inline] lr : tcf_exts_get_net include/net/pkt_cls.h:260 [inline] lr : __fl_put+0xe4/0x3f4 net/sched/cls_flower.c:513 sp : ffff8000244267a0 x29: ffff800024426820 x28: dfff800000000000 x27: 1fffe0001b580c43 x26: 1ffff00004884cf8 x25: dfff800000000000 x24: 0000000000000000 x23: ffff0000dac06000 x22: 000000000000014c x21: ffff8000244267e0 x20: ffff0000dac06218 x19: ffff0000dac06000 x18: 1fffe000368951b6 x17: ffff800015cdd000 x16: ffff80001246250c x15: 0000000000000000 x14: 0000000040000000 x13: 0000000000000002 x12: 0000000000040000 x11: 000000000001abbf x10: ffff80001ef8a000 x9 : 0000000000000000 x8 : 0000000000000029 x7 : 1fffe000368951b7 x6 : ffff80000828dc14 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000081bc3c4 x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000 Call trace: atomic_read include/linux/atomic/atomic-instrumented.h:28 [inline] refcount_read include/linux/refcount.h:147 [inline] __refcount_add_not_zero include/linux/refcount.h:152 [inline] __refcount_inc_not_zero include/linux/refcount.h:227 [inline] refcount_inc_not_zero include/linux/refcount.h:245 [inline] maybe_get_net include/net/net_namespace.h:269 [inline] tcf_exts_get_net include/net/pkt_cls.h:260 [inline] __fl_put+0xe8/0x3f4 net/sched/cls_flower.c:513 fl_change+0x1054/0x17f0 net/sched/cls_flower.c:2341 tc_new_tfilter+0xe38/0x1614 net/sched/cls_api.c:2310 rtnetlink_rcv_msg+0x780/0xdb8 net/core/rtnetlink.c:6165 netlink_rcv_skb+0x214/0x3c4 net/netlink/af_netlink.c:2574 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6192 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x660/0x8d4 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x834/0xb18 net/netlink/af_netlink.c:1942 sock_sendmsg_nosec net/socket.c:722 [inline] sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x568/0x81c net/socket.c:2504 ___sys_sendmsg net/socket.c:2558 [inline] __sys_sendmmsg+0x318/0x7d8 net/socket.c:2644 __do_sys_sendmmsg net/socket.c:2673 [inline] __se_sys_sendmmsg net/socket.c:2670 [inline] __arm64_sys_sendmmsg+0xa0/0xbc net/socket.c:2670 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 91053316 aa1603e0 97d529ea d343fec8 (38f96908) ---[ end trace 0000000000000000 ]--- ---------------- Code disassembly (best guess): 0: 91053316 add x22, x24, #0x14c 4: aa1603e0 mov x0, x22 8: 97d529ea bl 0xffffffffff54a7b0 c: d343fec8 lsr x8, x22, #3 * 10: 38f96908 ldrsb w8, [x8, x25] <-- trapping instruction