* Re: [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_rename_cat
[not found] <177644285060.3788476.1032742657518116630@talencesecurity.com>
@ 2026-04-17 19:18 ` syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2026-04-17 19:18 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs, tristmd
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt
=====================================================
BUG: KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472
irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:547 [inline]
irqentry_exit+0x7b/0x760 kernel/entry/common.c:164
sysvec_apic_timer_interrupt+0x52/0x90 arch/x86/kernel/apic/apic.c:1061
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:697
do_csum lib/checksum.c:64 [inline]
ip_fast_csum+0x1e6/0x3f0 lib/checksum.c:99
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:842 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:876 [inline]
nsim_dev_trap_report_work+0x8c0/0x1440 drivers/net/netdevsim/dev.c:922
process_one_work kernel/workqueue.c:3302 [inline]
process_scheduled_works+0xb6c/0x1e60 kernel/workqueue.c:3385
worker_thread+0xee4/0x15a0 kernel/workqueue.c:3466
kthread+0x53f/0x600 kernel/kthread.c:436
ret_from_fork+0x20f/0x8d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Uninit was created at:
slab_post_alloc_hook mm/slub.c:4576 [inline]
slab_alloc_node mm/slub.c:4898 [inline]
__do_kmalloc_node mm/slub.c:5294 [inline]
__kmalloc_node_track_caller_noprof+0x4f6/0x1740 mm/slub.c:5403
kmalloc_reserve net/core/skbuff.c:635 [inline]
__alloc_skb+0x90d/0x1190 net/core/skbuff.c:713
alloc_skb include/linux/skbuff.h:1383 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:819 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:876 [inline]
nsim_dev_trap_report_work+0x3f2/0x1440 drivers/net/netdevsim/dev.c:922
process_one_work kernel/workqueue.c:3302 [inline]
process_scheduled_works+0xb6c/0x1e60 kernel/workqueue.c:3385
worker_thread+0xee4/0x15a0 kernel/workqueue.c:3466
kthread+0x53f/0x600 kernel/kthread.c:436
ret_from_fork+0x20f/0x8d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
CPU: 0 UID: 0 PID: 55 Comm: kworker/u8:3 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Workqueue: events_unbound nsim_dev_trap_report_work
=====================================================
Tested on:
commit: 59bd5ae0 Merge tag 'for-v7.1' of git://git.kernel.org/..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=132124ce580000
kernel config: https://syzkaller.appspot.com/x/.config?x=aea075c39f593a0a
dashboard link: https://syzkaller.appspot.com/bug?extid=93f4402297a457fc6895
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
patch: https://syzkaller.appspot.com/x/patch.diff?x=16961bf6580000
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20260417101210.2490087-1-tristmd@gmail.com>]
* Re: [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_rename_cat
[not found] <20260417101210.2490087-1-tristmd@gmail.com>
@ 2026-04-17 12:13 ` syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2026-04-17 12:13 UTC (permalink / raw)
To: linux-kernel, syzkaller-bugs, tristmd
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt
=====================================================
BUG: KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472
irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:547 [inline]
irqentry_exit+0x7b/0x760 kernel/entry/common.c:164
sysvec_apic_timer_interrupt+0x52/0x90 arch/x86/kernel/apic/apic.c:1061
asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:697
virt_to_page_or_null+0x116/0x170 mm/kmsan/shadow.c:76
kmsan_get_shadow_origin_ptr+0x4a/0xb0 mm/kmsan/shadow.c:102
get_shadow_origin_ptr mm/kmsan/instrumentation.c:38 [inline]
__msan_metadata_ptr_for_load_4+0x24/0x40 mm/kmsan/instrumentation.c:93
do_csum lib/checksum.c:64 [inline]
ip_fast_csum+0x1e6/0x3f0 lib/checksum.c:99
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:842 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:876 [inline]
nsim_dev_trap_report_work+0x8c0/0x1440 drivers/net/netdevsim/dev.c:922
process_one_work kernel/workqueue.c:3302 [inline]
process_scheduled_works+0xb6c/0x1e60 kernel/workqueue.c:3385
worker_thread+0xee4/0x15a0 kernel/workqueue.c:3466
kthread+0x53f/0x600 kernel/kthread.c:436
ret_from_fork+0x20f/0x8d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Uninit was created at:
slab_post_alloc_hook mm/slub.c:4576 [inline]
slab_alloc_node mm/slub.c:4898 [inline]
__do_kmalloc_node mm/slub.c:5294 [inline]
__kmalloc_node_track_caller_noprof+0x4f6/0x1740 mm/slub.c:5403
kmalloc_reserve net/core/skbuff.c:635 [inline]
__alloc_skb+0x90d/0x1190 net/core/skbuff.c:713
alloc_skb include/linux/skbuff.h:1383 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:819 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:876 [inline]
nsim_dev_trap_report_work+0x3f2/0x1440 drivers/net/netdevsim/dev.c:922
process_one_work kernel/workqueue.c:3302 [inline]
process_scheduled_works+0xb6c/0x1e60 kernel/workqueue.c:3385
worker_thread+0xee4/0x15a0 kernel/workqueue.c:3466
kthread+0x53f/0x600 kernel/kthread.c:436
ret_from_fork+0x20f/0x8d0 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026
Workqueue: events_unbound nsim_dev_trap_report_work
=====================================================
Tested on:
commit: 43cfbdda Merge tag 'for-linus-iommufd' of git://git.ke..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
console output: https://syzkaller.appspot.com/x/log.txt?x=10844702580000
kernel config: https://syzkaller.appspot.com/x/.config?x=9050ac9fb3ea3d95
dashboard link: https://syzkaller.appspot.com/bug?extid=93f4402297a457fc6895
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
patch: https://syzkaller.appspot.com/x/patch.diff?x=10d04702580000
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <20241212082232.rr5qK%dmantipov@yandex.ru>]
* [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_rename_cat
@ 2023-10-11 11:48 syzbot
0 siblings, 0 replies; 4+ messages in thread
From: syzbot @ 2023-10-11 11:48 UTC (permalink / raw)
To: linux-fsdevel, linux-kernel, syzkaller-bugs
Hello,
syzbot found the following issue on:
HEAD commit: 82714078aee4 Merge tag 'pm-6.6-rc5' of git://git.kernel.or..
git tree: upstream
console+strace: https://syzkaller.appspot.com/x/log.txt?x=151aa759680000
kernel config: https://syzkaller.appspot.com/x/.config?x=7a5682d32a74b423
dashboard link: https://syzkaller.appspot.com/bug?extid=93f4402297a457fc6895
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13095252680000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=123ba911680000
Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/d1f78c1d4d78/disk-82714078.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/e2a379fc35bb/vmlinux-82714078.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e52238a1bd60/bzImage-82714078.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/286844f77c11/mount_0.gz
Bisection is inconclusive: the issue happens on the oldest tested release.
bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15b3eaee680000
final oops: https://syzkaller.appspot.com/x/report.txt?x=17b3eaee680000
console output: https://syzkaller.appspot.com/x/log.txt?x=13b3eaee680000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+93f4402297a457fc6895@syzkaller.appspotmail.com
and is ignored by this kernel. Remove the mand
option from the mount to silence this warning.
=======================================================
general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 0 PID: 5030 Comm: syz-executor114 Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:hfsplus_rename_cat+0x4b3/0x1050 fs/hfsplus/catalog.c:480
Code: 60 42 80 3c 20 00 48 8b 5c 24 20 74 05 e8 05 38 81 ff 48 8b 94 24 20 01 00 00 48 83 c3 40 48 89 d8 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 20 00 48 89 54 24 08 74 0d 48 89 df e8 d9 37 81 ff 48 8b
RSP: 0018:ffffc90003a6f780 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000040 RCX: ffff8880203e1dc0
RDX: ffff88801fb6f000 RSI: 0000000000000000 RDI: ffffc90003a6f8a0
RBP: ffffc90003a6fbf0 R08: ffffffff8267c274 R09: ad0047e119000000
R10: ad0047e119000000 R11: ad0047e1ad0047e1 R12: dffffc0000000000
R13: ffffc90003a6f86c R14: ffffc90003a6f900 R15: 1ffff9200074df04
FS: 0000555556d88380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd58aeb000 CR3: 0000000027125000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
hfsplus_unlink+0x308/0x790 fs/hfsplus/dir.c:376
vfs_unlink+0x35d/0x5f0 fs/namei.c:4332
do_unlinkat+0x4a7/0x950 fs/namei.c:4398
__do_sys_unlink fs/namei.c:4446 [inline]
__se_sys_unlink fs/namei.c:4444 [inline]
__x64_sys_unlink+0x49/0x50 fs/namei.c:4444
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f9d18b02019
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd58aea948 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f9d18b4b082 RCX: 00007f9d18b02019
RDX: 00007f9d18b02019 RSI: 00007f9d18b012f7 RDI: 00000000200000c0
RBP: 00007f9d18b4b08c R08: 0000000020000000 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd58aea980
R13: 00007ffd58aeaba8 R14: 431bde82d7b634db R15: 00007f9d18b4b03b
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfsplus_rename_cat+0x4b3/0x1050 fs/hfsplus/catalog.c:480
Code: 60 42 80 3c 20 00 48 8b 5c 24 20 74 05 e8 05 38 81 ff 48 8b 94 24 20 01 00 00 48 83 c3 40 48 89 d8 48 c1 e8 03 48 89 44 24 68 <42> 80 3c 20 00 48 89 54 24 08 74 0d 48 89 df e8 d9 37 81 ff 48 8b
RSP: 0018:ffffc90003a6f780 EFLAGS: 00010202
RAX: 0000000000000008 RBX: 0000000000000040 RCX: ffff8880203e1dc0
RDX: ffff88801fb6f000 RSI: 0000000000000000 RDI: ffffc90003a6f8a0
RBP: ffffc90003a6fbf0 R08: ffffffff8267c274 R09: ad0047e119000000
R10: ad0047e119000000 R11: ad0047e1ad0047e1 R12: dffffc0000000000
R13: ffffc90003a6f86c R14: ffffc90003a6f900 R15: 1ffff9200074df04
FS: 0000555556d88380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd58aeb000 CR3: 0000000027125000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
5: 48 8b 5c 24 20 mov 0x20(%rsp),%rbx
a: 74 05 je 0x11
c: e8 05 38 81 ff call 0xff813816
11: 48 8b 94 24 20 01 00 mov 0x120(%rsp),%rdx
18: 00
19: 48 83 c3 40 add $0x40,%rbx
1d: 48 89 d8 mov %rbx,%rax
20: 48 c1 e8 03 shr $0x3,%rax
24: 48 89 44 24 68 mov %rax,0x68(%rsp)
* 29: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction
2e: 48 89 54 24 08 mov %rdx,0x8(%rsp)
33: 74 0d je 0x42
35: 48 89 df mov %rbx,%rdi
38: e8 d9 37 81 ff call 0xff813816
3d: 48 rex.W
3e: 8b .byte 0x8b
---
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@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
For information about bisection process see: https://goo.gl/tpsmEJ#bisection
If the bug is already fixed, 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 bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-04-17 19:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <177644285060.3788476.1032742657518116630@talencesecurity.com>
2026-04-17 19:18 ` [syzbot] [hfs?] KMSAN: uninit-value in hfsplus_rename_cat syzbot
[not found] <20260417101210.2490087-1-tristmd@gmail.com>
2026-04-17 12:13 ` syzbot
[not found] <20241212082232.rr5qK%dmantipov@yandex.ru>
2024-12-12 9:42 ` syzbot
2023-10-11 11:48 syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox