general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 PID: 8100 Comm: kworker/0:22 Not tainted 5.15.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
Workqueue: events cleanup_bearer
RIP: 0010:read_pnet include/net/net_namespace.h:333 [inline]
RIP: 0010:sock_net include/net/sock.h:2732 [inline]
RIP: 0010:cleanup_bearer+0x1ed/0x280 net/tipc/udp_media.c:824
Code: 5d 00 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 21 84 d5 f7 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 04 84 d5 f7 49 83 c7 e8 48 8b 1b
RSP: 0018:ffffc90002dafc10 EFLAGS: 00010206
RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffffffff81633db8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f000
RBP: ffff888023264508 R08: dffffc0000000000 R09: fffffbfff2131263
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888023264598
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888023264518
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f33e24a2bac CR3: 000000007b0ab000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 8e39d6fd7f0124bc ]---
RIP: 0010:read_pnet include/net/net_namespace.h:333 [inline]
RIP: 0010:sock_net include/net/sock.h:2732 [inline]
RIP: 0010:cleanup_bearer+0x1ed/0x280 net/tipc/udp_media.c:824
Code: 5d 00 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 21 84 d5 f7 48 8b 1b 48 83 c3 30 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 04 84 d5 f7 49 83 c7 e8 48 8b 1b
RSP: 0018:ffffc90002dafc10 EFLAGS: 00010206
RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffffffff81633db8
RDX: dffffc0000000000 RSI: ffffffff8aab2b80 RDI: ffffffff8af9f000
RBP: ffff888023264508 R08: dffffc0000000000 R09: fffffbfff2131263
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888023264598
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffff888023264518
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f995f757f98 CR3: 00000000585cd000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	5d                   	pop    %rbp
   1:	00 48 83             	add    %cl,-0x7d(%rax)
   4:	c3                   	ret
   5:	18 48 89             	sbb    %cl,-0x77(%rax)
   8:	d8 48 c1             	fmuls  -0x3f(%rax)
   b:	e8 03 42 80 3c       	call   0x3c804213
  10:	28 00                	sub    %al,(%rax)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 21 84 d5 f7       	call   0xf7d5843d
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 30          	add    $0x30,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 04 84 d5 f7       	call   0xf7d5843d
  39:	49 83 c7 e8          	add    $0xffffffffffffffe8,%r15
  3d:	48 8b 1b             	mov    (%rbx),%rbx