syzbot


WARNING in fscrypt_fname_siphash (2)

Status: upstream: reported C repro on 2024/11/10 06:13
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+9177d065333561cd6fd0@syzkaller.appspotmail.com
First crash: 355d, last: 20d
Fix commit to backport (bisect log) :
tree: upstream
commit 985b67cd86392310d9e9326de941c22fc9340eec
Author: Lizhi Xu <lizhi.xu@windriver.com>
Date: Wed Jun 5 01:23:35 2024 +0000

  ext4: filesystems without casefold feature cannot be mounted with siphash

  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in fscrypt_fname_siphash (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2024/11/13 linux-6.1.y (ToT) d7039b844a1c C [report] WARNING in fscrypt_fname_siphash
2024/11/13 upstream (ToT) f1b785f4c787 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in fscrypt_fname_siphash origin:lts-only -1 C done 62 20d 376d 0/3 upstream: reported C repro on 2024/10/20 08:52
upstream WARNING in fscrypt_fname_siphash ext4 fscrypt -1 C unreliable 32 426d 520d 28/29 fixed on 2024/10/22 11:57
linux-6.1 WARNING in fscrypt_fname_siphash -1 1 522d 522d 0/3 auto-obsoleted due to no activity on 2024/09/04 07:37
linux-6.6 WARNING in fscrypt_fname_siphash origin:lts-only -1 C done 11 22d 106d 0/2 upstream: reported C repro on 2025/07/17 06:42
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2025/04/15 17:07 5h23m fix candidate upstream OK (1) job log
2025/04/05 22:19 2h30m bisect fix linux-6.1.y OK (0) job log log
2025/01/31 21:08 1h52m bisect fix linux-6.1.y OK (0) job log log
2024/12/29 14:58 1h50m bisect fix linux-6.1.y OK (0) job log 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 without journal. Quota mode: none.
fscrypt: AES-256-CTS-CBC using implementation "cts-cbc-aes-aesni"
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4430 at fs/crypto/fname.c:567 fscrypt_fname_siphash+0xa4/0xe0 fs/crypto/fname.c:567
Modules linked in:
CPU: 1 PID: 4430 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:fscrypt_fname_siphash+0xa4/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 01 95 12 08 e8 ac 27 8b ff <0f> 0b eb b3 44 89 f9 80 e1 07 38 c1 7c 9e 4c 89 ff e8 86 54 db ff
RSP: 0018:ffffc900034b7518 EFLAGS: 00010293
RAX: ffffffff81f5a744 RBX: ffffc900034b7600 RCX: ffff88802d08d940
RDX: 0000000000000000 RSI: ffffc900034b7600 RDI: ffff88805ddb48e8
RBP: ffffc900034b7670 R08: ffff88802d08d940 R09: 0000000000000007
R10: 0000000000000006 R11: 0000000000000000 R12: dffffc0000000000
R13: 000000008d4c4d91 R14: ffff8880709fb000 R15: ffff8880709fb050
FS:  000055556f4ac500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002f354000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ext4fs_dirhash+0x932/0x1000 fs/ext4/hash.c:268
 ext4fs_dirhash+0x150/0x2d0 fs/ext4/hash.c:322
 htree_dirblock_to_tree+0x6c9/0xe70 fs/ext4/namei.c:1125
 ext4_htree_fill_tree+0x5d4/0x10e0 fs/ext4/namei.c:1220
 ext4_dx_readdir fs/ext4/dir.c:608 [inline]
 ext4_readdir+0x2cfa/0x3b60 fs/ext4/dir.c:145
 iterate_dir+0x218/0x560 fs/readdir.c:-1
 __do_sys_getdents64 fs/readdir.c:369 [inline]
 __se_sys_getdents64+0xe5/0x260 fs/readdir.c:354
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f34b218eec9
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:00007ffc5f646c88 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f34b23e5fa0 RCX: 00007f34b218eec9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007f34b2211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f34b23e5fa0 R14: 00007f34b23e5fa0 R15: 0000000000000003
 </TASK>

Crashes (60):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/11 09:10 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/06/23 17:41 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/03/03 03:22 linux-6.1.y 3a8358583626 c3901742 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2024/11/10 06:55 linux-6.1.y d7039b844a1c 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2024/11/10 06:28 linux-6.1.y d7039b844a1c 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/10/11 08:40 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/24 21:59 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/21 22:16 linux-6.1.y 0bc96de781b4 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/21 22:15 linux-6.1.y 0bc96de781b4 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/20 22:25 linux-6.1.y 0bc96de781b4 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/20 22:25 linux-6.1.y 0bc96de781b4 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/20 22:23 linux-6.1.y 0bc96de781b4 0b9605c8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/13 04:20 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/13 04:20 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/07 06:14 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/08/07 06:14 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/07/30 23:38 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/07/30 23:36 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/06/23 17:11 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/06/23 17:10 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/06/06 06:16 linux-6.1.y 58485ff1a74f 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/06/06 06:16 linux-6.1.y 58485ff1a74f 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/05/25 06:00 linux-6.1.y da3c5173c55f ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/05/25 05:54 linux-6.1.y da3c5173c55f ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/05/05 09:06 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/03/03 03:02 linux-6.1.y 3a8358583626 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/03/03 03:02 linux-6.1.y 3a8358583626 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2024/11/10 06:12 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2024/11/10 06:12 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
2025/09/25 09:06 linux-6.1.y 363a599da6d9 0abd0691 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/09/21 11:31 linux-6.1.y 363a599da6d9 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/09/18 23:23 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/09/15 09:52 linux-6.1.y 3db754f56897 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/28 02:20 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/27 20:29 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/26 01:13 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/24 19:25 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/21 21:06 linux-6.1.y 0bc96de781b4 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/21 21:04 linux-6.1.y 0bc96de781b4 3e79b825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/20 12:24 linux-6.1.y 0bc96de781b4 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/20 12:22 linux-6.1.y 0bc96de781b4 79512909 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/16 09:26 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/16 09:25 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/13 23:10 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/10 05:22 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/07 05:16 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/07 05:16 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/08/06 05:51 linux-6.1.y 3594f306da12 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/07/30 22:20 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/07/23 03:16 linux-6.1.y 3369c6df2fae 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/04/12 16:37 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
2025/04/12 16:37 linux-6.1.y 420102835862 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in fscrypt_fname_siphash
* Struck through repros no longer work on HEAD.