syzbot


general protection fault in cleanup_bearer

Status: premoderation: reported syz repro on 2024/12/17 21:10
Reported-by: syzbot+b35df4cdfd83e1899edb@syzkaller.appspotmail.com
First crash: 4d04h, last: now
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in cleanup_bearer origin:lts-only syz 458 2d06h 7d04h 0/3 upstream: reported syz repro on 2024/12/14 20:37
upstream general protection fault in cleanup_bearer tipc C 13668 2d05h 17d 26/28 upstream: reported C repro on 2024/12/04 17:03
linux-6.1 general protection fault in cleanup_bearer syz 634 2d06h 7d05h 0/3 upstream: reported syz repro on 2024/12/14 20:16

Sample crash report:
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: 367 Comm: kworker/0:5 Not tainted 5.10.231-syzkaller-00700-g4055d754db6f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events cleanup_bearer
RIP: 0010:read_pnet include/net/net_namespace.h:335 [inline]
RIP: 0010:sock_net include/net/sock.h:2653 [inline]
RIP: 0010:cleanup_bearer+0x1dc/0x2b0 net/tipc/udp_media.c:815
Code: 8b 1e 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 42 16 0a fd 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 25 16 0a fd 4c 8b 33 48 c7 c0 80
RSP: 0018:ffffc9000419fcf0 EFLAGS: 00010206
RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffffffff8148c665
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88810024a7a0
RBP: ffffc9000419fd30 R08: dffffc0000000000 R09: ffffed10200494f5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888111820600
R13: dffffc0000000000 R14: ffff88810fc91408 R15: ffff88810fc91418
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc921cc2ccb CR3: 000000011d422000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 process_one_work+0x6dc/0xbd0 kernel/workqueue.c:2301
 worker_thread+0xaea/0x1510 kernel/workqueue.c:2447
 kthread+0x34b/0x3d0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Modules linked in:
---[ end trace c425c2c78be9f6f5 ]---
RIP: 0010:read_pnet include/net/net_namespace.h:335 [inline]
RIP: 0010:sock_net include/net/sock.h:2653 [inline]
RIP: 0010:cleanup_bearer+0x1dc/0x2b0 net/tipc/udp_media.c:815
Code: 8b 1e 48 83 c3 18 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 42 16 0a fd 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 25 16 0a fd 4c 8b 33 48 c7 c0 80
RSP: 0018:ffffc9000419fcf0 EFLAGS: 00010206

RAX: 0000000000000006 RBX: 0000000000000030 RCX: ffffffff8148c665
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88810024a7a0
RBP: ffffc9000419fd30 R08: dffffc0000000000 R09: ffffed10200494f5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888111820600
R13: dffffc0000000000 R14: ffff88810fc91408 R15: ffff88810fc91418
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563b620330a8 CR3: 000000010c9ca000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	8b 1e                	mov    (%rsi),%ebx
   2:	48 83 c3 18          	add    $0x18,%rbx
   6:	48 89 d8             	mov    %rbx,%rax
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 42 16 0a fd       	call   0xfd0a165e
  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 25 16 0a fd       	call   0xfd0a165e
  39:	4c 8b 33             	mov    (%rbx),%r14
  3c:	48                   	rex.W
  3d:	c7                   	.byte 0xc7
  3e:	c0                   	.byte 0xc0
  3f:	80                   	.byte 0x80

Crashes (4838):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/19 21:10 android13-5.10-lts 4055d754db6f 5905cb39 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/18 09:41 android13-5.10-lts 4055d754db6f a0626d3a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/18 08:39 android13-5.10-lts 4055d754db6f a0626d3a .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 01:11 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 00:57 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 00:35 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 00:27 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 00:13 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/22 00:07 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 23:57 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 23:40 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 23:19 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 22:54 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 22:35 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 22:14 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 22:01 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 21:42 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 21:21 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 21:07 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 20:48 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 20:28 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 20:10 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 20:00 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 19:54 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 19:38 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 19:18 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 18:56 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 18:33 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 17:36 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 17:17 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 16:44 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 16:19 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 15:56 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 15:36 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 15:21 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 14:58 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 14:32 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 14:17 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 14:08 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 13:59 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 13:44 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 13:31 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 13:10 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 12:55 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in cleanup_bearer
2024/12/21 19:52 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 KFENCE: use-after-free in cleanup_bearer
2024/12/21 18:00 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 KASAN: use-after-free Read in cleanup_bearer
2024/12/21 14:41 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 KASAN: use-after-free Read in cleanup_bearer
* Struck through repros no longer work on HEAD.