syzbot


kernel panic: kmsan.panic set ... (3)

Status: upstream: reported on 2025/10/17 22:35
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+adeb80b314a69f963c25@syzkaller.appspotmail.com
First crash: 5d05h, last: 1d11h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [can?] kernel panic: kmsan.panic set ... (3) 0 (1) 2025/10/17 22:35
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: kmsan.panic set ... fs 2 1 1249d 1249d 0/29 closed as invalid on 2022/05/18 12:26
upstream kernel panic: kmsan.panic set ... (2) kernel 2 1 1249d 1249d 0/29 auto-closed as invalid on 2022/08/16 13:05

Sample crash report:
Kernel panic - not syncing: kmsan.panic set ...
CPU: 1 UID: 0 PID: 8119 Comm: syz.4.12965 Tainted: G    B   W           syzkaller #0 PREEMPT(none) 
Tainted: [B]=BAD_PAGE, [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
 <IRQ>
 __dump_stack+0x26/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x53/0x270 lib/dump_stack.c:120
 dump_stack+0x1e/0x25 lib/dump_stack.c:129
 vpanic+0x435/0xd30 kernel/panic.c:489
 panic+0x15d/0x160 kernel/panic.c:626
 kmsan_report+0x31c/0x320 mm/kmsan/report.c:218
 __msan_warning+0x1b/0x30 mm/kmsan/instrumentation.c:315
 can_receive+0x12c/0x4a0 net/can/af_can.c:656
 can_rcv+0x1ff/0x3b0 net/can/af_can.c:690
 __netif_receive_skb_one_core net/core/dev.c:6079 [inline]
 __netif_receive_skb+0x477/0xac0 net/core/dev.c:6192
 process_backlog+0x485/0xa00 net/core/dev.c:6544
 __napi_poll+0xdd/0x8a0 net/core/dev.c:7594
 napi_poll net/core/dev.c:7657 [inline]
 net_rx_action+0xbc8/0x1c30 net/core/dev.c:7784
 handle_softirqs+0x169/0x6e0 kernel/softirq.c:622
 __do_softirq+0x14/0x1b kernel/softirq.c:656
 do_softirq+0x99/0x100 kernel/softirq.c:523
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xa1/0xb0 kernel/softirq.c:450
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline]
 _raw_spin_unlock_bh+0x2d/0x40 kernel/locking/spinlock.c:210
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 release_sock+0x21d/0x270 net/core/sock.c:3744
 j1939_sk_sendmsg+0xeb/0x2760 net/can/j1939/socket.c:1285
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x333/0x3d0 net/socket.c:742
 ____sys_sendmsg+0x7e0/0xd80 net/socket.c:2630
 ___sys_sendmsg+0x271/0x3b0 net/socket.c:2684
 __sys_sendmsg+0x1aa/0x300 net/socket.c:2716
 __compat_sys_sendmsg net/compat.c:346 [inline]
 __do_compat_sys_sendmsg net/compat.c:353 [inline]
 __se_compat_sys_sendmsg net/compat.c:350 [inline]
 __ia32_compat_sys_sendmsg+0xa4/0x100 net/compat.c:350
 ia32_sys_call+0x3f6c/0x4310 arch/x86/include/generated/asm/syscalls_32.h:371
 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline]
 __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf705d539
Code: 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f544d55c EFLAGS: 00000206 ORIG_RAX: 0000000000000172
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000080000140
RDX: 000000000404c881 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..
----------------
Code disassembly (best guess):
   0:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   4:	10 07                	adc    %al,(%rdi)
   6:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   a:	10 08                	adc    %cl,(%rax)
   c:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  20:	00 51 52             	add    %dl,0x52(%rcx)
  23:	55                   	push   %rbp
  24:	89 e5                	mov    %esp,%ebp
  26:	0f 34                	sysenter
  28:	cd 80                	int    $0x80
* 2a:	5d                   	pop    %rbp <-- trapping instruction
  2b:	5a                   	pop    %rdx
  2c:	59                   	pop    %rcx
  2d:	c3                   	ret
  2e:	90                   	nop
  2f:	90                   	nop
  30:	90                   	nop
  31:	90                   	nop
  32:	90                   	nop
  33:	90                   	nop
  34:	90                   	nop
  35:	90                   	nop
  36:	90                   	nop
  37:	90                   	nop
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop
  3e:	90                   	nop
  3f:	90                   	nop

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/17 15:35 upstream 98ac9cc4b445 7adf5298 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/16 13:36 upstream 7ea30958b305 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/16 10:50 upstream 7ea30958b305 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/16 10:48 upstream 7ea30958b305 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/16 10:48 upstream 7ea30958b305 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/15 20:25 upstream 1f4a222b0e33 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
2025/10/13 22:25 upstream 3a8660878839 b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root kernel panic: kmsan.panic set ...
* Struck through repros no longer work on HEAD.