syzbot


WARNING in sysfs_create_file_ns
Status: upstream: reported C repro on 2019/08/01 15:28
Reported-by: syzbot+5b9bba68c833c84a1135@syzkaller.appspotmail.com
First crash: 1051d, last: 1d08h
Patch testing requests:
Created Duration User Patch Repo Result
2019/09/24 14:28 18m stern@rowland.harvard.edu patch https://github.com/google/kasan.git f0df5c1b OK
2019/09/19 20:21 18m stern@rowland.harvard.edu patch https://github.com/google/kasan.git f0df5c1b OK

Sample crash report:
usb 1-1: usbvision_write_reg: failed: error -2
usb 1-1: usbvision_write_reg: failed: error -2
usb 1-1: usbvision_write_reg: failed: error -2
usb 1-1: usbvision_write_reg: failed: error -2
usb 1-1: usbvision_write_reg: failed: error -2
usbvision_i2c_register: can't write reg
videodev: could not get a free device node number
usb 1-1: USBVision[271]: video_register_device() failed
------------[ cut here ]------------
WARNING: CPU: 1 PID: 65 at fs/sysfs/file.c:327 sysfs_create_file_ns+0x13c/0x1c0 fs/sysfs/file.c:327
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 65 Comm: kworker/1:2 Not tainted 5.8.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xf6/0x16e lib/dump_stack.c:118
 panic+0x2aa/0x6e1 kernel/panic.c:231
 __warn.cold+0x20/0x50 kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x41/0x80 arch/x86/kernel/traps.c:235
 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:540
RIP: 0010:sysfs_create_file_ns+0x13c/0x1c0 fs/sysfs/file.c:327
Code: 85 82 00 00 00 41 55 48 8b 7b 30 31 d2 48 89 ee 44 8b 4c 24 50 44 8b 44 24 40 e8 8f f9 ff ff 41 89 c5 58 eb 0d e8 f4 81 ae ff <0f> 0b 41 bd ea ff ff ff e8 e7 81 ae ff 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffff8881d599f0a8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff8881ca2b03a8 RCX: ffffffff8286ed44
RDX: ffff8881d6f73200 RSI: ffffffff8191280c RDI: ffff8881ca2b03a8
RBP: ffffffff87dacf00 R08: 0000000000000000 R09: ffff8881ca2b0907
R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff1103ab33e16
R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8881ca2b03d8
 sysfs_create_file include/linux/sysfs.h:577 [inline]
 device_create_file+0xea/0x1d0 drivers/base/core.c:2074
 usbvision_create_sysfs drivers/staging/media/usbvision/usbvision-video.c:252 [inline]
 usbvision_probe.cold+0x1c3b/0x1f2a drivers/staging/media/usbvision/usbvision-video.c:1535
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:374
 really_probe+0x291/0xc90 drivers/base/dd.c:520
 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:696
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:802
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x28d/0x430 drivers/base/dd.c:868
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xb09/0x1c10 drivers/base/core.c:2700
 usb_set_configuration+0xf05/0x18a0 drivers/usb/core/message.c:2032
 usb_generic_driver_probe+0xba/0xf2 drivers/usb/core/generic.c:239
 usb_probe_device+0xd9/0x250 drivers/usb/core/driver.c:272
 really_probe+0x291/0xc90 drivers/base/dd.c:520
 driver_probe_device+0x26b/0x3d0 drivers/base/dd.c:696
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:802
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:431
 __device_attach+0x28d/0x430 drivers/base/dd.c:868
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0xb09/0x1c10 drivers/base/core.c:2700
 usb_new_device.cold+0x71d/0xfd4 drivers/usb/core/hub.c:2554
 hub_port_connect drivers/usb/core/hub.c:5208 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5348 [inline]
 port_event drivers/usb/core/hub.c:5494 [inline]
 hub_event+0x2361/0x4390 drivers/usb/core/hub.c:5576
 process_one_work+0x94c/0x15f0 kernel/workqueue.c:2269
 process_scheduled_works kernel/workqueue.c:2331 [inline]
 worker_thread+0x82b/0x1120 kernel/workqueue.c:2417
 kthread+0x392/0x470 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (41):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2020/08/05 12:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 b7129355 .config log report syz C
ci2-upstream-usb 2020/05/14 13:05 https://github.com/google/kasan.git usb-fuzzer 059e7e0ff26c 2d572622 .config log report syz C
ci2-upstream-usb 2020/03/25 10:53 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 41f049cc .config log report syz C
ci2-upstream-usb 2020/03/23 09:11 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config log report syz C
ci2-upstream-usb 2020/03/20 23:20 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 2c31c529 .config log report syz C
ci2-upstream-usb 2020/03/17 02:56 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 749688d2 .config log report syz C
ci2-upstream-usb 2020/03/10 11:32 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 35f53e45 .config log report syz C
ci2-upstream-usb 2020/03/10 01:18 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 35f53e45 .config log report syz C
ci2-upstream-usb 2020/03/08 08:22 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 2e9971bb .config log report syz C
ci2-upstream-usb 2020/02/27 16:59 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 40bcfdd5 .config log report syz C
ci2-upstream-usb 2020/02/23 07:22 https://github.com/google/kasan.git usb-fuzzer 307a2623c9d7 2c36e7a7 .config log report syz C
ci2-upstream-usb 2020/02/17 09:44 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 1f448cd6 .config log report syz C
ci2-upstream-usb 2020/02/11 10:18 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 084454ae .config log report syz C
ci2-upstream-usb 2020/01/25 08:40 https://github.com/google/kasan.git usb-fuzzer cd234325a5f1 2e95ab33 .config log report syz C
ci2-upstream-usb 2020/01/23 10:06 https://github.com/google/kasan.git usb-fuzzer 4cc301ee04d9 3334d684 .config log report syz C
ci2-upstream-usb 2019/12/19 21:55 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 36650b4b .config log report syz C
ci2-upstream-usb 2019/12/06 21:40 https://github.com/google/kasan.git usb-fuzzer 1f22d15c209f 85f26751 .config log report syz C
ci2-upstream-usb 2019/09/27 02:48 https://github.com/google/kasan.git usb-fuzzer 2994c07743fe 2f1548bc .config log report syz C
ci2-upstream-usb 2019/09/23 21:57 https://github.com/google/kasan.git usb-fuzzer d9e63adcd16e c68252d2 .config log report syz C
ci2-upstream-usb 2019/09/21 17:36 https://github.com/google/kasan.git usb-fuzzer e0bd8d794fc9 d96e88f3 .config log report syz C
ci2-upstream-usb 2019/08/12 07:29 https://github.com/google/kasan.git usb-fuzzer e96407b49762 acb51638 .config log report syz C
ci2-upstream-usb 2019/07/28 09:43 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 c85e1c5b .config log report syz C
ci2-upstream-usb 2019/07/22 18:48 https://github.com/google/kasan.git usb-fuzzer 6a3599ceaa39 55e0c077 .config log report syz C
ci2-upstream-usb 2019/07/10 00:47 https://github.com/google/kasan.git usb-fuzzer 7829a896a587 f62e1e85 .config log report syz C
ci2-upstream-usb 2022/05/25 09:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97fa5887cf28 647c0e27 .config log report info WARNING in sysfs_create_file_ns
ci2-upstream-usb 2022/05/23 08:26 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 97fa5887cf28 7268fa62 .config log report info WARNING in sysfs_create_file_ns
ci2-upstream-usb 2020/08/15 03:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 449dc8c97089 5ce13532 .config log report
ci2-upstream-usb 2020/08/11 12:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 449dc8c97089 5d3ebca9 .config log report
ci2-upstream-usb 2020/08/08 01:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7b4ea9456dd3 ff51e522 .config log report
ci2-upstream-usb 2020/07/28 01:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ca6377900974 cb93dc6a .config log report
ci2-upstream-usb 2020/06/30 12:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9cf6ffae3800 917afeaa .config log report
ci2-upstream-usb 2020/06/14 11:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b791d1bdf921 2a22c77a .config log report
ci2-upstream-usb 2020/03/23 12:51 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 78267cec .config log report
ci2-upstream-usb 2020/02/26 02:22 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c 4f588111 .config log report
ci2-upstream-usb 2020/02/23 21:41 https://github.com/google/kasan.git usb-fuzzer 307a2623c9d7 d801cb02 .config log report
ci2-upstream-usb 2020/02/12 18:12 https://github.com/google/kasan.git usb-fuzzer 7f0cd6c7c423 84f4fc8a .config log report
ci2-upstream-usb 2020/01/13 17:34 https://github.com/google/kasan.git usb-fuzzer 5a67532ceae3 99565c1a .config log report
ci2-upstream-usb 2020/01/10 18:36 https://github.com/google/kasan.git usb-fuzzer ae1794106b94 532ec44e .config log report
ci2-upstream-usb 2020/01/07 10:44 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 1bcd407e .config log report
ci2-upstream-usb 2019/12/01 00:21 https://github.com/google/kasan.git usb-fuzzer 32b5e2b28188 a76bf83f .config log report
ci2-upstream-usb 2019/10/04 18:06 https://github.com/google/kasan.git usb-fuzzer 58d5f26a5584 c86336cf .config log report