syzbot


WARNING in snd_info_get_line

Status: upstream: reported C repro on 2020/07/16 16:52
Reported-by: syzbot+9d7704c8285bc6d6ee49@syzkaller.appspotmail.com
First crash: 708d, last: 696d

Fix bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in snd_info_get_line C done 36 702d 707d 17/22 fixed on 2020/09/16 22:51
linux-4.19 WARNING in snd_info_get_line C done 23 696d 708d 1/1 fixed on 2020/08/28 16:06

Sample crash report:
audit: type=1400 audit(1594918715.816:8): avc:  denied  { execmem } for  pid=6333 comm="syz-executor562" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6333 at sound/core/info.c:637 snd_info_get_line+0x1fd/0x2d0 sound/core/info.c:637
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 6333 Comm: syz-executor562 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x2f/0x30 kernel/panic.c:547
 report_bug+0x20a/0x248 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:snd_info_get_line+0x1fd/0x2d0 sound/core/info.c:637
RSP: 0018:ffff8880819079a0 EFLAGS: 00010297
RAX: ffff88809b7c6600 RBX: ffff88809a153580 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888081907aa0 RDI: ffff88809a153580
RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000000
R10: ffff88809b7c6e88 R11: ffff88809b7c6600 R12: ffff88809b003580
R13: 0000000000000080 R14: ffff888216308700 R15: ffff88809a153580
 snd_mixer_oss_proc_write+0xc9/0x480 sound/core/oss/mixer_oss.c:1192
 snd_info_text_entry_release+0xfa/0x260 sound/core/info.c:425
 close_pdeo.part.0+0xdd/0x2c0 fs/proc/inode.c:165
 close_pdeo+0x125/0x140 fs/proc/inode.c:173
 proc_reg_release+0xca/0x110 fs/proc/inode.c:376
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x113/0x190 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x9fb/0x2ae0 kernel/exit.c:858
 do_group_exit+0x100/0x2e0 kernel/exit.c:955
 SYSC_exit_group kernel/exit.c:966 [inline]
 SyS_exit_group+0x19/0x20 kernel/exit.c:964
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x43eeb8
RSP: 002b:00007ffe8933cb48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000043eeb8
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 00000000004be6c8 R08: 00000000000000e7 R09: ffffffffffffffd0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00000000006d0180 R14: 0000000000000000 R15: 0000000000000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (23):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/07/16 17:00 linux-4.14.y b850307b279c b090c643 .config log report syz C
ci2-linux-4-14 2020/07/29 00:36 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config log report
ci2-linux-4-14 2020/07/27 16:01 linux-4.14.y 69b94dd6dcd1 cb93dc6a .config log report
ci2-linux-4-14 2020/07/26 23:48 linux-4.14.y 69b94dd6dcd1 51265195 .config log report
ci2-linux-4-14 2020/07/26 08:01 linux-4.14.y 69b94dd6dcd1 1f7cc1ca .config log report
ci2-linux-4-14 2020/07/26 06:55 linux-4.14.y 69b94dd6dcd1 1f7cc1ca .config log report
ci2-linux-4-14 2020/07/26 02:09 linux-4.14.y 69b94dd6dcd1 1f7cc1ca .config log report
ci2-linux-4-14 2020/07/26 01:52 linux-4.14.y 69b94dd6dcd1 1f7cc1ca .config log report
ci2-linux-4-14 2020/07/25 00:13 linux-4.14.y 69b94dd6dcd1 0a13649c .config log report
ci2-linux-4-14 2020/07/25 00:01 linux-4.14.y 69b94dd6dcd1 0a13649c .config log report
ci2-linux-4-14 2020/07/23 07:31 linux-4.14.y 69b94dd6dcd1 340ea530 .config log report
ci2-linux-4-14 2020/07/22 21:24 linux-4.14.y 69b94dd6dcd1 128cd85f .config log report
ci2-linux-4-14 2020/07/21 22:26 linux-4.14.y b850307b279c e562dd8a .config log report
ci2-linux-4-14 2020/07/21 22:25 linux-4.14.y b850307b279c e562dd8a .config log report
ci2-linux-4-14 2020/07/21 22:25 linux-4.14.y b850307b279c e562dd8a .config log report
ci2-linux-4-14 2020/07/20 19:15 linux-4.14.y b850307b279c 8caeeeb7 .config log report
ci2-linux-4-14 2020/07/19 19:36 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/18 12:23 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/18 09:44 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/18 06:20 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/17 22:57 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/17 21:07 linux-4.14.y b850307b279c 9c812472 .config log report
ci2-linux-4-14 2020/07/16 16:51 linux-4.14.y b850307b279c b090c643 .config log report