syzbot


WARNING: ODEBUG bug in sctp_transport_free

Status: closed as dup on 2023/05/29 14:46
Subsystems: sctp
[Documentation on labels]
Reported-by: syzbot+a3863e4bc4a43342efd2@syzkaller.appspotmail.com
First crash: 527d, last: 527d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: ODEBUG bug in __mod_timer kernel 1 543d 505d

Sample crash report:
ODEBUG: assert_init not available (active state 0) object: ffff88807da63210 object type: timer_list hint: sctp_generate_proto_unreach_event+0x0/0x380 net/sctp/sm_sideeffect.c:386
WARNING: CPU: 0 PID: 5103 at lib/debugobjects.c:505 debug_print_object+0x194/0x2c0 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 5103 Comm: syz-executor.1 Not tainted 6.3.0-syzkaller-13466-gfc4354c6e5c2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:debug_print_object+0x194/0x2c0 lib/debugobjects.c:505
Code: df 48 89 fe 48 c1 ee 03 80 3c 16 00 0f 85 c7 00 00 00 48 8b 14 dd c0 1d a7 8a 50 4c 89 ee 48 c7 c7 80 11 a7 8a e8 fc e2 34 fd <0f> 0b 58 83 05 a6 85 63 0a 01 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e
RSP: 0018:ffffc9000492f4d8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000005 RCX: ffffc9000c5cb000
RDX: 0000000000040000 RSI: ffffffff814c03e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8a4ed100
R13: ffffffff8aa71860 R14: ffffc9000492f598 R15: ffffffff8172be00
FS:  0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7ed7b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000002d322000 CR3: 000000002b252000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_assert_init+0x20f/0x310 lib/debugobjects.c:912
 debug_timer_assert_init kernel/time/timer.c:792 [inline]
 debug_assert_init kernel/time/timer.c:837 [inline]
 __timer_delete+0x73/0x1b0 kernel/time/timer.c:1321
 del_timer include/linux/timer.h:213 [inline]
 sctp_transport_free+0xa6/0x130 net/sctp/transport.c:139
 sctp_association_free+0x4d0/0x7d0 net/sctp/associola.c:379
 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:944 [inline]
 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1327 [inline]
 sctp_side_effects net/sctp/sm_sideeffect.c:1198 [inline]
 sctp_do_sm+0x3324/0x5310 net/sctp/sm_sideeffect.c:1169
 sctp_assoc_bh_rcv+0x38a/0x6c0 net/sctp/associola.c:1051
 sctp_inq_push+0x1d6/0x270 net/sctp/inqueue.c:80
 sctp_backlog_rcv+0x19a/0x5b0 net/sctp/input.c:331
 sk_backlog_rcv include/net/sock.h:1113 [inline]
 __release_sock+0x133/0x3b0 net/core/sock.c:2917
 release_sock+0x58/0x1b0 net/core/sock.c:3484
 sctp_wait_for_connect+0x416/0x5c0 net/sctp/socket.c:9325
 __sctp_connect+0x9a1/0xc30 net/sctp/socket.c:1246
 sctp_connect net/sctp/socket.c:4810 [inline]
 sctp_inet_connect+0x161/0x200 net/sctp/socket.c:4825
 __sys_connect_file+0x153/0x1a0 net/socket.c:2003
 __sys_connect+0x165/0x1a0 net/socket.c:2020
 __do_sys_connect net/socket.c:2030 [inline]
 __se_sys_connect net/socket.c:2027 [inline]
 __ia32_sys_connect+0x72/0xb0 net/socket.c:2027
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
 entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7f1e579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f7ed75cc EFLAGS: 00000296 ORIG_RAX: 000000000000016a
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000020000000
RDX: 000000000000001c RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	retq
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/07 10:04 upstream fc4354c6e5c2 90c93c40 .config console log report info ci-upstream-kasan-gce-386 WARNING: ODEBUG bug in sctp_transport_free
* Struck through repros no longer work on HEAD.