[kernel?] general protection fault in detach_timer

4 views
Skip to first unread message

syzbot

unread,
May 1, 2023, 1:32:39 AM5/1/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6e98b09da931 Merge tag 'net-next-6.4' of git://git.kernel...
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17efc7a4280000
kernel config: https://syzkaller.appspot.com/x/.config?x=5b762354749a3d5d
dashboard link: https://syzkaller.appspot.com/bug?extid=a7dcbf7cb8f2231890e3
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [linux-...@vger.kernel.org]

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/5818470b087f/disk-6e98b09d.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/407664cac7c9/vmlinux-6e98b09d.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0b40cfb2be36/bzImage-6e98b09d.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a7dcbf...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc03fffffff9: 0000 [#1] PREEMPT SMP KASAN
KASAN: probably user-memory-access in range [0x0000001fffffffc8-0x0000001fffffffcf]
CPU: 1 PID: 5262 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-07919-g6e98b09da931 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:__hlist_del include/linux/list.h:901 [inline]
RIP: 0010:detach_timer+0x13f/0x2f0 kernel/time/timer.c:880
Code: 89 ef e8 64 c5 67 00 48 89 5d 00 48 85 db 74 5a e8 76 fb 10 00 48 83 c3 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 33 c5 67 00 48 89 2b 80 7c 24 04 00
RSP: 0000:ffffc9000509fbc0 EFLAGS: 00010006
RAX: 00000003fffffff9 RBX: 0000001fffffffc8 RCX: dffffc0000000000
RDX: 0000000000000101 RSI: ffffffff8b380380 RDI: ffffffff8b380340
RBP: ffffc9000509fcb0 R08: ffffffff817a0e34 R09: fffffbfff1ca8ab6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110096a8aa0
R13: ffff88804b545500 R14: ffff88804b5454f8 R15: 1ffff110096a8a9f
FS: 0000555556a38400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33721000 CR3: 0000000018a64000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
expire_timers kernel/time/timer.c:1734 [inline]
__run_timers+0x5d4/0x860 kernel/time/timer.c:2022
run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2035
__do_softirq+0x2ab/0x908 kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x159/0x240 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x47/0xb0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0033:0x7f185a239499
Code: 31 c5 c1 e8 0f 31 c5 80 3d 2c c2 c9 00 00 75 81 44 0f b6 6c 24 0f 44 8d 4d 04 89 e8 41 89 c0 41 81 e0 ff 1f 00 00 43 8b 14 84 <39> d5 0f 84 70 ff ff ff 85 d2 0f 84 67 01 00 00 83 c0 01 41 39 c1
RSP: 002b:00007ffc91782730 EFLAGS: 00000202
RAX: 00000000562289dc RBX: 00007f185a3ac018 RCX: 0000001b33720000
RDX: 00000000562289dc RSI: 0000001b33720018 RDI: 000000000a500564
RBP: 00000000562289dc R08: 00000000000009dc R09: 00000000562289e0
R10: 00007ffc917828f0 R11: 0000000000000246 R12: 00007f185a3a0000
R13: 0000000000000001 R14: 0000000000001e80 R15: ffffffff841d01c2
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__hlist_del include/linux/list.h:901 [inline]
RIP: 0010:detach_timer+0x13f/0x2f0 kernel/time/timer.c:880
Code: 89 ef e8 64 c5 67 00 48 89 5d 00 48 85 db 74 5a e8 76 fb 10 00 48 83 c3 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 33 c5 67 00 48 89 2b 80 7c 24 04 00
RSP: 0000:ffffc9000509fbc0 EFLAGS: 00010006
RAX: 00000003fffffff9 RBX: 0000001fffffffc8 RCX: dffffc0000000000
RDX: 0000000000000101 RSI: ffffffff8b380380 RDI: ffffffff8b380340
RBP: ffffc9000509fcb0 R08: ffffffff817a0e34 R09: fffffbfff1ca8ab6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff110096a8aa0
R13: ffff88804b545500 R14: ffff88804b5454f8 R15: 1ffff110096a8a9f
FS: 0000555556a38400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33721000 CR3: 0000000018a64000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 89 ef mov %ebp,%edi
2: e8 64 c5 67 00 callq 0x67c56b
7: 48 89 5d 00 mov %rbx,0x0(%rbp)
b: 48 85 db test %rbx,%rbx
e: 74 5a je 0x6a
10: e8 76 fb 10 00 callq 0x10fb8b
15: 48 83 c3 08 add $0x8,%rbx
19: 48 89 d8 mov %rbx,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 48 89 df mov %rbx,%rdi
33: e8 33 c5 67 00 callq 0x67c56b
38: 48 89 2b mov %rbp,(%rbx)
3b: 80 7c 24 04 00 cmpb $0x0,0x4(%rsp)


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Aug 3, 2023, 7:53:53 AM8/3/23
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages