syzbot


kernel BUG in __phys_addr

Status: upstream: reported C repro on 2024/04/27 21:08
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+2c00ffdada0b04c96497@syzkaller.appspotmail.com
First crash: 52d, last: 19d
Bug presence (2)
Date Name Commit Repro Result
2024/04/28 linux-5.15.y (ToT) b925f60c6ee7 C [report] kernel BUG in __phys_addr
2024/04/28 upstream (ToT) 2c8159388952 C Didn't crash
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __phys_addr (2) bcachefs C error done 54 46d 339d 0/27 upstream: reported C repro on 2023/07/15 19:54
linux-6.1 kernel BUG in __phys_addr C done 2 376d 407d 3/3 fixed on 2023/07/17 13:09
upstream kernel BUG at arch/x86/mm/physaddr.c:LINE! (6) raid 90 924d 1420d 0/27 auto-closed as invalid on 2022/04/07 07:37
linux-4.14 kernel BUG at arch/x86/mm/physaddr.c:LINE! C inconclusive 23 1181d 1637d 0/1 upstream: reported C repro on 2019/12/26 02:01
linux-6.1 kernel BUG in __phys_addr (2) origin:lts-only C done 12 52d 53d 0/3 upstream: reported C repro on 2024/04/27 00:09
linux-4.19 kernel BUG at arch/x86/mm/physaddr.c:LINE! (3) 76 660d 1436d 0/1 auto-obsoleted due to no activity on 2022/12/26 22:17
upstream kernel BUG in __phys_addr net 1 424d 420d 0/27 auto-obsoleted due to no activity on 2023/06/21 10:32
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/05/31 14:27 1h26m bisect fix linux-5.15.y job log (0) 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: 3501 Comm: syz-executor304 Not tainted 5.15.157-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 bb ce 46 00 48 c7 c7 50 7c 79 8c 4c 89 f6 4c 89 fa e8 b9 f9 f0 02 e9 49 ff ff ff e8 9f ce 46 00 0f 0b e8 98 ce 46 00 <0f> 0b e8 91 ce 46 00 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
RSP: 0018:ffffc90002cd7b60 EFLAGS: 00010293
RAX: ffffffff81398e48 RBX: 0000000000000001 RCX: ffff8880230a1dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffea0000000000 R08: ffffffff81398d98 R09: fffffbfff1f7ee32
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888078f56000
R13: dffffc0000000000 R14: 00004080032b9000 R15: 000000000000002e
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdac85b4130 CR3: 0000000079bc2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 virt_to_head_page include/linux/mm.h:900 [inline]
 kfree+0x6e/0x270 mm/slub.c:4554
 put_ntfs+0x8f/0x2b0 fs/ntfs3/super.c:444
 ntfs_put_super+0xb6/0x110 fs/ntfs3/super.c:486
 generic_shutdown_super+0x136/0x2c0 fs/super.c:475
 kill_block_super+0x7a/0xe0 fs/super.c:1414
 deactivate_locked_super+0xa0/0x110 fs/super.c:335
 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:872
 do_group_exit+0x144/0x310 kernel/exit.c:994
 __do_sys_exit_group kernel/exit.c:1005 [inline]
 __se_sys_exit_group kernel/exit.c:1003 [inline]
 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1003
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fdac851b749
Code: Unable to access opcode bytes at RIP 0x7fdac851b71f.
RSP: 002b:00007ffd6d811ba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fdac851b749
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007fdac85b62b0 R08: ffffffffffffffb8 R09: 002c6e6564646968
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdac85b62b0
R13: 0000000000000000 R14: 00007fdac85b7020 R15: 00007fdac84e9ca0
 </TASK>
Modules linked in:
---[ end trace 494e0b9b9c545414 ]---
RIP: 0010:__phys_addr+0x158/0x170 arch/x86/mm/physaddr.c:28
Code: ff ff e8 bb ce 46 00 48 c7 c7 50 7c 79 8c 4c 89 f6 4c 89 fa e8 b9 f9 f0 02 e9 49 ff ff ff e8 9f ce 46 00 0f 0b e8 98 ce 46 00 <0f> 0b e8 91 ce 46 00 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44
RSP: 0018:ffffc90002cd7b60 EFLAGS: 00010293
RAX: ffffffff81398e48 RBX: 0000000000000001 RCX: ffff8880230a1dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffea0000000000 R08: ffffffff81398d98 R09: fffffbfff1f7ee32
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888078f56000
R13: dffffc0000000000 R14: 00004080032b9000 R15: 000000000000002e
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a2259793e8 CR3: 000000001a796000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/28 03:09 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __phys_addr
2024/04/27 21:08 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __phys_addr
2024/04/27 21:08 linux-5.15.y b925f60c6ee7 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __phys_addr
* Struck through repros no longer work on HEAD.