syzbot


WARNING in fscrypt_fname_siphash

Status: upstream: reported on 2024/05/27 07:37
Reported-by: syzbot+7f99563cf7255be19df7@syzkaller.appspotmail.com
First crash: 22d, last: 22d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in fscrypt_fname_siphash fscrypt C done 27 8d00h 20d 0/27 upstream: reported C repro on 2024/05/29 20:41

Sample crash report:
fscrypt: AES-256-CTS-CBC using implementation "cts-cbc-aes-aesni"
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8609 at fs/crypto/fname.c:573 fscrypt_fname_siphash+0xb9/0xf0
Modules linked in:
CPU: 0 PID: 8609 Comm: syz-executor.3 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:fscrypt_fname_siphash+0xb9/0xf0 fs/crypto/fname.c:573
Code: 42 0f b6 04 28 84 c0 75 38 41 8b 34 24 49 83 c6 40 4c 89 ff 4c 89 f2 5b 41 5c 41 5d 41 5e 41 5f e9 8c 7d 7b 08 e8 97 1b 81 ff <0f> 0b eb aa 89 d9 80 e1 07 38 c1 7c 8c 48 89 df e8 d2 9a d8 ff eb
RSP: 0018:ffffc90004997410 EFLAGS: 00010287
RAX: ffffffff820971b9 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc900046b9000 RSI: 00000000000000a8 RDI: 00000000000000a9
RBP: ffffc900049975d0 R08: ffffffff8209715e R09: ffffffff823686b9
R10: 0000000000000007 R11: ffff888016bcd940 R12: ffffc90004997560
R13: dffffc0000000000 R14: ffff8880749b1000 R15: ffff88804f170cb8
FS:  00007fe93d0696c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9437204378 CR3: 0000000020d23000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ext4fs_dirhash+0xdd2/0x14c0 fs/ext4/hash.c:268
 ext4fs_dirhash+0x1b8/0x320 fs/ext4/hash.c:322
 htree_dirblock_to_tree+0x723/0x10d0 fs/ext4/namei.c:1124
 ext4_htree_fill_tree+0x73d/0x13f0 fs/ext4/namei.c:1219
 ext4_dx_readdir fs/ext4/dir.c:597 [inline]
 ext4_readdir+0x2f63/0x3950 fs/ext4/dir.c:142
 iterate_dir+0x224/0x560
 __do_sys_getdents64 fs/readdir.c:369 [inline]
 __se_sys_getdents64+0x209/0x4f0 fs/readdir.c:354
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe93c27cee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe93d0690c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007fe93c3abf80 RCX: 00007fe93c27cee9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fe93c2c949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fe93c3abf80 R15: 00007fff6af77888
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/27 07:36 linux-6.1.y 88690811da69 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in fscrypt_fname_siphash
* Struck through repros no longer work on HEAD.