syzbot


kernel BUG in ext4_write_inline_data_end

Status: upstream: reported C repro on 2021/02/14 13:39
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+ef030bd2767d6d562429@syzkaller.appspotmail.com
First crash: 1137d, last: 390d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (18)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at fs/ext4/inline.c:LINE! ext4 C done done 76 437d 1260d 22/26 fixed on 2023/02/24 13:50
android-54 kernel BUG in ext4_write_inline_data_end C 4 621d 755d 2/2 fixed on 2022/09/27 22:24
android-5-10 kernel BUG in ext4_write_inline_data_end C error 3 688d 755d 0/2 closed as dup on 2022/03/04 15:25
android-5-15 kernel BUG in ext4_write_inline_data_end (2) origin:lts C 6 23h24m 185d 0/2 upstream: reported C repro on 2023/09/24 12:05
android-5-10 kernel BUG in ext4_write_inline_data_end (2) C error 12 133d 639d 2/2 upstream: reported C repro on 2022/06/27 15:18
linux-6.1 kernel BUG in ext4_write_inline_data_end origin:upstream C 33 13d 381d 0/3 upstream: reported C repro on 2023/03/12 18:03
android-6-1 kernel BUG in ext4_write_inline_data_end origin:lts C error 1 18d 134d 0/2 upstream: reported C repro on 2023/11/14 10:56
android-5-15 kernel BUG in ext4_write_inline_data_end C error 11 479d 539d 2/2 fixed on 2023/02/02 00:40
linux-5.15 kernel BUG in ext4_write_inline_data_end origin:upstream C error 2 174d 302d 0/3 upstream: reported C repro on 2023/05/30 10:48
upstream kernel BUG in ext4_write_inline_data_end ext4 C error done 32 94d 391d 26/26 fixed on 2024/01/30 23:26
android-54 kernel BUG in ext4_write_inline_data_end (2) ext4 syz 4 39d 427d 0/2 upstream: reported syz repro on 2023/01/25 15:39
linux-4.14 kernel BUG in ext4_write_inline_data_end C error 4 477d 1063d 0/1 upstream: reported C repro on 2021/04/30 02:18
upstream kernel BUG in ext4_write_inline_data_end (2) ext4 C inconclusive 9 8h35m 55d 0/26 upstream: reported C repro on 2024/02/02 09:24
linux-4.14 kernel BUG in ext4_write_inline_data ext4 C 4 413d 509d 0/1 upstream: reported C repro on 2022/11/04 18:44
upstream kernel BUG in ext4_write_inline_data ext4 C error 23 31d 377d 0/26 upstream: reported C repro on 2023/03/17 03:16
android-6-1 kernel BUG in ext4_write_inline_data origin:lts C error 10 13h22m 269d 0/2 upstream: reported C repro on 2023/07/02 21:30
android-5-10 kernel BUG in ext4_write_inline_data ext4 C error inconclusive 3 409d 508d 2/2 fixed on 2023/05/04 14:51
android-54 kernel BUG in ext4_write_inline_data C 3 470d 508d 2/2 fixed on 2023/04/05 17:17
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2021/04/15 14:13 17m bisect fix linux-4.19.y error job log (0)
2021/03/16 13:38 35m bisect fix linux-4.19.y job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/inline.c:751!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8821 Comm: syz-executor351 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:ext4_write_inline_data_end+0x483/0x650 fs/ext4/inline.c:751
Code: 02 00 0f 85 c2 01 00 00 48 8b 7d 28 ba e9 02 00 00 48 c7 c6 60 51 7a 88 45 31 e4 e8 27 b2 0e 00 e9 6f ff ff ff e8 4d 84 84 ff <0f> 0b e8 46 84 84 ff 49 8d 7c 24 08 48 89 f8 48 c1 e8 03 42 80 3c
RSP: 0018:ffff888092e9f8a0 EFLAGS: 00010293
RAX: ffff8880aaa6c480 RBX: 0000000000000010 RCX: ffffffff81ddfde2
RDX: 0000000000000000 RSI: ffffffff81de0123 RDI: 0000000000000001
RBP: ffff88808cbf4430 R08: ffffffff8cd525c0 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffea00023b9300
R13: 0000000000000010 R14: 1ffff110125d3f18 R15: ffff888092e9f8e0
FS:  00007f3b3974a700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3b39729718 CR3: 00000000b3678000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ext4_write_end+0x1de/0xec0 fs/ext4/inode.c:1423
 ext4_da_write_end+0x860/0xa70 fs/ext4/inode.c:3170
 generic_perform_write+0x2ae/0x4d0 mm/filemap.c:3181
 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295
 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f3b3979dcc9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3b3974a2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000024 RCX: 00007f3b3979dcc9
RDX: 0000000000000010 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00007f3b398234a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3b398234a0
R13: 00007f3b397f00bc R14: 0030656c69662f2e R15: e5d26e84aa4cf3c6
Modules linked in:
---[ end trace e9cf05c093d934e4 ]---
RIP: 0010:ext4_write_inline_data_end+0x483/0x650 fs/ext4/inline.c:751
Code: 02 00 0f 85 c2 01 00 00 48 8b 7d 28 ba e9 02 00 00 48 c7 c6 60 51 7a 88 45 31 e4 e8 27 b2 0e 00 e9 6f ff ff ff e8 4d 84 84 ff <0f> 0b e8 46 84 84 ff 49 8d 7c 24 08 48 89 f8 48 c1 e8 03 42 80 3c
RSP: 0018:ffff888092e9f8a0 EFLAGS: 00010293
RAX: ffff8880aaa6c480 RBX: 0000000000000010 RCX: ffffffff81ddfde2
RDX: 0000000000000000 RSI: ffffffff81de0123 RDI: 0000000000000001
RBP: ffff88808cbf4430 R08: ffffffff8cd525c0 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffea00023b9300
R13: 0000000000000010 R14: 1ffff110125d3f18 R15: ffff888092e9f8e0
FS:  00007f3b3974a700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3b39729718 CR3: 00000000b3678000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/08/24 02:50 linux-4.19.y 3f8a27f9e27b cea8b0f7 .config console log report syz C ci2-linux-4-19 kernel BUG in ext4_write_inline_data_end
2022/03/04 06:39 linux-4.19.y 3f8a27f9e27b 45a13a73 .config console log report syz C ci2-linux-4-19 kernel BUG in ext4_write_inline_data_end
2023/03/03 04:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2022/11/06 22:26 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2022/11/04 14:46 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2022/10/06 02:41 linux-4.19.y 3f8a27f9e27b 2c6543ad .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2021/02/14 13:38 linux-4.19.y 811218eceeaa 98682e5e .config console log report syz ci2-linux-4-19 kernel BUG in ext4_write_inline_data_end
2021/12/03 10:26 linux-4.19.y 3f8a27f9e27b 61f86278 .config console log report info ci2-linux-4-19 kernel BUG in ext4_write_inline_data_end
2023/03/03 09:54 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2023/03/03 04:25 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2023/01/25 00:24 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
2022/10/04 07:09 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in ext4_write_inline_data
* Struck through repros no longer work on HEAD.