syzbot


WARNING in iomap_page_mkwrite

Status: upstream: reported C repro on 2023/09/26 08:47
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+f0d3c64639470e88aa68@syzkaller.appspotmail.com
First crash: 400d, last: 19h34m
Bug presence (2)
Date Name Commit Repro Result
2024/02/10 linux-5.15.y (ToT) 6139f2a02fe0 C [report] WARNING in iomap_page_mkwrite
2024/02/10 upstream (ToT) 4a7bbe7519b6 C Didn't crash
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/03/25 03:45 1h03m fix candidate upstream OK (0) job log
2024/01/20 22:30 2m fix candidate upstream error job log
2023/12/16 17:23 1m fix candidate upstream error job log
2023/11/14 20:43 1m fix candidate upstream error job log
2023/10/13 04:11 1m fix candidate upstream error job log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3512 at fs/iomap/buffered-io.c:975 iomap_page_mkwrite+0x65c/0x840 fs/iomap/buffered-io.c:998
Modules linked in:
CPU: 0 PID: 3512 Comm: syz-executor415 Not tainted 5.15.148-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:iomap_page_mkwrite_iter fs/iomap/buffered-io.c:975 [inline]
RIP: 0010:iomap_page_mkwrite+0x65c/0x840 fs/iomap/buffered-io.c:998
Code: 80 3c 28 00 74 08 48 89 df e8 d0 64 d6 ff 48 8b 1b 48 89 de 48 83 e6 04 31 ff e8 4f b2 8c ff 48 83 e3 04 75 3b e8 64 ae 8c ff <0f> 0b eb 37 4c 8b 2c 24 4c 89 ef 4c 89 e6 44 89 f2 31 c9 4c 8b 44
RSP: 0018:ffffc900030b7680 EFLAGS: 00010293

RAX: ffffffff81f37f5c RBX: 0000000000000000 RCX: ffff8880798ad940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900030b7890 R08: ffffffff81f37f51 R09: fffff9400039b9b1
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0001cdcd80
R13: dffffc0000000000 R14: 0000000000001000 R15: ffffc900030b7740
FS:  00007fbb7667a6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb767308a8 CR3: 000000001e3c7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __xfs_filemap_fault+0x3fd/0x950 fs/xfs/xfs_file.c:1338
 do_page_mkwrite+0x1a9/0x440 mm/memory.c:2892
 wp_page_shared+0x179/0x690 mm/memory.c:3229
 handle_pte_fault mm/memory.c:4639 [inline]
 __handle_mm_fault mm/memory.c:4756 [inline]
 handle_mm_fault+0x2a3d/0x5950 mm/memory.c:4854
 do_user_addr_fault arch/x86/mm/fault.c:1397 [inline]
 handle_page_fault arch/x86/mm/fault.c:1485 [inline]
 exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1541
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0010:__put_user_nocheck_4+0x3/0x11
Code: 00 00 48 39 d9 73 54 0f 01 cb 66 89 01 31 c9 0f 01 ca c3 0f 1f 44 00 00 48 bb fd ef ff ff ff 7f 00 00 48 39 d9 73 34 0f 01 cb <89> 01 31 c9 0f 01 ca c3 66 0f 1f 44 00 00 48 bb f9 ef ff ff ff 7f
RSP: 0018:ffffc900030b7df8 EFLAGS: 00050293

RAX: 0000000000000005 RBX: 00007fffffffeffd RCX: 0000000020000240
RDX: 0000000000000000 RSI: ffffffff8a8b2220 RDI: ffffffff8ad87e40
RBP: ffffc900030b7ef0 R08: dffffc0000000000 R09: fffffbfff1bc73d6
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 1ffff92000616fc8 R14: 1ffff92000616fd0 R15: 0000000020000240
 __sys_socketpair+0x182/0x700 net/socket.c:1624
 __do_sys_socketpair net/socket.c:1690 [inline]
 __se_sys_socketpair net/socket.c:1687 [inline]
 __x64_sys_socketpair+0x97/0xb0 net/socket.c:1687
 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+0x61/0xcb
RIP: 0033:0x7fbb766dd029
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbb7667a218 EFLAGS: 00000246
 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007fbb7676f618 RCX: 00007fbb766dd029
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 00007fbb7676f610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000240 R11: 0000000000000246 R12: 00007fbb7673c980
R13: 0030656c69662f2e R14: 00746e6572727563 R15: 632e79726f6d656d
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	48 39 d9             	cmp    %rbx,%rcx
   5:	73 54                	jae    0x5b
   7:	0f 01 cb             	stac
   a:	66 89 01             	mov    %ax,(%rcx)
   d:	31 c9                	xor    %ecx,%ecx
   f:	0f 01 ca             	clac
  12:	c3                   	ret
  13:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
  18:	48 bb fd ef ff ff ff 	movabs $0x7fffffffeffd,%rbx
  1f:	7f 00 00
  22:	48 39 d9             	cmp    %rbx,%rcx
  25:	73 34                	jae    0x5b
  27:	0f 01 cb             	stac
* 2a:	89 01                	mov    %eax,(%rcx) <-- trapping instruction
  2c:	31 c9                	xor    %ecx,%ecx
  2e:	0f 01 ca             	clac
  31:	c3                   	ret
  32:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  38:	48                   	rex.W
  39:	bb f9 ef ff ff       	mov    $0xffffeff9,%ebx
  3e:	ff                   	(bad)
  3f:	7f                   	.byte 0x7f

Crashes (537):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/10 07:19 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/07/28 17:43 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/04/19 07:32 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/02/10 00:54 linux-5.15.y 6139f2a02fe0 77b23aa1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2023/10/06 21:39 linux-5.15.y 1edcec18cfb7 ea12a918 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/27 00:15 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/26 22:21 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/24 20:29 linux-5.15.y 74cdd62cb470 0d144d1a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/21 06:51 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/20 21:14 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/20 16:42 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/17 04:37 linux-5.15.y 3a5928702e71 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/17 04:37 linux-5.15.y 3a5928702e71 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/15 06:58 linux-5.15.y 3a5928702e71 b01b6661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/13 05:46 linux-5.15.y 3a5928702e71 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/11 15:25 linux-5.15.y 3a5928702e71 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/06 03:09 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/05 07:24 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/04 18:55 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/03 06:47 linux-5.15.y 3a5928702e71 a4c7fd36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/09/28 19:55 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/09/23 02:19 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in iomap_page_mkwrite
2024/10/30 03:39 linux-5.15.y 74cdd62cb470 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/27 22:12 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/27 19:55 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/27 02:07 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/26 12:27 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/20 21:54 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/20 15:37 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/20 05:23 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/20 02:29 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/19 23:55 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/18 13:49 linux-5.15.y 584a40a22cb9 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/18 08:39 linux-5.15.y 584a40a22cb9 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/17 22:51 linux-5.15.y 584a40a22cb9 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/17 02:15 linux-5.15.y 3a5928702e71 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/16 07:46 linux-5.15.y 3a5928702e71 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/09 10:33 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/09 02:31 linux-5.15.y 3a5928702e71 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/07 23:12 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/07 17:45 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/07 15:55 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/07 11:19 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/06 21:31 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/06 02:08 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/05 18:51 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/05 11:43 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/05 06:08 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/05 02:20 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/04 21:57 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/04 20:02 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/04 16:17 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/10/02 10:48 linux-5.15.y 3a5928702e71 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/09/30 03:38 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/09/29 09:26 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/09/28 05:41 linux-5.15.y 3a5928702e71 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2024/09/25 02:37 linux-5.15.y 3a5928702e71 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
2023/09/26 08:46 linux-5.15.y b911329317b4 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in iomap_page_mkwrite
* Struck through repros no longer work on HEAD.