syzbot
WARNING in fscrypt_fname_siphash
Status:
upstream: reported C repro on 2025/07/17 06:42
Bug presence:
origin:lts-only
[Documentation on labels]
Reported-by: syzbot+29b46d845126c2686055@syzkaller.appspotmail.com
First crash: 404d, last: 250d
▶
▼
Last patch testing requests (5)
▶
▼
Fix bisection attempts (1)
| Created |
Duration |
User |
Patch |
Repo |
Result |
| 2025/08/08 03:27 |
8h25m
|
fix candidate
|
|
upstream |
OK
(1)
job log
|
Sample crash report:
EXT4-fs (loop0): encrypted files will use data=ordered instead of data journaling mode
EXT4-fs (loop0): 1 truncate cleaned up
EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none.
fscrypt: AES-256-CTS-CBC using implementation "cts-cbc-aes-aesni"
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5946 at fs/crypto/fname.c:567 fscrypt_fname_siphash+0xa8/0xe0 fs/crypto/fname.c:567
Modules linked in:
CPU: 1 PID: 5946 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:fscrypt_fname_siphash+0xa8/0xe0 fs/crypto/fname.c:567
Code: 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 75 32 8b 33 49 83 c6 40 4c 89 f2 5b 41 5c 41 5e 41 5f e9 6d cd 5b 08 e8 d8 3e 82 ff <0f> 0b eb b3 44 89 f9 80 e1 07 38 c1 7c 9e 4c 89 ff e8 b2 99 d9 ff
RSP: 0018:ffffc9000462edd8 EFLAGS: 00010293
RAX: ffffffff820350b8 RBX: ffffc9000462eee0 RCX: ffff888025d9bc00
RDX: 0000000000000000 RSI: ffffc9000462eee0 RDI: ffff88807437d2b0
RBP: ffffc9000462ef50 R08: ffff888025d9bc00 R09: 0000000000000007
R10: 0000000000000006 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff88802aec0c08 R14: ffff888074391000 R15: ffff888074391050
FS: 000055557af90500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc15429e9c CR3: 00000000777aa000 CR4: 00000000003506e0
Call Trace:
<TASK>
__ext4fs_dirhash+0x33f/0xe20 fs/ext4/hash.c:268
ext4fs_dirhash+0x144/0x2c0 fs/ext4/hash.c:322
htree_dirblock_to_tree+0x6cd/0xe70 fs/ext4/namei.c:1125
ext4_htree_fill_tree+0x5db/0x10f0 fs/ext4/namei.c:1220
ext4_dx_readdir fs/ext4/dir.c:608 [inline]
ext4_readdir+0x2b1d/0x39d0 fs/ext4/dir.c:145
iterate_dir+0x1c2/0x580 fs/readdir.c:106
ovl_dir_read+0xfc/0x560 fs/overlayfs/readdir.c:309
ovl_check_d_type_supported+0x99/0x100 fs/overlayfs/readdir.c:1065
ovl_make_workdir fs/overlayfs/super.c:733 [inline]
ovl_get_workdir+0x487/0x1740 fs/overlayfs/super.c:874
ovl_fill_super+0x1345/0x3560 fs/overlayfs/super.c:1427
vfs_get_super fs/super.c:1346 [inline]
get_tree_nodev+0xb5/0x140 fs/super.c:1365
vfs_get_tree+0x8c/0x280 fs/super.c:1764
do_new_mount+0x24b/0xa40 fs/namespace.c:3386
do_mount fs/namespace.c:3726 [inline]
__do_sys_mount fs/namespace.c:3935 [inline]
__se_sys_mount+0x2da/0x3c0 fs/namespace.c:3912
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1e6638f6c9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd166748a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f1e665e5fa0 RCX: 00007f1e6638f6c9
RDX: 0000200000000200 RSI: 00002000000003c0 RDI: 0000000000000000
RBP: 00007f1e66411f91 R08: 0000200000001100 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1e665e5fa0 R14: 00007f1e665e5fa0 R15: 0000000000000005
</TASK>
* Struck through repros no longer work on HEAD.