[moderation] [net?] BUG: unable to handle kernel paging request in __stack_depot_save

10 views
Skip to first unread message

syzbot

unread,
Jun 30, 2023, 10:31:01 AM6/30/23
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 6995e2de6891 Linux 6.4
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10a9c550a80000
kernel config: https://syzkaller.appspot.com/x/.config?x=9536c93ce7915e58
dashboard link: https://syzkaller.appspot.com/bug?extid=72e0acd33df5fdc89917
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [b...@vger.kernel.org da...@davemloft.net edum...@google.com ku...@kernel.org linux-...@vger.kernel.org net...@vger.kernel.org pab...@redhat.com]

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

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/7bc7510fe41f/non_bootable_disk-6995e2de.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/95b0ee5a267d/vmlinux-6995e2de.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0e7c613d4a73/bzImage-6995e2de.xz

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

BUG: unable to handle page fault for address: 000001000000ff09
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 0
P4D 0

Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 3 PID: 56 Comm: kworker/3:1 Not tainted 6.4.0-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: events nsim_dev_trap_report_work

RIP: 0010:find_stack lib/stackdepot.c:350 [inline]
RIP: 0010:__stack_depot_save+0x137/0x510 lib/stackdepot.c:390
Code: 17 3c ca 0d 89 d9 23 0d 07 3c ca 0d 48 8d 0c c8 48 8b 29 48 85 ed 75 12 e9 92 00 00 00 48 8b 6d 00 48 85 ed 0f 84 85 00 00 00 <39> 5d 08 75 ee 44 3b 7d 0c 75 e8 31 c0 48 8b 74 c5 18 49 39 34 c6
RSP: 0018:ffffc90000c9f888 EFLAGS: 00010002

RAX: ffff88816d200000 RBX: 0000000034edd6c9 RCX: ffff88816d8eb648
RDX: 000000000000000b RSI: 0000000000000001 RDI: 000000001dafb7d0
RBP: 000001000000ff01 R08: 000000004615d260 R09: ffffc90000c9ff50
R10: ffffc90000c9f7d0 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000800 R14: ffffc90000c9f8f8 R15: 000000000000000b
FS: 0000000000000000(0000) GS:ffff88806b900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001000000ff09 CR3: 00000000242f3000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
kasan_save_stack+0x32/0x40 mm/kasan/common.c:46
__kasan_record_aux_stack+0x7b/0x90 mm/kasan/generic.c:491
insert_work+0x48/0x360 kernel/workqueue.c:1368
__queue_work+0x625/0x1120 kernel/workqueue.c:1529
__queue_delayed_work+0x1c8/0x270 kernel/workqueue.c:1677
queue_delayed_work_on+0x109/0x120 kernel/workqueue.c:1713
queue_delayed_work include/linux/workqueue.h:521 [inline]
schedule_delayed_work include/linux/workqueue.h:673 [inline]
nsim_dev_trap_report_work+0x9d1/0xc80 drivers/net/netdevsim/dev.c:845
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Modules linked in:

CR2: 000001000000ff09
---[ end trace 0000000000000000 ]---
RIP: 0010:find_stack lib/stackdepot.c:350 [inline]
RIP: 0010:__stack_depot_save+0x137/0x510 lib/stackdepot.c:390
Code: 17 3c ca 0d 89 d9 23 0d 07 3c ca 0d 48 8d 0c c8 48 8b 29 48 85 ed 75 12 e9 92 00 00 00 48 8b 6d 00 48 85 ed 0f 84 85 00 00 00 <39> 5d 08 75 ee 44 3b 7d 0c 75 e8 31 c0 48 8b 74 c5 18 49 39 34 c6
RSP: 0018:ffffc90000c9f888 EFLAGS: 00010002
RAX: ffff88816d200000 RBX: 0000000034edd6c9 RCX: ffff88816d8eb648
RDX: 000000000000000b RSI: 0000000000000001 RDI: 000000001dafb7d0
RBP: 000001000000ff01 R08: 000000004615d260 R09: ffffc90000c9ff50
R10: ffffc90000c9f7d0 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000800 R14: ffffc90000c9f8f8 R15: 000000000000000b
FS: 0000000000000000(0000) GS:ffff88806b900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000001000000ff09 CR3: 00000000242f3000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
0: ca 0d 89 lret $0x890d
3: d9 23 fldenv (%rbx)
5: 0d 07 3c ca 0d or $0xdca3c07,%eax
a: 48 8d 0c c8 lea (%rax,%rcx,8),%rcx
e: 48 8b 29 mov (%rcx),%rbp
11: 48 85 ed test %rbp,%rbp
14: 75 12 jne 0x28
16: e9 92 00 00 00 jmpq 0xad
1b: 48 8b 6d 00 mov 0x0(%rbp),%rbp
1f: 48 85 ed test %rbp,%rbp
22: 0f 84 85 00 00 00 je 0xad
* 28: 39 5d 08 cmp %ebx,0x8(%rbp) <-- trapping instruction
2b: 75 ee jne 0x1b
2d: 44 3b 7d 0c cmp 0xc(%rbp),%r15d
31: 75 e8 jne 0x1b
33: 31 c0 xor %eax,%eax
35: 48 8b 74 c5 18 mov 0x18(%rbp,%rax,8),%rsi
3a: 49 39 34 c6 cmp %rsi,(%r14,%rax,8)


---
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,
Sep 24, 2023, 10:27:28 AM9/24/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