syzbot


WARNING in notify_change

Status: fixed on 2019/07/24 12:46
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+2b74da47f048a5046135@syzkaller.appspotmail.com
Fix commit: f69e749a4935 Abort file_remove_privs() for non-reg. files
First crash: 2386d, last: 1991d
Discussions (1)
Title Replies (including bot) Last reply
WARNING in notify_change 4 (5) 2019/04/18 11:03
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in notify_change C done 14 1942d 2008d 1/1 fixed on 2019/11/30 21:02
upstream WARNING in notify_change (5) fs 15 117d 188d 0/28 auto-obsoleted due to no activity on 2024/09/01 10:33
upstream WARNING in notify_change (4) fs 1 359d 355d 0/28 auto-obsoleted due to no activity on 2024/01/19 20:10
upstream WARNING in notify_change (3) fs 2 536d 542d 0/28 auto-obsoleted due to no activity on 2023/07/26 12:25
upstream WARNING in notify_change (6) fs 2 18d 15d 0/28 moderation: reported on 2024/09/29 17:46
linux-6.1 WARNING in notify_change 6 69d 187d 0/3 upstream: reported on 2024/04/09 23:34
upstream WARNING in notify_change (2) fuse C unreliable 2 691d 692d 22/28 fixed on 2023/02/24 13:50
linux-5.15 WARNING in notify_change origin:lts-only C unreliable 3 9d19h 307d 0/3 upstream: reported C repro on 2023/12/12 19:33
linux-4.19 WARNING in notify_change C done 12 1941d 1998d 1/1 fixed on 2019/12/01 09:13

Sample crash report:
WARNING: CPU: 1 PID: 8236 at fs/attr.c:234 notify_change+0xca2/0xfb0 fs/attr.c:234
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 8236 Comm: syz-executor315 Not tainted 5.1.0-rc6+ #83
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:571
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:notify_change+0xca2/0xfb0 fs/attr.c:234
Code: a4 53 0a 00 e8 2f 94 b7 ff 4c 8b 7c 24 20 4c 89 ff e8 22 5c 4a 01 89 de 4c 89 ff e8 08 78 4a 01 e9 33 fa ff ff e8 0e 94 b7 ff <0f> 0b e9 42 f4 ff ff e8 02 94 b7 ff 44 89 f3 4c 89 ea 48 b8 00 00
RSP: 0018:ffff88808addf4c0 EFLAGS: 00010293
RAX: ffff88808b1f2000 RBX: 0000000000004200 RCX: ffffffff81b8ed22
RDX: 0000000000000000 RSI: ffffffff81b8f8e2 RDI: 0000000000000007
RBP: ffff88808addf510 R08: ffff88808b1f2000 R09: ffffed10147b0cea
R10: ffffed10147b0ce9 R11: ffff8880a3d8674f R12: ffff88808addf560
R13: ffff8880a3d86670 R14: 0000000000000000 R15: ffff88808addf5f0
 __remove_privs fs/inode.c:1806 [inline]
 file_remove_privs+0x2a9/0x480 fs/inode.c:1828
 __generic_file_write_iter+0x15e/0x630 mm/filemap.c:3374
 blkdev_write_iter fs/block_dev.c:1966 [inline]
 blkdev_write_iter+0x23a/0x440 fs/block_dev.c:1943
 ? 0xffffffff81000000
 call_write_iter include/linux/fs.h:1866 [inline]
 do_iter_readv_writev+0x5e1/0x8e0 fs/read_write.c:681
 do_iter_write fs/read_write.c:957 [inline]
 do_iter_write+0x184/0x610 fs/read_write.c:938
 vfs_iter_write+0x77/0xb0 fs/read_write.c:970
 iter_file_splice_write+0x662/0xbe0 fs/splice.c:745
 do_splice_from fs/splice.c:847 [inline]
 direct_splice_actor+0x126/0x1a0 fs/splice.c:1019
 splice_direct_to_actor+0x369/0x970 fs/splice.c:974
 do_splice_direct+0x1da/0x2a0 fs/splice.c:1062
 do_sendfile+0x597/0xd00 fs/read_write.c:1443
 __do_sys_sendfile64 fs/read_write.c:1504 [inline]
 __se_sys_sendfile64 fs/read_write.c:1490 [inline]
 __x64_sys_sendfile64+0x1dd/0x220 fs/read_write.c:1490
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44a289
Code: e8 7c c1 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 ab d2 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f6dced4cce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00000000006dcc48 RCX: 000000000044a289
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00000000006dcc40 R08: 0000000000000000 R09: 0000000000000000
R10: 0020000102000007 R11: 0000000000000246 R12: 00000000006dcc4c
R13: 00007fff550e9eff R14: 00007f6dced4d9c0 R15: 000000000000002d
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (566):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/25 11:06 upstream cd8dead0c394 8e3c52b1 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/04/25 11:06 upstream cd8dead0c394 8e3c52b1 .config console log report syz C ci-upstream-kasan-gce-root
2019/04/25 11:06 upstream cd8dead0c394 8e3c52b1 .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/04/09 05:40 upstream 869e3305f23d 995065ff .config console log report syz C ci-upstream-kasan-gce-root
2019/04/09 04:06 upstream fd008d1a7a20 995065ff .config console log report syz C ci-upstream-kasan-gce-selinux-root
2019/04/09 04:04 upstream fd008d1a7a20 995065ff .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/04/05 00:04 upstream 145f47c7381d e5d1b3ac .config console log report syz C ci-upstream-kasan-gce-root
2019/04/04 23:54 upstream 145f47c7381d e5d1b3ac .config console log report syz C ci-upstream-kasan-gce-smack-root
2019/04/04 23:53 upstream 145f47c7381d e5d1b3ac .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/11/30 08:22 upstream f92a2ebb3d55 66071e27 .config console log report syz C ci-upstream-kasan-gce-root
2018/09/26 02:40 upstream 846e8dd47c26 b7e11289 .config console log report syz C ci-upstream-kasan-gce-smack-root
2018/09/26 02:28 upstream 846e8dd47c26 b7e11289 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2018/09/26 02:26 upstream 846e8dd47c26 b7e11289 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/20 13:19 upstream 87ef12027b9b cc402841 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/15 15:35 upstream 18b7fd1c93e5 7a67784c .config console log report syz C ci-upstream-kasan-gce
2018/04/08 19:13 upstream 3fd14cdcc05a 77bd5117 .config console log report syz C ci-upstream-kasan-gce-root
2018/04/27 19:04 upstream d8a332730e75 7785e404 .config console log report syz C ci-upstream-kasan-gce-386
2019/04/25 11:05 linux-next c392798a85ab 8e3c52b1 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/04/10 06:36 linux-next cfd24a53adb8 65b612b7 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2019/04/09 15:01 linux-next cfd24a53adb8 995065ff .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/09/26 03:02 linux-next 8b7a6ebdd4a5 b7e11289 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/04/16 03:46 upstream 71b8ebbf3d7b 7a67784c .config console log report syz ci-upstream-kasan-gce-root
2019/05/03 16:24 upstream ea9866793d1e 1bfa09b9 .config console log report ci-upstream-kasan-gce-selinux-root
2019/05/03 11:53 upstream ea9866793d1e 1bfa09b9 .config console log report ci-upstream-kasan-gce-smack-root
2019/05/01 16:59 upstream f2bc9c908dfe 618456b4 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/30 08:10 upstream 83a50840e72a 20f16bef .config console log report ci-upstream-kasan-gce-smack-root
2019/04/29 03:03 upstream 9520b5324b0e b617407b .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/27 08:33 upstream baf76f0c58ae b617407b .config console log report ci-upstream-kasan-gce-smack-root
2019/04/26 22:45 upstream d0473f978e61 b617407b .config console log report ci-upstream-kasan-gce-root
2019/04/25 07:52 upstream cd8dead0c394 8e3c52b1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/25 04:21 upstream cd8dead0c394 8e3c52b1 .config console log report ci-upstream-kasan-gce-smack-root
2019/04/25 02:32 upstream cd8dead0c394 8e3c52b1 .config console log report ci-upstream-kasan-gce-root
2019/04/24 03:52 upstream 7142eaa58b49 4d3d6a50 .config console log report ci-upstream-kasan-gce-root
2019/04/23 22:25 upstream 7142eaa58b49 4d3d6a50 .config console log report ci-upstream-kasan-gce-smack-root
2019/04/22 20:03 upstream 085b7755808a 0a77c33c .config console log report ci-upstream-kasan-gce-root
2019/04/21 04:09 upstream 9e5de623a0cb b0e8efcb .config console log report ci-upstream-kasan-gce-smack-root
2019/04/20 04:56 upstream 3ecafda911f4 b0e8efcb .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/19 09:16 upstream 6d906f998179 b0e8efcb .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/18 20:12 upstream e53f31bffe1d b0e8efcb .config console log report ci-upstream-kasan-gce-smack-root
2019/04/18 02:14 upstream fe5cdef29e41 b0e8efcb .config console log report ci-upstream-kasan-gce-root
2019/04/16 20:26 upstream 618d919cae2f 505ab413 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/16 18:10 upstream 618d919cae2f 505ab413 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/16 16:04 upstream 618d919cae2f 505ab413 .config console log report ci-upstream-kasan-gce-root
2019/04/12 18:20 upstream 8ee15f324866 8916f5e1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/12 09:31 upstream 2d06b235815e 8916f5e1 .config console log report ci-upstream-kasan-gce-root
2019/04/11 03:47 upstream 771acc7e4a6e e955ac50 .config console log report ci-upstream-kasan-gce-root
2019/04/10 20:14 upstream 771acc7e4a6e e955ac50 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/08 18:22 upstream fd008d1a7a20 0dfb0452 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/08 02:25 upstream 3b0468914708 c34fde03 .config console log report ci-upstream-kasan-gce-smack-root
2019/04/06 19:45 upstream f654f0fc0bd3 c34fde03 .config console log report ci-upstream-kasan-gce-selinux-root
2019/04/05 13:51 upstream ea2cec24c8d4 40f2363e .config console log report ci-upstream-kasan-gce-root
2019/04/05 13:44 upstream ea2cec24c8d4 40f2363e .config console log report ci-upstream-kasan-gce-root
2019/04/03 11:26 upstream a816fd6b49b6 dfd3394d .config console log report ci-upstream-kasan-gce-smack-root
2019/04/02 13:16 upstream 5e7a8ca31926 dfd3394d .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/27 10:08 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/27 04:25 upstream 65ae689329c5 55684ce1 .config console log report ci-upstream-kasan-gce-root
2019/03/26 22:40 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-smack-root
2019/03/26 10:05 upstream a3ac7917b730 55684ce1 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/25 15:26 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-selinux-root
2019/03/25 07:17 upstream 8c2ffd917477 2c86e0a5 .config console log report ci-upstream-kasan-gce-root
2019/03/24 22:17 upstream 1bdd3dbfff7a acbc5b7d .config console log report ci-upstream-kasan-gce-selinux-root
2018/10/07 07:34 upstream c1d84a1b42ef 8b311eaf .config console log report ci-upstream-kasan-gce
2018/04/03 06:51 upstream 86bbbebac193 676bd07e .config console log report ci-upstream-kasan-gce-root
2018/08/15 11:26 upstream 31130a16d459 9ccc1d45 .config console log report ci-upstream-kasan-gce-386
2019/04/29 22:28 linux-next 3d17a1de96a2 b617407b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/20 18:33 linux-next 3f018f4a019a b0e8efcb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/18 01:48 linux-next a74942526152 b0e8efcb .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/10 08:14 linux-next cfd24a53adb8 65b612b7 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/09 09:42 linux-next cfd24a53adb8 995065ff .config console log report ci-upstream-linux-next-kasan-gce-root
2019/04/08 11:11 linux-next ac5b84a1ffe9 c34fde03 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/25 02:42 linux-next e382d91f5f80 2c86e0a5 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/23 12:55 linux-next e382d91f5f80 3361bde5 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/03/23 10:53 linux-next e382d91f5f80 3361bde5 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.