kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 24176 Comm: syz-executor.2 Not tainted 5.2.0+ #97 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline] RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:31 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] RIP: 0010:refcount_sub_and_test_checked+0x8e/0x200 lib/refcount.c:182 Code: f3 f3 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 e8 f6 d7 35 fe be 04 00 00 00 48 89 df e8 b9 be 6f fe 48 89 d8 48 c1 e8 03 <42> 0f b6 14 20 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RSP: 0018:ffff88805559fbc8 EFLAGS: 00010202 RAX: 0000000000000019 RBX: 00000000000000c8 RCX: ffffffff833cacf7 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 00000000000000c8 RBP: ffff88805559fc60 R08: 1ffffffff1310fe4 R09: fffffbfff1310fe5 R10: fffffbfff1310fe4 R11: ffffffff89887f23 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff88805559fc38 R15: 1ffff1100aab3f7b FS: 00007f2ead5fa700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2ead5d8db8 CR3: 0000000061338000 CR4: 00000000001406f0 Call Trace: refcount_dec_and_test_checked+0x1b/0x20 lib/refcount.c:220 x25_neigh_put include/net/x25.h:252 [inline] x25_connect+0x8de/0xed0 net/x25/af_x25.c:820 __sys_connect+0x264/0x330 net/socket.c:1828 __do_sys_connect net/socket.c:1839 [inline] __se_sys_connect net/socket.c:1836 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:1836 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f2ead5f9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000012 RSI: 0000000020000280 RDI: 0000000000000004 RBP: 000000000075c118 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2ead5fa6d4 R13: 00000000004bfe78 R14: 00000000004d1ac8 R15: 00000000ffffffff Modules linked in: ---[ end trace e7171795ddeaac70 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline] RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:31 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:27 [inline] RIP: 0010:refcount_sub_and_test_checked+0x8e/0x200 lib/refcount.c:182