syzbot


WARNING in dev_vprintk_emit

Status: fixed on 2018/06/07 13:52
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+e64565577af34b3768dc@syzkaller.appspotmail.com
Fix commit: 814596495dd2 cfg80211: further limit wiphy names to 64 bytes
First crash: 2342d, last: 2211d
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 4.4 00/37] 4.4.136-stable review 47 (47) 2018/06/25 10:05
[PATCH 3.18 00/21] 3.18.113-stable review 28 (28) 2018/06/13 17:39
[PATCH 4.9 00/61] 4.9.107-stable review 64 (64) 2018/06/06 13:32
[PATCH 4.16 00/47] 4.16.14-stable review 52 (52) 2018/06/05 08:28
[PATCH 4.14 00/52] 4.14.48-stable review 54 (54) 2018/06/05 06:20
[PATCH] cfg80211: further limit wiphy names to 64 bytes 1 (1) 2018/05/15 03:09
[PATCH] cfg80211: further limit wiphy names to 64 bytes 1 (1) 2018/05/15 03:09
WARNING in dev_vprintk_emit 4 (5) 2018/05/14 12:13

Sample crash report:
ieee80211 JQJI<%BY
u'c!G谸lcf!q"կQ"GbeFb+0Cc~Oǘ԰ș֑ި:UV=F`	: device/subsystem name too long
audit: type=1400 audit(1519613349.288:9): avc:  denied  { write } for  pid=4237 comm="syzkaller550833" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1
WARNING: CPU: 1 PID: 4237 at drivers/base/core.c:2884 create_syslog_header drivers/base/core.c:2884 [inline]
WARNING: CPU: 1 PID: 4237 at drivers/base/core.c:2884 dev_vprintk_emit+0x159/0x510 drivers/base/core.c:2894
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4237 Comm: syzkaller550833 Not tainted 4.16.0-rc2+ #329
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+0x194/0x24d lib/dump_stack.c:53
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1dc/0x200 kernel/panic.c:547
 report_bug+0x211/0x2d0 lib/bug.c:184
 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178
 fixup_bug arch/x86/kernel/traps.c:247 [inline]
 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x58/0x80 arch/x86/entry/entry_64.S:957
RIP: 0010:create_syslog_header drivers/base/core.c:2884 [inline]
RIP: 0010:dev_vprintk_emit+0x159/0x510 drivers/base/core.c:2894
RSP: 0018:ffff8801b11b6ca0 EFLAGS: 00010282
RAX: dffffc0000000008 RBX: ffff8801b4f48980 RCX: ffffffff815abe7e
RDX: 0000000000000000 RSI: 1ffff10036236d44 RDI: 1ffff10036236d19
RBP: ffff8801b11b6de0 R08: 1ffff10036236cdb R09: 0000000000000000
R10: ffff8801b11b6ec8 R11: 0000000000000000 R12: 1ffff10036236d9b
R13: ffff8801d24c43c0 R14: ffff8801b11b6cf8 R15: ffff8801b11b6e18
 dev_printk_emit+0xc0/0xf0 drivers/base/core.c:2907
 __dev_printk+0xa7/0x120 drivers/base/core.c:2919
 dev_printk+0x111/0x170 drivers/base/core.c:2936
 ieee80211_init_rate_ctrl_alg+0x2d5/0x4b0 net/mac80211/rate.c:978
 ieee80211_register_hw+0x1448/0x3100 net/mac80211/main.c:1094
 mac80211_hwsim_new_radio+0x1b39/0x2cd0 drivers/net/wireless/mac80211_hwsim.c:2756
 hwsim_new_radio_nl+0x67a/0x8c0 drivers/net/wireless/mac80211_hwsim.c:3213
 genl_family_rcv_msg+0x7b7/0xfb0 net/netlink/genetlink.c:599
 genl_rcv_msg+0xb2/0x140 net/netlink/genetlink.c:624
 netlink_rcv_skb+0x14b/0x380 net/netlink/af_netlink.c:2444
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:635
 netlink_unicast_kernel net/netlink/af_netlink.c:1308 [inline]
 netlink_unicast+0x4c4/0x6b0 net/netlink/af_netlink.c:1334
 netlink_sendmsg+0xa4a/0xe60 net/netlink/af_netlink.c:1897
 sock_sendmsg_nosec net/socket.c:630 [inline]
 sock_sendmsg+0xca/0x110 net/socket.c:640
 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2046
 __sys_sendmsg+0xe5/0x210 net/socket.c:2080
 SYSC_sendmsg net/socket.c:2091 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2087
 do_syscall_64+0x280/0x940 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x43fdb9
RSP: 002b:00007ffcdab94d68 EFLAGS: 00000203 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fdb9
RDX: 0000000000000000 RSI: 00000000204b5fc8 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 00000000004002c8 R09: 00000000004002c8
R10: 00000000004002c8 R11: 0000000000000203 R12: 00000000004016e0
R13: 0000000000401770 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (77):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/26 02:52 upstream c89be5242607 9fe8aa42 .config console log report syz C ci-upstream-kasan-gce
2018/01/13 20:41 upstream c92a9a461dff c9e7aeae .config console log report syz C ci-upstream-kasan-gce
2018/01/13 14:09 upstream c92a9a461dff c9e7aeae .config console log report syz C ci-upstream-kasan-gce
2018/02/26 02:52 upstream c89be5242607 9fe8aa42 .config console log report syz C ci-upstream-kasan-gce-386
2018/01/13 20:46 upstream c92a9a461dff c9e7aeae .config console log report syz C ci-upstream-kasan-gce-386
2018/01/13 14:22 upstream c92a9a461dff c9e7aeae .config console log report syz C ci-upstream-kasan-gce-386
2018/02/26 02:50 net-next-old f74290fdb363 9fe8aa42 .config console log report syz C ci-upstream-net-kasan-gce
2018/01/13 20:10 net-next-old 6bd39bc3da0f c9e7aeae .config console log report syz C ci-upstream-net-kasan-gce
2018/01/13 14:22 net-next-old 6bd39bc3da0f c9e7aeae .config console log report syz C ci-upstream-net-kasan-gce
2018/01/13 23:30 linux-next 3e53c7415294 c9e7aeae .config console log report syz C ci-upstream-next-kasan-gce
2018/01/13 20:40 mmots ce3c209f6733 c9e7aeae .config console log report syz C ci-upstream-mmots-kasan-gce
2018/01/13 14:22 linux-next 3e53c7415294 c9e7aeae .config console log report syz C ci-upstream-next-kasan-gce
2018/01/13 14:22 mmots ce3c209f6733 c9e7aeae .config console log report syz C ci-upstream-mmots-kasan-gce
2018/05/01 01:54 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce
2018/02/08 00:20 upstream a2e5790d8416 9fb5ec43 .config console log report ci-upstream-kasan-gce
2018/01/25 04:28 upstream 5132ede0fe80 866f1102 .config console log report ci-upstream-kasan-gce
2018/01/15 17:42 upstream a8750ddca918 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/15 15:29 upstream a8750ddca918 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/15 13:32 upstream a8750ddca918 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/15 07:02 upstream 9443c168505d 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/15 06:37 upstream 9443c168505d 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/15 03:28 upstream 9443c168505d 66d492a6 .config console log report ci-upstream-kasan-gce
2018/01/14 12:31 upstream 2c1cfa499018 c9e7aeae .config console log report ci-upstream-kasan-gce
2018/01/14 11:47 upstream 2c1cfa499018 c9e7aeae .config console log report ci-upstream-kasan-gce
2018/04/02 12:59 upstream 0adb32858b0b dc889257 .config console log report ci-upstream-kasan-gce-386
2018/01/15 18:51 upstream a8750ddca918 66d492a6 .config console log report ci-upstream-kasan-gce-386
2018/01/24 17:59 net-next-old 43df215d99e6 a5b7566c .config console log report ci-upstream-net-kasan-gce
2018/01/24 16:44 net-next-old 43df215d99e6 a5b7566c .config console log report ci-upstream-net-kasan-gce
2018/05/24 15:42 net-next-old 13405468f49d f48c20b8 .config console log report ci-upstream-net-kasan-gce
2018/05/06 06:07 net-next-old 8fb11a9a8d51 78b251cb .config console log report ci-upstream-net-kasan-gce
2018/05/04 02:08 net-next-old 62264f99fbea 9ce14f4b .config console log report ci-upstream-net-kasan-gce
2018/04/19 12:10 net-next-old 415787d7799f d1b2ef69 .config console log report ci-upstream-net-kasan-gce
2018/04/14 12:13 net-next-old 5d1365940a68 7a67784c .config console log report ci-upstream-net-kasan-gce
2018/04/13 04:27 net-next-old 17dec0a94915 eb2295de .config console log report ci-upstream-net-kasan-gce
2018/04/01 08:04 net-next-old 8bde261e5352 0174c6c8 .config console log report ci-upstream-net-kasan-gce
2018/03/30 12:55 net-next-old 18845557fd6f d47f0ed6 .config console log report ci-upstream-net-kasan-gce
2018/03/26 13:42 net-next-old 996bfed11874 e033c1f1 .config console log report ci-upstream-net-kasan-gce
2018/03/15 02:03 net-next-old c292566a7779 08dacaa0 .config console log report ci-upstream-net-kasan-gce
2018/03/12 09:12 net-next-old 8b4c6ed2ed0e 36d1c454 .config console log report ci-upstream-net-kasan-gce
2018/03/06 17:57 net-next-old 0f3e9c97eb5a a17d898a .config console log report ci-upstream-net-kasan-gce
2018/02/19 18:49 net-next-old 607ea03221ff 833f78c7 .config console log report ci-upstream-net-kasan-gce
2018/02/08 02:20 net-next-old 617aebe6a97e 9fb5ec43 .config console log report ci-upstream-net-kasan-gce
2018/02/01 12:01 net-next-old b2fe5fa68642 02553e22 .config console log report ci-upstream-net-kasan-gce
2018/02/01 04:45 net-next-old a54667f6728c 02553e22 .config console log report ci-upstream-net-kasan-gce
2018/01/27 13:40 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 08:21 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 07:19 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 07:03 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 06:59 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 04:41 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 03:37 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 02:51 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/27 01:05 net-next-old 6bb46bc57c8e 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/26 22:44 net-next-old 9515a2e082f9 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/26 21:28 net-next-old 9515a2e082f9 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/26 15:15 net-next-old 9515a2e082f9 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/26 11:54 net-next-old 9515a2e082f9 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/26 01:17 net-next-old fb07a820fe3f 1d18b112 .config console log report ci-upstream-net-kasan-gce
2018/01/25 03:15 net-next-old 969ade4086b9 866f1102 .config console log report ci-upstream-net-kasan-gce
2018/01/24 23:28 net-next-old 969ade4086b9 866f1102 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.