syzbot


WARNING in udf_new_block

Status: fixed on 2024/01/31 10:34
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+cc717c6c5fee9ed6e41d@syzkaller.appspotmail.com
Fix commit: 6f861765464f fs: Block writes to mounted block devices
First crash: 371d, last: 83d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in udf_add_free_space (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] [udf?] WARNING in udf_new_block 1 (4) 2024/01/29 09:27
[syzbot] Monthly udf report (Dec 2023) 0 (1) 2023/12/11 09:40
[syzbot] Monthly udf report (Nov 2023) 0 (1) 2023/11/09 18:23
[syzbot] Monthly udf report (Oct 2023) 0 (1) 2023/10/09 09:23
[syzbot] Monthly udf report (Sep 2023) 0 (1) 2023/09/08 14:11
[syzbot] Monthly udf report (Jun 2023) 0 (1) 2023/06/07 09:22
[syzbot] Monthly udf report (May 2023) 0 (1) 2023/05/06 08:19
[syzbot] Monthly udf report 0 (1) 2023/04/05 08:52
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in udf_new_block 1 343d 343d 0/3 auto-obsoleted due to no activity on 2023/08/09 08:15
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/01/18 11:38 45m retest repro upstream OK log
2023/11/09 10:04 13m retest repro upstream report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5033 at fs/udf/udfdecl.h:123 udf_add_free_space fs/udf/balloc.c:121 [inline]
WARNING: CPU: 1 PID: 5033 at fs/udf/udfdecl.h:123 udf_bitmap_new_block fs/udf/balloc.c:365 [inline]
WARNING: CPU: 1 PID: 5033 at fs/udf/udfdecl.h:123 udf_new_block+0x1dea/0x2130 fs/udf/balloc.c:725
Modules linked in:
CPU: 1 PID: 5033 Comm: syz-executor112 Not tainted 6.6.0-rc5-syzkaller-00192-g10a6e5feccb8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:121 [inline]
RIP: 0010:udf_add_free_space fs/udf/balloc.c:121 [inline]
RIP: 0010:udf_bitmap_new_block fs/udf/balloc.c:365 [inline]
RIP: 0010:udf_new_block+0x1dea/0x2130 fs/udf/balloc.c:725
Code: 87 fe 0f 0b e9 64 fc ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 7d e3 ff ff 48 89 df e8 60 53 e2 fe e9 70 e3 ff ff e8 56 d4 87 fe <0f> 0b e9 10 ff ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c fa e3 ff
RSP: 0018:ffffc9000395f5c0 EFLAGS: 00010293
RAX: ffffffff8306378a RBX: 0000000070d0c345 RCX: ffff88807e139dc0
RDX: 0000000000000000 RSI: 0000000070d0c345 RDI: 0000000000000000
RBP: ffffc9000395f810 R08: ffffffff83063694 R09: 1ffff1100ee3b7d0
R10: dffffc0000000000 R11: ffffed100ee3b7d1 R12: 000000000000003e
R13: dffffc0000000000 R14: ffff88807e23401c R15: 00000000000000fe
FS:  00005555572c4380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2aa7df4000 CR3: 0000000075d20000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_new_inode+0x389/0xcf0 fs/udf/ialloc.c:67
 udf_create+0x21/0xe0 fs/udf/namei.c:380
 lookup_open fs/namei.c:3495 [inline]
 open_last_lookups fs/namei.c:3563 [inline]
 path_openat+0x13e7/0x3180 fs/namei.c:3793
 do_filp_open+0x234/0x490 fs/namei.c:3823
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1422
 do_sys_open fs/open.c:1437 [inline]
 __do_sys_creat fs/open.c:1513 [inline]
 __se_sys_creat fs/open.c:1507 [inline]
 __x64_sys_creat+0x123/0x160 fs/open.c:1507
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f2ab0213579
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc0fb25858 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f2ab025c04b RCX: 00007f2ab0213579
RDX: 00007f2ab0212870 RSI: 0000000000000000 RDI: 0000000020000440
RBP: 00007f2ab025c060 R08: 000000000001f21e R09: 00000000200012c0
R10: 000000000001f222 R11: 0000000000000246 R12: 00007f2ab025e158
R13: 000000000000ba30 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/14 02:30 upstream 10a6e5feccb8 f757a323 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] [mounted in repro #3] [mounted in repro #4] [mounted in repro #5] [mounted in repro #6] [mounted in repro #7] ci2-upstream-fs WARNING in udf_new_block
2023/12/26 18:26 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/12/14 19:58 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/12/07 20:23 upstream bee0e7762ad2 0a02ce36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/10/26 09:50 upstream 611da07b89fd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/10/17 14:51 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/10/14 00:28 upstream 10a6e5feccb8 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/10/03 13:09 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/09/16 18:00 upstream 57d88e8a5974 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/08/28 05:10 upstream 2dde18cd1d8f 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/08/18 18:41 upstream 0e8860d2125f acb1ba71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/07/14 19:06 upstream 4b810bf037e5 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/06/21 14:00 upstream e660abd551f1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/06/07 01:35 upstream a4d7d7011219 a4ae4f42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/30 09:46 upstream 8b817fded42d cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/28 16:08 upstream 416839029e38 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/25 20:05 upstream 933174ae28ba 0513b3e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/15 18:38 upstream f1fcbaa18b28 c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/13 07:26 upstream 9a48d6046722 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/11 12:57 upstream d295b66a7b66 0fbd49f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/03 22:23 upstream 348551ddaf31 b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/05/02 20:04 upstream 865fdb08197e 52d40fd2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/29 18:09 upstream 89d77f71f493 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/25 22:31 upstream 173ea743bf7a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/24 05:59 upstream 457391b03803 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/15 15:14 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/09 12:28 upstream cdc9718d5e59 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/06 17:16 upstream 99ddf2254feb 08707520 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/04 04:15 upstream 148341f0a2f5 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/04/03 04:00 upstream 6ab608fe852b f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
2023/03/13 11:11 upstream eeac8ede1755 5205ef30 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_new_block
* Struck through repros no longer work on HEAD.