syzbot |
sign-in | mailing list | source | docs |
================================================================== BUG: KCSAN: data-race in __kernfs_remove / cleanup_glue_dir read-write to 0xffff88812245e9c0 of 8 bytes by task 4250 on cpu 1: kernfs_unlink_sibling fs/kernfs/dir.c:396 [inline] __kernfs_remove+0x589/0x6b0 fs/kernfs/dir.c:1384 kernfs_remove+0x40/0x50 fs/kernfs/dir.c:1412 sysfs_remove_dir+0x7a/0x90 fs/sysfs/dir.c:101 __kobject_del+0x9d/0x1a0 lib/kobject.c:588 kobject_del+0x2a/0x40 lib/kobject.c:611 device_del+0x845/0x8c0 drivers/base/core.c:3603 device_unregister+0x11/0x30 drivers/base/core.c:3624 wakeup_source_sysfs_remove+0x21/0x30 drivers/base/power/wakeup_stats.c:208 wakeup_source_unregister+0xea/0x110 drivers/base/power/wakeup.c:249 ep_remove+0x2b2/0x360 fs/eventpoll.c:723 ep_free+0x18b/0x210 fs/eventpoll.c:778 ep_eventpoll_release+0x2e/0x40 fs/eventpoll.c:795 __fput+0x292/0x510 fs/file_table.c:317 ____fput+0x11/0x20 fs/file_table.c:350 task_work_run+0x8e/0x110 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812245e9c0 of 8 bytes by task 4251 on cpu 0: kobject_has_children drivers/base/core.c:3040 [inline] cleanup_glue_dir+0xcb/0x140 drivers/base/core.c:3106 device_del+0x850/0x8c0 drivers/base/core.c:3604 device_unregister+0x11/0x30 drivers/base/core.c:3624 wakeup_source_sysfs_remove+0x21/0x30 drivers/base/power/wakeup_stats.c:208 wakeup_source_unregister+0xea/0x110 drivers/base/power/wakeup.c:249 ep_free+0x1f8/0x210 fs/eventpoll.c:786 ep_eventpoll_release+0x2e/0x40 fs/eventpoll.c:795 __fput+0x292/0x510 fs/file_table.c:317 ____fput+0x11/0x20 fs/file_table.c:350 task_work_run+0x8e/0x110 kernel/task_work.c:164 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x130 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:201 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x6a/0x90 kernel/entry/common.c:294 do_syscall_64+0x37/0x70 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x0000000000000004 -> 0x0000000000000003 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 4251 Comm: syz-executor.0 Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2022/04/13 10:41 | upstream | a19944809fe9 | b17b2923 | .config | console log | report | info | ci2-upstream-kcsan-gce | KCSAN: data-race in __kernfs_remove / cleanup_glue_dir | |||
2022/04/07 22:42 | upstream | 42e7a03d3bad | c6ff3e05 | .config | console log | report | info | ci2-upstream-kcsan-gce | KCSAN: data-race in __kernfs_remove / cleanup_glue_dir | |||
2022/03/15 18:40 | upstream | 56e337f2cf13 | 9e8eaa75 | .config | console log | report | info | ci2-upstream-kcsan-gce | KCSAN: data-race in __kernfs_remove / cleanup_glue_dir |