Re: [syzbot] [ext4?] kernel BUG in ext4_write_inline_data_end (3)

From: syzbot

Date: Fri Jul 17 2026 - 06:36:14 EST


Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING: lock held when returning to user space in ext4_write_inline_data_end

loop0: detected capacity change from 0 to 1024
================================================
WARNING: lock held when returning to user space!
syzkaller #0 Not tainted
------------------------------------------------
syz.0.999/10153 is leaving the kernel with locks still held!
1 lock held by syz.0.999/10153:
#0: ffff0000e0bc67e0 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_lock_xattr fs/ext4/xattr.h:157 [inline]
#0: ffff0000e0bc67e0 (&ei->xattr_sem){++++}-{4:4}, at: ext4_write_inline_data_end+0x198/0x9f8 fs/ext4/inline.c:814


Tested on:

commit: a13c140c Linux 7.2-rc3
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=1730b4b9580000
kernel config: https://syzkaller.appspot.com/x/.config?x=ecdef466b08b9772
dashboard link: https://syzkaller.appspot.com/bug?extid=293a57918b36cfae3d48
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
userspace arch: arm64
patch: https://syzkaller.appspot.com/x/patch.diff?x=134f6789580000