syzbot


WARNING in flush_tlb_func

Status: auto-obsoleted due to no activity on 2025/01/18 21:22
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+2f32bc207cbe5ca4b7a2@syzkaller.appspotmail.com
First crash: 61d, last: 42d
Cause bisection: introduced by (bisect log) :
commit 209954cbc7d0ce1a190fc725d20ce303d74d2680
Author: Rik van Riel <riel@surriel.com>
Date: Thu Nov 14 15:26:16 2024 +0000

  x86/mm/tlb: Update mm_cpumask lazily

Crash: WARNING in flush_tlb_func (log)
Repro: syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in flush_tlb_func 0 (3) 2024/12/11 11:17
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/12/23 21:54 23m retest repro linux-next OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8203 at arch/x86/mm/tlb.c:817 flush_tlb_func+0x631/0x700 arch/x86/mm/tlb.c:817
Modules linked in:
CPU: 0 UID: 0 PID: 8203 Comm: syz.4.338 Not tainted 6.13.0-rc1-next-20241205-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:flush_tlb_func+0x631/0x700 arch/x86/mm/tlb.c:817
Code: e9 16 fb ff ff 90 0f 0b 90 e9 76 fb ff ff 45 31 f6 49 bc 00 00 00 00 00 fc ff df e9 53 ff ff ff 90 0f 0b 90 e9 8f fc ff ff 90 <0f> 0b 90 e9 a8 fc ff ff 90 0f 0b 90 e9 d5 fb ff ff 90 0f 0b 90 e9
RSP: 0018:ffffc90003f9e6e0 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: ffff8880b863d880 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff888031173888
RBP: ffffc90003f9e7d0 R08: ffff88803117388f R09: 1ffff1100622e711
R10: dffffc0000000000 R11: ffffed100622e712 R12: 1ffff110170c7b13
R13: 0000000000000029 R14: 0000000000000028 R15: ffff8880b863d898
FS:  00007fb12b8e86c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb12b8e7fb8 CR3: 00000000650d4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 csd_do_func kernel/smp.c:134 [inline]
 smp_call_function_many_cond+0x1760/0x2c60 kernel/smp.c:875
 on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1051
 __flush_tlb_multi arch/x86/include/asm/paravirt.h:91 [inline]
 flush_tlb_multi arch/x86/mm/tlb.c:939 [inline]
 flush_tlb_mm_range+0x329/0x5c0 arch/x86/mm/tlb.c:1025
 flush_tlb_page arch/x86/include/asm/tlbflush.h:254 [inline]
 ptep_clear_flush+0x11a/0x170 mm/pgtable-generic.c:101
 page_vma_mkclean_one+0x58a/0x9a0 mm/rmap.c:1051
 page_mkclean_one+0x272/0x350 mm/rmap.c:1092
 rmap_walk_file+0x502/0x780 mm/rmap.c:2708
 rmap_walk mm/rmap.c:2726 [inline]
 folio_mkclean+0x252/0x370 mm/rmap.c:1124
 folio_clear_dirty_for_io+0x219/0x950 mm/page-writeback.c:3012
 mpage_submit_folio+0x84/0x340 fs/ext4/inode.c:1913
 mpage_process_page_bufs+0x6d1/0x9d0 fs/ext4/inode.c:2045
 mpage_prepare_extent_to_map+0xecb/0x1860 fs/ext4/inode.c:2546
 ext4_do_writepages+0xc2a/0x3df0 fs/ext4/inode.c:2688
 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2824
 do_writepages+0x35f/0x880 mm/page-writeback.c:2681
 filemap_fdatawrite_wbc mm/filemap.c:397 [inline]
 __filemap_fdatawrite_range mm/filemap.c:430 [inline]
 file_write_and_wait_range+0x2a3/0x3c0 mm/filemap.c:787
 ext4_sync_file+0x25d/0xb90 fs/ext4/fsync.c:158
 __do_sys_msync mm/msync.c:96 [inline]
 __se_sys_msync+0x3d7/0x5a0 mm/msync.c:32
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb12ab7fed9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb12b8e8058 EFLAGS: 00000246 ORIG_RAX: 000000000000001a
RAX: ffffffffffffffda RBX: 00007fb12ad46080 RCX: 00007fb12ab7fed9
RDX: 0000000000000006 RSI: 087abbe8d1cc6ad9 RDI: 0000000020952000
RBP: 00007fb12abf3cc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fb12ad46080 R15: 00007ffc279d9088
 </TASK>

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/09 21:22 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/09 16:33 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/09 16:19 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/07 02:10 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/07 02:09 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/07 00:18 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/06 21:32 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/06 21:19 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/06 18:46 linux-next af2ea8ab7a54 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 19:18 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 17:14 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 15:23 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 13:08 linux-next f486c8aa16b8 578925bc .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 11:26 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 11:17 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 11:06 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 10:45 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/12/03 09:01 linux-next f486c8aa16b8 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/30 04:50 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/30 04:48 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/30 04:46 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/30 04:34 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/30 02:26 linux-next f486c8aa16b8 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/28 04:04 linux-next f486c8aa16b8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/20 21:26 linux-next ac24e26aa08f 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
2024/11/20 18:13 linux-next ac24e26aa08f 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in flush_tlb_func
* Struck through repros no longer work on HEAD.