All of lore.kernel.org
 help / color / mirror / Atom feed
* [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
@ 2023-12-23 12:49 ` syzbot
  0 siblings, 0 replies; 6+ messages in thread
From: syzbot @ 2023-12-23 12:49 UTC (permalink / raw)
  To: aou, linux-kernel, linux-riscv, palmer, paul.walmsley, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    3b5c14361d61 riscv: Fix set_direct_map_default_noflush() t..
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
console output: https://syzkaller.appspot.com/x/log.txt?x=16d5ffd6e80000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c1ede998d7cef2
dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: riscv64

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

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-3b5c1436.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/11e6a4fa8d50/vmlinux-3b5c1436.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6570c8642590/Image-3b5c1436.xz

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

 s11: ff60000008bd0a9c t3 : ff20000002078140 t4 : ffffffff80159674
 t5 : 1fe400000040f028 t6 : ff6000000f44c1b8
status: 0000000200000100 badaddr: ff20000002077f60 cause: 000000000000000f
Kernel panic - not syncing: Kernel stack overflow
CPU: 1 PID: 5612 Comm: kworker/1:4 Not tainted 6.7.0-rc1-syzkaller-g3b5c14361d61 #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: usb_hub_wq hub_event
Call Trace:
[<ffffffff8000c1e6>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff836ee406>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff8372f66a>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff8372f66a>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff8372f6f2>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff836eef04>] panic+0x2ae/0x67a kernel/panic.c:344
[<ffffffff8000be62>] walk_stackframe+0x0/0x2f2 arch/riscv/kernel/traps.c:412
[<ffffffff8015a3b2>] mark_usage kernel/locking/lockdep.c:4586 [inline]
[<ffffffff8015a3b2>] __lock_acquire+0xd3e/0x310a kernel/locking/lockdep.c:5090
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..


---
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 syzkaller@googlegroups.com.

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

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

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

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

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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
@ 2023-12-23 12:49 ` syzbot
  0 siblings, 0 replies; 6+ messages in thread
From: syzbot @ 2023-12-23 12:49 UTC (permalink / raw)
  To: aou, linux-kernel, linux-riscv, palmer, paul.walmsley, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    3b5c14361d61 riscv: Fix set_direct_map_default_noflush() t..
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
console output: https://syzkaller.appspot.com/x/log.txt?x=16d5ffd6e80000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a5c1ede998d7cef2
dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: riscv64

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

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-3b5c1436.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/11e6a4fa8d50/vmlinux-3b5c1436.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6570c8642590/Image-3b5c1436.xz

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

 s11: ff60000008bd0a9c t3 : ff20000002078140 t4 : ffffffff80159674
 t5 : 1fe400000040f028 t6 : ff6000000f44c1b8
status: 0000000200000100 badaddr: ff20000002077f60 cause: 000000000000000f
Kernel panic - not syncing: Kernel stack overflow
CPU: 1 PID: 5612 Comm: kworker/1:4 Not tainted 6.7.0-rc1-syzkaller-g3b5c14361d61 #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: usb_hub_wq hub_event
Call Trace:
[<ffffffff8000c1e6>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff836ee406>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff8372f66a>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff8372f66a>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff8372f6f2>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff836eef04>] panic+0x2ae/0x67a kernel/panic.c:344
[<ffffffff8000be62>] walk_stackframe+0x0/0x2f2 arch/riscv/kernel/traps.c:412
[<ffffffff8015a3b2>] mark_usage kernel/locking/lockdep.c:4586 [inline]
[<ffffffff8015a3b2>] __lock_acquire+0xd3e/0x310a kernel/locking/lockdep.c:5090
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..


---
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 syzkaller@googlegroups.com.

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

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

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

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
  2023-12-23 12:49 ` syzbot
@ 2024-02-03 18:02   ` syzbot
  -1 siblings, 0 replies; 6+ messages in thread
From: syzbot @ 2024-02-03 18:02 UTC (permalink / raw)
  To: aou, linux-kernel, linux-riscv, palmer, paul.walmsley, syzkaller-bugs

syzbot has found a reproducer for the following issue on:

HEAD commit:    6613476e225e Linux 6.8-rc1
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
console output: https://syzkaller.appspot.com/x/log.txt?x=144ac160180000
kernel config:  https://syzkaller.appspot.com/x/.config?x=877e61347079aad5
dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: riscv64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10c57b90180000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=15d369ffe80000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-6613476e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/33ea806d02dd/vmlinux-6613476e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/33195f72f823/Image-6613476e.xz

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

 s11: ff60000011241a00 t3 : 0000000000000004 t4 : 1fec00000224849b
 t5 : 0000000000000002 t6 : 1fec0000022484c6
status: 0000000200000100 badaddr: ff2000000493ffc0 cause: 000000000000000f
Kernel panic - not syncing: Kernel stack overflow
CPU: 1 PID: 3859 Comm: kworker/1:3 Not tainted 6.8.0-rc1-syzkaller #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: usb_hub_wq hub_event
Call Trace:
[<ffffffff80010868>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff858a9b60>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff85904e9c>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff85904e9c>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff85904f24>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff858aa5b2>] panic+0x33c/0x77a kernel/panic.c:344
[<ffffffff80010396>] handle_bad_stack+0xe0/0xf4 arch/riscv/kernel/traps.c:412
[<ffffffff80214a26>] mark_usage kernel/locking/lockdep.c:4599 [inline]
[<ffffffff80214a26>] __lock_acquire+0xaa8/0x784c kernel/locking/lockdep.c:5091
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
@ 2024-02-03 18:02   ` syzbot
  0 siblings, 0 replies; 6+ messages in thread
From: syzbot @ 2024-02-03 18:02 UTC (permalink / raw)
  To: aou, linux-kernel, linux-riscv, palmer, paul.walmsley, syzkaller-bugs

syzbot has found a reproducer for the following issue on:

HEAD commit:    6613476e225e Linux 6.8-rc1
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
console output: https://syzkaller.appspot.com/x/log.txt?x=144ac160180000
kernel config:  https://syzkaller.appspot.com/x/.config?x=877e61347079aad5
dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: riscv64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10c57b90180000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=15d369ffe80000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-6613476e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/33ea806d02dd/vmlinux-6613476e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/33195f72f823/Image-6613476e.xz

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

 s11: ff60000011241a00 t3 : 0000000000000004 t4 : 1fec00000224849b
 t5 : 0000000000000002 t6 : 1fec0000022484c6
status: 0000000200000100 badaddr: ff2000000493ffc0 cause: 000000000000000f
Kernel panic - not syncing: Kernel stack overflow
CPU: 1 PID: 3859 Comm: kworker/1:3 Not tainted 6.8.0-rc1-syzkaller #0
Hardware name: riscv-virtio,qemu (DT)
Workqueue: usb_hub_wq hub_event
Call Trace:
[<ffffffff80010868>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
[<ffffffff858a9b60>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
[<ffffffff85904e9c>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff85904e9c>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
[<ffffffff85904f24>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff858aa5b2>] panic+0x33c/0x77a kernel/panic.c:344
[<ffffffff80010396>] handle_bad_stack+0xe0/0xf4 arch/riscv/kernel/traps.c:412
[<ffffffff80214a26>] mark_usage kernel/locking/lockdep.c:4599 [inline]
[<ffffffff80214a26>] __lock_acquire+0xaa8/0x784c kernel/locking/lockdep.c:5091
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
  2024-02-03 18:02   ` syzbot
@ 2024-02-04 16:24     ` Alexandre Ghiti
  -1 siblings, 0 replies; 6+ messages in thread
From: Alexandre Ghiti @ 2024-02-04 16:24 UTC (permalink / raw)
  To: syzbot, aou, linux-kernel, linux-riscv, palmer, paul.walmsley,
	syzkaller-bugs

On 03/02/2024 19:02, syzbot wrote:
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit:    6613476e225e Linux 6.8-rc1
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
> console output: https://syzkaller.appspot.com/x/log.txt?x=144ac160180000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=877e61347079aad5
> dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
> compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: riscv64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10c57b90180000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=15d369ffe80000
>
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-6613476e.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/33ea806d02dd/vmlinux-6613476e.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/33195f72f823/Image-6613476e.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+5c1ebfe49c5e8e998e75@syzkaller.appspotmail.com
>
>   s11: ff60000011241a00 t3 : 0000000000000004 t4 : 1fec00000224849b
>   t5 : 0000000000000002 t6 : 1fec0000022484c6
> status: 0000000200000100 badaddr: ff2000000493ffc0 cause: 000000000000000f
> Kernel panic - not syncing: Kernel stack overflow
> CPU: 1 PID: 3859 Comm: kworker/1:3 Not tainted 6.8.0-rc1-syzkaller #0
> Hardware name: riscv-virtio,qemu (DT)
> Workqueue: usb_hub_wq hub_event
> Call Trace:
> [<ffffffff80010868>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
> [<ffffffff858a9b60>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
> [<ffffffff85904e9c>] __dump_stack lib/dump_stack.c:88 [inline]
> [<ffffffff85904e9c>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
> [<ffffffff85904f24>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
> [<ffffffff858aa5b2>] panic+0x33c/0x77a kernel/panic.c:344
> [<ffffffff80010396>] handle_bad_stack+0xe0/0xf4 arch/riscv/kernel/traps.c:412
> [<ffffffff80214a26>] mark_usage kernel/locking/lockdep.c:4599 [inline]
> [<ffffffff80214a26>] __lock_acquire+0xaa8/0x784c kernel/locking/lockdep.c:5091
> SMP: stopping secondary CPUs
> Rebooting in 86400 seconds..
>
>
> ---
> If you want syzbot to run the reproducer, reply with:
> #syz test: git://repo/address.git branch-or-commit-hash
> If you attach or paste a git patch, syzbot will apply it before testing.
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv


I ran the reproducer locally all week-end but not luck, it did not 
trigger any panic.


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [syzbot] [riscv?] kernel panic: Kernel stack overflow (2)
@ 2024-02-04 16:24     ` Alexandre Ghiti
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Ghiti @ 2024-02-04 16:24 UTC (permalink / raw)
  To: syzbot, aou, linux-kernel, linux-riscv, palmer, paul.walmsley,
	syzkaller-bugs

On 03/02/2024 19:02, syzbot wrote:
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit:    6613476e225e Linux 6.8-rc1
> git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes
> console output: https://syzkaller.appspot.com/x/log.txt?x=144ac160180000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=877e61347079aad5
> dashboard link: https://syzkaller.appspot.com/bug?extid=5c1ebfe49c5e8e998e75
> compiler:       riscv64-linux-gnu-gcc (Debian 12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> userspace arch: riscv64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10c57b90180000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=15d369ffe80000
>
> Downloadable assets:
> disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/a741b348759c/non_bootable_disk-6613476e.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/33ea806d02dd/vmlinux-6613476e.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/33195f72f823/Image-6613476e.xz
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+5c1ebfe49c5e8e998e75@syzkaller.appspotmail.com
>
>   s11: ff60000011241a00 t3 : 0000000000000004 t4 : 1fec00000224849b
>   t5 : 0000000000000002 t6 : 1fec0000022484c6
> status: 0000000200000100 badaddr: ff2000000493ffc0 cause: 000000000000000f
> Kernel panic - not syncing: Kernel stack overflow
> CPU: 1 PID: 3859 Comm: kworker/1:3 Not tainted 6.8.0-rc1-syzkaller #0
> Hardware name: riscv-virtio,qemu (DT)
> Workqueue: usb_hub_wq hub_event
> Call Trace:
> [<ffffffff80010868>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:121
> [<ffffffff858a9b60>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:127
> [<ffffffff85904e9c>] __dump_stack lib/dump_stack.c:88 [inline]
> [<ffffffff85904e9c>] dump_stack_lvl+0xe8/0x154 lib/dump_stack.c:106
> [<ffffffff85904f24>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
> [<ffffffff858aa5b2>] panic+0x33c/0x77a kernel/panic.c:344
> [<ffffffff80010396>] handle_bad_stack+0xe0/0xf4 arch/riscv/kernel/traps.c:412
> [<ffffffff80214a26>] mark_usage kernel/locking/lockdep.c:4599 [inline]
> [<ffffffff80214a26>] __lock_acquire+0xaa8/0x784c kernel/locking/lockdep.c:5091
> SMP: stopping secondary CPUs
> Rebooting in 86400 seconds..
>
>
> ---
> If you want syzbot to run the reproducer, reply with:
> #syz test: git://repo/address.git branch-or-commit-hash
> If you attach or paste a git patch, syzbot will apply it before testing.
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv


I ran the reproducer locally all week-end but not luck, it did not 
trigger any panic.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-04 16:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23 12:49 [syzbot] [riscv?] kernel panic: Kernel stack overflow (2) syzbot
2023-12-23 12:49 ` syzbot
2024-02-03 18:02 ` syzbot
2024-02-03 18:02   ` syzbot
2024-02-04 16:24   ` Alexandre Ghiti
2024-02-04 16:24     ` Alexandre Ghiti

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.