syzbot


WARNING in tracing_buffers_mmap_close

Status: upstream: reported C repro on 2024/12/15 20:34
Subsystems: trace
[Documentation on labels]
Reported-by: syzbot+ddc001b92c083dbf2b97@syzkaller.appspotmail.com
First crash: 9d17h, last: 3d11h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [trace?] WARNING in tracing_buffers_mmap_close 0 (1) 2024/12/15 20:34

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 26603 at kernel/trace/trace.c:8464 tracing_buffers_mmap_close kernel/trace/trace.c:8464 [inline]
WARNING: CPU: 0 PID: 26603 at kernel/trace/trace.c:8464 tracing_buffers_mmap_close+0xe3/0x130 kernel/trace/trace.c:8459
Modules linked in:
CPU: 0 UID: 0 PID: 26603 Comm: syz-executor249 Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024
RIP: 0010:tracing_buffers_mmap_close kernel/trace/trace.c:8464 [inline]
RIP: 0010:tracing_buffers_mmap_close+0xe3/0x130 kernel/trace/trace.c:8459
Code: 75 46 48 8b 7b 08 e8 7c 85 ff ff 31 ff 89 c3 89 c6 e8 21 63 fb ff 85 db 75 0a 48 83 c4 08 5b e9 d3 60 fb ff e8 ce 60 fb ff 90 <0f> 0b 90 48 83 c4 08 5b e9 c0 60 fb ff e8 eb d3 5d 00 eb 87 e8 14
RSP: 0018:ffffc9000e537998 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000ffffffed RCX: ffffffff819dee0f
RDX: ffff88802758bc00 RSI: ffffffff819dee22 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000ffffffed R11: 0000000000000000 R12: ffffffff819ded40
R13: 0000000000000001 R14: ffff8880334e0e00 R15: 0000000000000ff9
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8a8a2580c8 CR3: 0000000075a02000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vma_close mm/internal.h:147 [inline]
 remove_vma+0x91/0x1b0 mm/vma.c:380
 exit_mmap+0x4e2/0xb20 mm/mmap.c:1692
 __mmput+0x12a/0x4c0 kernel/fork.c:1353
 mmput+0x62/0x70 kernel/fork.c:1375
 exit_mm kernel/exit.c:570 [inline]
 do_exit+0x9bf/0x2d70 kernel/exit.c:925
 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087
 get_signal+0x2576/0x2610 kernel/signal.c:3017
 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218
 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a8a208cf9
Code: Unable to access opcode bytes at 0x7f8a8a208ccf.
RSP: 002b:00007f8a8a199218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f8a8a28d418 RCX: 00007f8a8a208cf9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f8a8a28d418
RBP: 00007f8a8a28d410 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8a8a28d41c
R13: 00007f8a8a259410 R14: 00307265646e6962 R15: 0000000100000000
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/17 23:35 upstream 59dbb9d81adf a0626d3a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/11 21:23 upstream f92f4749861b 6f1b0fa8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/18 03:17 upstream 59dbb9d81adf a0626d3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/17 03:51 upstream f44d154d6e3d f93b2b55 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/16 05:22 upstream dccbe2047a5b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/14 12:03 upstream a446e965a188 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/12 06:48 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
2024/12/11 20:26 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in tracing_buffers_mmap_close
* Struck through repros no longer work on HEAD.