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: <676c6d3c.050a0220.226966.0072.GAE@google.com>
Date: Wed, 25 Dec 2024 12:38:20 -0800
From: syzbot <syzbot+1fcaeac63a6a5f2cc94d@...kaller.appspotmail.com>
To: cem@...nel.org, chandan.babu@...cle.com, djwong@...nel.org, 
	linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org, 
	syzkaller-bugs@...glegroups.com
Subject: [syzbot] [xfs?] WARNING in xfs_bmapi_convert_delalloc (2)

Hello,

syzbot found the following issue on:

HEAD commit:    573067a5a685 Merge branch 'for-next/core' into for-kernelci
git tree:       git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci
console output: https://syzkaller.appspot.com/x/log.txt?x=16e572df980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=cd7202b56d469648
dashboard link: https://syzkaller.appspot.com/bug?extid=1fcaeac63a6a5f2cc94d
compiler:       Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=13a2bcf8580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=138f1fe8580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/9d3b5c855aa0/disk-573067a5.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/0c06fc1ead83/vmlinux-573067a5.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3390e59b9e4b/Image-573067a5.gz.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/0f8df572853a/mount_0.gz

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

------------[ cut here ]------------
WARNING: CPU: 0 PID: 7194 at fs/xfs/libxfs/xfs_bmap.c:4682 xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
Modules linked in:
CPU: 0 UID: 0 PID: 7194 Comm: syz-executor144 Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
lr : xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4682 [inline]
lr : xfs_bmapi_convert_delalloc+0x1018/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787
sp : ffff8000a1b97020
x29: ffff8000a1b97300 x28: 1fffe0001a04140f x27: 1ffff00014372e58
x26: ffff8000a1b972c0 x25: ffff8000a1b97750 x24: dfff800000000000
x23: ffff0000de730000 x22: 0000000000000000 x21: 00000000fffffff5
x20: 0000000000010003 x19: ffff0000d020a000 x18: ffff0000de7301c4
x17: ffff80008f99d000 x16: ffff800083275834 x15: 0000000000000001
x14: 0000000000000000 x13: 0000000000000001 x12: ffff0000d0210000
x11: 0000000000ff0100 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000d0210000 x7 : ffff800081f098ec x6 : 0000000000000000
x5 : 0000000000000000 x4 : ffff8000a1b97210 x3 : ffff8000a1b97250
x2 : 0000000000000001 x1 : 0000000000010003 x0 : 0000000000010004
Call trace:
 xfs_bmapi_convert_delalloc+0x101c/0x1528 fs/xfs/libxfs/xfs_bmap.c:4787 (P)
 xfs_buffered_write_iomap_begin+0xa54/0x14f0 fs/xfs/xfs_iomap.c:1214
 iomap_iter+0x5c4/0x1008 fs/iomap/iter.c:90
 iomap_zero_range+0x380/0x794 fs/iomap/buffered-io.c:1441
 xfs_zero_range+0x88/0xe8 fs/xfs/xfs_iomap.c:1499
 xfs_setattr_size+0x30c/0xcc0 fs/xfs/xfs_iops.c:890
 xfs_vn_setattr_size+0x138/0x15c fs/xfs/xfs_iops.c:1040
 xfs_falloc_setsize fs/xfs/xfs_file.c:927 [inline]
 xfs_falloc_insert_range+0x310/0x3d8 fs/xfs/xfs_file.c:981
 xfs_file_fallocate+0x29c/0x3a0 fs/xfs/xfs_file.c:1133
 vfs_fallocate+0x484/0x5c0 fs/open.c:327
 ksys_fallocate fs/open.c:351 [inline]
 __do_sys_fallocate fs/open.c:356 [inline]
 __se_sys_fallocate fs/open.c:354 [inline]
 __arm64_sys_fallocate+0xc0/0x110 fs/open.c:354
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
irq event stamp: 104
hardirqs last  enabled at (103): [<ffff8000841068c4>] get_random_u32+0x318/0x618 drivers/char/random.c:553
hardirqs last disabled at (104): [<ffff80008b69c83c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488
softirqs last  enabled at (72): [<ffff800080129934>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (70): [<ffff800080129900>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ