syzbot
kernel BUG in __phys_addr (2)
Status:
upstream: reported C repro on 2024/04/27 00:09
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+3c339e6f719df0a7faac@syzkaller.appspotmail.com
First crash: 830d, last: 829d
▶
▼
Fix bisection attempts (1)
| Created |
Duration |
User |
Patch |
Repo |
Result |
| 2024/05/17 05:45 |
6h08m
|
fix candidate
|
|
upstream |
OK
(1)
job log
|
Sample crash report:
loop0: detected capacity change from 0 to 4096
------------[ cut here ]------------
kernel BUG at arch/x86/mm/physaddr.c:28!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3546 Comm: syz-executor103 Not tainted 6.1.87-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:__phys_addr+0x158/0x170 arch/x86/mm/physaddr.c:28
Code: ff ff e8 cb dc 4c 00 48 c7 c7 40 0a fa 8c 4c 89 f6 4c 89 fa e8 19 a3 25 03 e9 49 ff ff ff e8 af dc 4c 00 0f 0b e8 a8 dc 4c 00 <0f> 0b e8 a1 dc 4c 00 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
RSP: 0018:ffffc9000393fad8 EFLAGS: 00010293
RAX: ffffffff813db2b8 RBX: 0000000000000001 RCX: ffff888028ba9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 1ffff1100f69a4cf R08: ffffffff813db208 R09: fffffbfff209345e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b4d2000
R13: dffffc0000000000 R14: 000040800c200000 R15: 000000000000002e
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f32402b4130 CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
virt_to_folio include/linux/mm.h:898 [inline]
kfree+0x42/0x190 mm/slab_common.c:999
put_ntfs+0x8f/0x2b0 fs/ntfs3/super.c:444
ntfs_put_super+0xb6/0x110 fs/ntfs3/super.c:486
generic_shutdown_super+0x130/0x340 fs/super.c:501
kill_block_super+0x7a/0xe0 fs/super.c:1459
deactivate_locked_super+0xa0/0x110 fs/super.c:332
cleanup_mnt+0x490/0x520 fs/namespace.c:1186
task_work_run+0x246/0x300 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa73/0x26a0 kernel/exit.c:869
do_group_exit+0x202/0x2b0 kernel/exit.c:1019
__do_sys_exit_group kernel/exit.c:1030 [inline]
__se_sys_exit_group kernel/exit.c:1028 [inline]
__x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1028
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f324021b749
Code: Unable to access opcode bytes at 0x7f324021b71f.
RSP: 002b:00007ffde74fe478 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f324021b749
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007f32402b62b0 R08: ffffffffffffffb8 R09: 002c6e6564646968
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f32402b62b0
R13: 0000000000000000 R14: 00007f32402b7020 R15: 00007f32401e9ca0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__phys_addr+0x158/0x170 arch/x86/mm/physaddr.c:28
Code: ff ff e8 cb dc 4c 00 48 c7 c7 40 0a fa 8c 4c 89 f6 4c 89 fa e8 19 a3 25 03 e9 49 ff ff ff e8 af dc 4c 00 0f 0b e8 a8 dc 4c 00 <0f> 0b e8 a1 dc 4c 00 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
RSP: 0018:ffffc9000393fad8 EFLAGS: 00010293
RAX: ffffffff813db2b8 RBX: 0000000000000001 RCX: ffff888028ba9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 1ffff1100f69a4cf R08: ffffffff813db208 R09: fffffbfff209345e
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807b4d2000
R13: dffffc0000000000 R14: 000040800c200000 R15: 000000000000002e
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e9e2e8def8 CR3: 000000007eaa7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.