lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <00000000000093b50f05f4945251@google.com>
Date:   Mon, 13 Feb 2023 04:52:41 -0800
From:   syzbot <syzbot+a637b18b4c36f9892829@...kaller.appspotmail.com>
To:     jack@...e.com, linux-kernel@...r.kernel.org,
        syzkaller-bugs@...glegroups.com
Subject: [syzbot] [udf?] WARNING in udf_prealloc_blocks

Hello,

syzbot found the following issue on:

HEAD commit:    0983f6bf2bfc Merge tag 'devicetree-fixes-for-6.2-2' of git..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=11440f97480000
kernel config:  https://syzkaller.appspot.com/x/.config?x=e18702f016355851
dashboard link: https://syzkaller.appspot.com/bug?extid=a637b18b4c36f9892829
compiler:       Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/9666ee82c289/disk-0983f6bf.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/2eec7d3e271c/vmlinux-0983f6bf.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e59c8acdb6e0/bzImage-0983f6bf.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+a637b18b4c36f9892829@...kaller.appspotmail.com

WARNING: CPU: 1 PID: 5542 at fs/udf/udfdecl.h:116 udf_add_free_space fs/udf/balloc.c:102 [inline]
WARNING: CPU: 1 PID: 5542 at fs/udf/udfdecl.h:116 udf_table_prealloc_blocks fs/udf/balloc.c:553 [inline]
WARNING: CPU: 1 PID: 5542 at fs/udf/udfdecl.h:116 udf_prealloc_blocks+0x11a3/0x15a0 fs/udf/balloc.c:686
Modules linked in:
CPU: 1 PID: 5542 Comm: syz-executor.3 Not tainted 6.2.0-rc7-syzkaller-00018-g0983f6bf2bfc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:114 [inline]
RIP: 0010:udf_add_free_space fs/udf/balloc.c:102 [inline]
RIP: 0010:udf_table_prealloc_blocks fs/udf/balloc.c:553 [inline]
RIP: 0010:udf_prealloc_blocks+0x11a3/0x15a0 fs/udf/balloc.c:686
Code: ff ff e8 40 d8 8d fe 49 bc 00 00 00 00 00 fc ff df 49 89 df e9 ca f6 ff ff e8 29 d8 8d fe 0f 0b e9 dc f7 ff ff e8 1d d8 8d fe <0f> 0b e9 79 fe ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 7f ef ff ff
RSP: 0018:ffffc90005386ca0 EFLAGS: 00010283
RAX: ffffffff82fdfa33 RBX: 0000000010179aab RCX: 0000000000040000
RDX: ffffc90012d0b000 RSI: 0000000000031853 RDI: 0000000000031854
RBP: ffffc90005386e30 R08: ffffffff82fdf8a1 R09: fffffbfff1ca1256
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802e4c28c0
R13: ffff88802c080678 R14: ffff88801e1e001c R15: 0000000000000008
FS:  00007f9df38fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31926000 CR3: 0000000017bd1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_prealloc_extents fs/udf/inode.c:1010 [inline]
 inode_getblk fs/udf/inode.c:871 [inline]
 udf_get_block+0x2614/0x5200 fs/udf/inode.c:444
 __block_write_begin_int+0x548/0x1a50 fs/buffer.c:1991
 __block_write_begin fs/buffer.c:2041 [inline]
 block_write_begin+0x9c/0x1f0 fs/buffer.c:2102
 udf_write_begin+0x31/0x70 fs/udf/inode.c:207
 generic_perform_write+0x300/0x5e0 mm/filemap.c:3772
 __generic_file_write_iter+0x17a/0x400 mm/filemap.c:3900
 udf_file_write_iter+0x2fa/0x5e0 fs/udf/file.c:170
 do_iter_write+0x6ea/0xc50 fs/read_write.c:861
 iter_file_splice_write+0x80a/0xfa0 fs/splice.c:686
 do_splice_from fs/splice.c:764 [inline]
 direct_splice_actor+0xe7/0x1c0 fs/splice.c:931
 splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:886
 do_splice_direct+0x283/0x3d0 fs/splice.c:974
 do_sendfile+0x620/0xff0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309
 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:0x7f9dfd08c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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:00007f9df38fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f9dfd1ac050 RCX: 00007f9dfd08c0f9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00007f9dfd0e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000080000263 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca29e75bf R14: 00007f9df38fe300 R15: 0000000000022000
 </TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@...glegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ