syzbot


kernel BUG in __page_table_check_zero

Status: upstream: reported C repro on 2023/06/18 21:38
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+6d55afadbe7f713502a2@syzkaller.appspotmail.com
First crash: 342d, last: 18h08m
Bug presence (1)
Date Name Commit Repro Result
2023/06/19 upstream (ToT) dbad9ce9397e C [report] kernel BUG in __page_table_check_zero
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in __page_table_check_zero usb C error 104 1d06h 371d 0/26 upstream: reported C repro on 2023/05/21 16:20
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/05/26 00:28 58m bisect fix linux-6.1.y job log (0) log
2024/04/21 06:44 1h24m bisect fix linux-6.1.y job log (0) log
2024/03/19 02:58 1h08m bisect fix linux-6.1.y job log (0) log
2024/01/07 19:24 1h00m bisect fix linux-6.1.y job log (0) log
2023/12/08 15:21 1h02m bisect fix linux-6.1.y job log (0) log
2023/11/07 18:36 1h16m bisect fix linux-6.1.y job log (0) log
2023/10/05 23:10 1h22m bisect fix linux-6.1.y job log (0) log
2023/08/07 10:29 4h57m (2) bisect fix linux-6.1.y job log (0) log

Sample crash report:
R10: 0000000000011012 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
------------[ cut here ]------------
kernel BUG at mm/page_table_check.c:146!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3538 Comm: syz-executor539 Not tainted 6.1.34-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
RIP: 0010:__page_table_check_zero+0x2d1/0x4a0 mm/page_table_check.c:146
Code: 9f ff 48 ff cb e9 b5 fd ff ff e8 ca 35 9f ff 48 ff cb e9 27 fe ff ff e8 bd 35 9f ff 0f 0b e8 b6 35 9f ff 0f 0b e8 af 35 9f ff <0f> 0b 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 7c 39 9f ff 4c 89 f0
RSP: 0018:ffffc90003a7f830 EFLAGS: 00010293
RAX: ffffffff81ea9fa1 RBX: dffffc0000000000 RCX: ffff88802a2f5940
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888016c00044
RBP: ffff888016c00044 R08: dffffc0000000000 R09: ffffed1002d80009
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffffffff1a063ec R14: 000000000000000a R15: ffff888016c00000
FS:  0000555555601300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561283446008 CR3: 00000000186ba000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 page_table_check_free include/linux/page_table_check.h:46 [inline]
 free_pages_prepare mm/page_alloc.c:1461 [inline]
 __free_pages_ok+0xcfe/0xe20 mm/page_alloc.c:1716
 dec_usb_memory_use_count+0x259/0x350 drivers/usb/core/devio.c:198
 usbdev_mmap+0x6f4/0x740
 call_mmap include/linux/fs.h:2210 [inline]
 mmap_region+0xf96/0x1fa0 mm/mmap.c:2663
 do_mmap+0x8c5/0xf60 mm/mmap.c:1411
 vm_mmap_pgoff+0x1ca/0x2d0 mm/util.c:520
 ksys_mmap_pgoff+0x4f5/0x6d0 mm/mmap.c:1457
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ffbdb2f3d69
Code: 2a 01 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd900ea928 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007ffbdb2f3d69
RDX: 0000000001000002 RSI: 0000000000400000 RDI: 0000000020000000
RBP: 00007ffd900ea940 R08: 0000000000000003 R09: 0000000000000000
R10: 0000000000011012 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__page_table_check_zero+0x2d1/0x4a0 mm/page_table_check.c:146
Code: 9f ff 48 ff cb e9 b5 fd ff ff e8 ca 35 9f ff 48 ff cb e9 27 fe ff ff e8 bd 35 9f ff 0f 0b e8 b6 35 9f ff 0f 0b e8 af 35 9f ff <0f> 0b 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 7c 39 9f ff 4c 89 f0
RSP: 0018:ffffc90003a7f830 EFLAGS: 00010293
RAX: ffffffff81ea9fa1 RBX: dffffc0000000000 RCX: ffff88802a2f5940
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888016c00044
RBP: ffff888016c00044 R08: dffffc0000000000 R09: ffffed1002d80009
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffffffff1a063ec R14: 000000000000000a R15: ffff888016c00000
FS:  0000555555601300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000090 CR3: 00000000186ba000 CR4: 00000000003506f0
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
2023/06/18 21:37 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __page_table_check_zero
2024/02/16 18:36 linux-6.1.y f1bb70486c9c 578f7538 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in __page_table_check_zero
2024/02/16 15:50 linux-6.1.y f1bb70486c9c 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in __page_table_check_zero
* Struck through repros no longer work on HEAD.