kernel BUG at fs/inode.c:LINE!

Status: fixed on 2019/04/12 21:13
Subsystems: autofs
[Documentation on labels]
Reported-by: syzbot+5399ed0832693e29f392@syzkaller.appspotmail.com
Fix commit: 9bf964c9cee4 autofs: simplify parse_options() function call
First crash: 2895d, last: 2895d
Cause bisection: the cause commit could be any of (bisect log):
commit cd4f2a6648513cd5b3ebcc17b5f9058bd7b5754d
Author: Alexey Skidanov <alexey.skidanov@intel.com>
Date: Tue Dec 11 02:47:08 2018 +0000

  lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk

commit df3f18d39e852f63bf7b739e784e03c960793ceb
Author: Matthew Wilcox <willy@infradead.org>
Date: Tue Dec 11 02:47:07 2018 +0000

  fls: change parameter to unsigned int

commit 9067c8d5a70baac6fb53fa1d5858bf9d72175846
Author: Yury Norov <ynorov@caviumnetworks.com>
Date: Tue Dec 11 02:47:08 2018 +0000

  lib/find_bit_benchmark.c: align test_find_next_and_bit with others

commit c28248294d6d4804d971bad986a306983910a735
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue Dec 11 02:47:07 2018 +0000

  include/linux/printk.h: drop silly "static inline asmlinkage" from dump_stack()

commit 26e88a473db90e818ab85a1a95cb29aea5e1a21b
Author: Joe Perches <joe@perches.com>
Date: Tue Dec 11 02:47:08 2018 +0000

  checkpatch: warn on const char foo[] = "bar"; declarations

commit e98eceb86c8d76d09bb61d0fae0c015fb74fb1b6
Author: Souptick Joarder <jrdr.linux@gmail.com>
Date: Tue Dec 11 02:47:07 2018 +0000

  drivers/dma-buf/udmabuf.c: convert to use vm_fault_t

commit 5b6bf71dd716e490e47a4cba494c6f4754d62c8e
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue Dec 11 02:47:07 2018 +0000

  build_bug.h: remove most of dummy BUILD_BUG_ON stubs for Sparse

commit f34c9474a605c5b00ffea2c8f0c0b6a00a4ae1b8
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:08 2018 +0000

  fs/epoll: remove max_nests argument from ep_call_nested()

commit 56f6c16e9c74f64897df88d9fd471bf8b07ae229
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue Dec 11 02:47:07 2018 +0000

  build_bug.h: remove negative-array fallback for BUILD_BUG_ON()

commit cd2f11e61b44374a63d28812b86515e0dc818634
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:09 2018 +0000

  fs/epoll: simplify ep_send_events_proc() ready-list loop

commit 74a37b909676dadf4527b8c517a67a89b030d50d
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue Dec 11 02:47:06 2018 +0000

  Documentation/process/coding-style.rst: don't use "extern" with function prototypes

commit ab1909a85fd1012c61e3384133ae724831add7d1
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:09 2018 +0000

  fs/epoll: drop ovflist branch prediction

commit 499aeb579641ec4b5b95f4abea8c469c8edc826c
Author: Cheng Lin <cheng.lin130@zte.com.cn>
Date: Tue Dec 11 02:47:06 2018 +0000

  proc/sysctl: fix return error for proc_doulongvec_minmax()

commit b7fa8017e2d87ff81f2d1c2f09206356ec6648e3
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:09 2018 +0000

  fs/epoll: robustify ep->mtx held checks

commit d877fd0940d6abe59d4e07cfebc024069f14456a
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue Dec 11 02:47:06 2018 +0000

  fs/proc/base.c: slightly faster /proc/*/limits

commit f2c378628c9a41b0aa0dd959a78dd5d2e2bf5adf
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:09 2018 +0000

  fs/epoll: reduce the scope of wq lock in epoll_wait()

commit 860705c8f868c477364dcfde264cfb6e3f13e5d2
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:09 2018 +0000

  fs-epoll-reduce-the-scope-of-wq-lock-in-epoll_wait-fix

commit c62975fb8b24bf0f76f8119e2e019bfed4b60457
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue Dec 11 02:47:06 2018 +0000

  fs/proc/inode.c: delete unnecessary variable in proc_alloc_inode()

commit 9460069d503e0231331e36d4c8f220f0686ee02d
Author: Eric Biggers <ebiggers@google.com>
Date: Tue Dec 11 02:47:06 2018 +0000

  fs/proc/util.c: include fs/proc/internal.h for name_to_int()

commit ea5f967a21f82613d11eb36a31cb9cce1153b160
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:10 2018 +0000

  fs/epoll: avoid barrier after an epoll_wait(2) timeout

commit b61909d2c4512b6ae49c164ec95089a859b0985b
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:10 2018 +0000

  fs-epoll-avoid-barrier-after-an-epoll_wait2-timeout-fix

commit c768eca025a8df9b28ef3d3917e76dcb1b6cf30f
Author: Benjamin Gordon <bmgordon@google.com>
Date: Tue Dec 11 02:47:05 2018 +0000

  fs/proc/base.c: use ns_capable instead of capable for timerslack_ns

commit 81553cde8e950dfe1d6caa3b797195ef10ceb0eb
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:10 2018 +0000

  fs/epoll: rename check_events label to send_events

commit b6af7800c71d3aa9776b2191a5c15a8fa00e280a
Author: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Date: Tue Dec 11 02:47:05 2018 +0000

  fs/buffer.c: add debug print for __getblk_gfp() stall problem

commit 11193e1694b00825b7a354bdf63e428dd797dc6a
Author: zhong jiang <zhongjiang@huawei.com>
Date: Tue Dec 11 02:47:05 2018 +0000

  mm/page_owner: align with pageblock_nr pages

commit 349afd96fede7918503475399184e5525b95f032
Author: Davidlohr Bueso <dave@stgolabs.net>
Date: Tue Dec 11 02:47:10 2018 +0000

  fs/epoll: deal with wait_queue only once

commit 393af37c974bb4e181334b9321a9dbce95307701
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:10 2018 +0000

  fs-epoll-deal-with-wait_queue-only-once-fix

commit c20187bf3233c4e7a91c667281e8b467b17b7f2a
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Tue Dec 11 02:47:05 2018 +0000

  mm/page_owner: align with pageblock_nr_pages

commit 20fbef314e7a1f5cb1c53344981ac19551c3585d
Author: Yu Zhao <yuzhao@google.com>
Date: Tue Dec 11 02:47:04 2018 +0000

  mm: don't expose page to fast gup before it's ready

commit ad4f37b82fbeff4021d71f412d346e1e5bb76818
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Tue Dec 11 02:47:11 2018 +0000

  init/main.c: make "initcall_level_names[]" const char *

commit 0bcbe611ca3c4da5c566398e1d76e52c098f6cb1
Author: Ian Kent <raven@themaw.net>
Date: Tue Dec 11 02:47:11 2018 +0000

  autofs: improve ioctl sbi checks

commit 69ab6b147504edfb3c3f36488ddb1eedc7f78209
Author: Huang Ying <ying.huang@intel.com>
Date: Tue Dec 11 02:47:04 2018 +0000

  mm: fix race between swapoff and mincore

commit b783d2617cc29a7bad47bf993a2f6e03d8aef261
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:11 2018 +0000

  autofs-improve-ioctl-sbi-checks-fix

commit de44564f9f0ad04ef3996b7faef516b16d2df8bb
Author: Huang Ying <ying.huang@intel.com>
Date: Tue Dec 11 02:47:04 2018 +0000

  mm, swap: fix race between swapoff and some swap operations

commit 010a80ffc40473fd199412db2f03d1089f4e1138
Author: Huang Ying <ying.huang@intel.com>
Date: Tue Dec 11 02:47:04 2018 +0000

  mm, swap: fix race between swapoff and some swap operations

commit 9c82e3b858187f42ba1f71a2180adaa6b2015d94
Author: Ian Kent <raven@themaw.net>
Date: Tue Dec 11 02:47:11 2018 +0000

  autofs: fix possible inode leak in autofs_fill_super()

commit 855b7de10b912d3d7f71e47d2f0e947bb9b406ce
Author: Arun KS <arunks@codeaurora.org>
Date: Tue Dec 11 02:47:04 2018 +0000

  mm/page_alloc.c: remove software prefetching in __free_pages_core()

commit cd4d5fa95d4193fb5d215a00e7ff62a63d5096fc
Author: Ian Kent <raven@themaw.net>
Date: Tue Dec 11 02:47:11 2018 +0000

  autofs: simplify parse_options() function call

commit e8fed6664aa4dd3c3083846417700a996928dbb9
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:03 2018 +0000

  memory_hotplug-free-pages-as-higher-order-fix-fix

commit f7aa1250f5badb61ebaf4c384946b0306a6337dd
Author: Ian Kent <raven@themaw.net>
Date: Tue Dec 11 02:47:12 2018 +0000

  autofs: change catatonic setting to a bit flag

commit 578f645822074cdd5676b829d3e521ff61946c22
Author: Ian Kent <raven@themaw.net>
Date: Tue Dec 11 02:47:12 2018 +0000

  autofs: add strictexpire mount option

commit 71e7f022722fdb6627a446fba23be1f38903dda6
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:03 2018 +0000

  memory_hotplug-free-pages-as-higher-order-fix

commit 8286148bbc1c6a655033bc4d2cbc10d29793b667
Author: Arun KS <arunks@codeaurora.org>
Date: Tue Dec 11 02:47:03 2018 +0000

  mm/page_alloc.c: memory hotplug: free pages as higher order

commit e5d8e8947b85c85e583b6750cf6ef1b5dae4828c
Author: Ernesto A. Fernández <ernesto.mnd.fernandez@gmail.com>
Date: Tue Dec 11 02:47:12 2018 +0000

  hfsplus: return file attributes on statx

commit 728804fa03313c1a9b7fecfa817939a78e86b70b
Author: Carmeli Tamir <carmeli.tamir@gmail.com>
Date: Tue Dec 11 02:47:12 2018 +0000

  include/uapi/linux/msdos_fs.h: use MSDOS_NAME for volume label size

commit e93a0c0df5f0b9cabd8e7a40faed9b61b98745bd
Author: Wei Yang <richard.weiyang@gmail.com>
Date: Tue Dec 11 02:47:03 2018 +0000

  include/linux/memory_hotplug.h: remove duplicate declaration of offline_pages()

commit 3d991a59b7eef670ab9ae995932fc4095b6542d8
Author: Andrei Vagin <avagin@gmail.com>
Date: Tue Dec 11 02:47:12 2018 +0000

  ptrace: take into account saved_sigmask in PTRACE_{GET,SET}SIGMASK

commit a7b166088b8a6f3e0860b28f0746b164bdb89337
Author: Jérôme Glisse <jglisse@redhat.com>
Date: Tue Dec 11 02:47:03 2018 +0000

  mm/mmu_notifier: contextual information for event triggering invalidation v2

commit 302092c984155176c1152b9fd03efb67a329630d
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:02 2018 +0000

  mm-mmu_notifier-use-structure-for-invalidate_range_start-end-calls-v2-checkpatch-fixes

commit cdd7a0aa15aa5ae491853dfb6d4f2709024fd139
Author: Yi Wang <wang.yi59@zte.com.cn>
Date: Tue Dec 11 02:47:13 2018 +0000

  fork: fix some -Wmissing-prototypes warnings

commit 137d92bd73b179aea3c58012d7931be13403a13a
Author: Jérôme Glisse <jglisse@redhat.com>
Date: Tue Dec 11 02:47:02 2018 +0000

  mm/mmu_notifier: use structure for invalidate_range_start/end calls v2

commit b89cf7313cf4174681ec4ef7061b781aa602fecd
Author: Oleg Nesterov <oleg@redhat.com>
Date: Tue Dec 11 02:47:13 2018 +0000

  exec: load_script: don't blindly truncate shebang string

commit 42905641527937265c93c9cb5df1ce8bc19c29b1
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:02 2018 +0000

  mm-mmu_notifier-use-structure-for-invalidate_range_start-end-callback-fix-fix

commit ad2539c7ee8fac0d2d50393249c70e86203e16fd
Author: Oleg Nesterov <oleg@redhat.com>
Date: Tue Dec 11 02:47:13 2018 +0000

  exec: increase BINPRM_BUF_SIZE to 256

commit 0db734c6271d10a7f3df9a93bc979c154ba26e1b
Author: Jérôme Glisse <jglisse@redhat.com>
Date: Tue Dec 11 02:47:02 2018 +0000

  mm/mmu_notifier: use structure for invalidate_range_start/end callback

commit c09b6daf53303739e3d00475c6892cc43fa174fa
Author: Oleg Nesterov <oleg@redhat.com>
Date: Tue Dec 11 02:47:13 2018 +0000

  exec: separate MM_ANONPAGES and RLIMIT_STACK accounting

commit 37ba86cc38a399316b359cd2d1523812d3cde121
Author: Michal Hocko <mhocko@suse.com>
Date: Tue Dec 11 02:47:01 2018 +0000

  hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

commit dc98b12477d036ab250c1fee75e5e5bd471b4860
Author: Oleg Nesterov <oleg@redhat.com>
Date: Tue Dec 11 02:47:14 2018 +0000

  exec-separate-mm_anonpages-and-rlimit_stack-accounting-fix

commit 282860544780aee76d8412610c39008600dfaed8
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:14 2018 +0000

  exec-separate-mm_anonpages-and-rlimit_stack-accounting-checkpatch-fixes

commit b08acb2001e20e92ba11494aaaa29a28f8b1f0d4
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:01 2018 +0000

  mm-kmemleak-little-optimization-while-scanning-fix

commit 27faeb703e40cfba72d81a7751be361be6c82bbe
Author: Tigran Aivazian <aivazian.tigran@gmail.com>
Date: Tue Dec 11 02:47:14 2018 +0000

  bfs: extra sanity checking and static inode bitmap

commit 79d0fd910ad96c607b3370ba287465e1407bfcbc
Author: Oscar Salvador <osalvador@suse.de>
Date: Tue Dec 11 02:47:01 2018 +0000

  mm, kmemleak: little optimization while scanning

commit 232619fcc076c4861ed3e0c3fc444703f0a91484
Author: Will Deacon <will.deacon@arm.com>
Date: Tue Dec 11 02:47:01 2018 +0000

  lib/ioremap: ensure break-before-make is used for huge p4d mappings

commit 7a489f5ddefe52a5a208955e76edadc06901743d
Author: Feng Tang <feng.tang@intel.com>
Date: Tue Dec 11 02:47:14 2018 +0000

  panic: add options to print system info when panic happens

commit 784bedb57befd87c0dd7ebf1fa0f09c58db670a7
Author: Feng Tang <feng.tang@intel.com>
Date: Tue Dec 11 02:47:14 2018 +0000

  kernel/sysctl: add panic_print into sysctl

commit e5dfd59eb5a0f190ad43f64512c59ae0c4a68fee
Author: Will Deacon <will.deacon@arm.com>
Date: Tue Dec 11 02:47:01 2018 +0000

  lib/ioremap: ensure phys_addr actually corresponds to a physical address

commit 5f8d4992524cd6b16de8b73ad3fc49af4554749e
Author: Anders Roxell <anders.roxell@linaro.org>
Date: Tue Dec 11 02:47:15 2018 +0000

  kernel/kcov.c: mark write_comp_data() as notrace

commit 7bdcb055b9dea33dfb451eb3844fd367d16d1d98
Author: Will Deacon <will.deacon@arm.com>
Date: Tue Dec 11 02:47:00 2018 +0000

  x86/pgtable: drop pXd_none() checks from pXd_free_pYd_table()

commit 0aa19fc1247291b2d9f69aed27fb50e8e0dd9b92
Author: Will Deacon <will.deacon@arm.com>
Date: Tue Dec 11 02:47:00 2018 +0000

  arm64: mmu: drop pXd_present() checks from pXd_free_pYd_table()

commit 7ab8b68af104ae6126c077557462e99848fb47a5
Author: Du Changbin <changbin.du@gmail.com>
Date: Tue Dec 11 02:47:15 2018 +0000

  scripts/gdb: fix lx-version string output

commit b2581b704c88ced0e659bb3f97bcaabc9615cd68
Author: David Engraf <david.engraf@sysgo.com>
Date: Tue Dec 11 02:47:15 2018 +0000

  initramfs: cleanup incomplete rootfs

commit ee095458b3efc95b794ae77e3fe4ddb50d3b4225
Author: Will Deacon <will.deacon@arm.com>
Date: Tue Dec 11 02:47:00 2018 +0000

  ioremap: rework pXd_free_pYd_page() API

commit ce10bcf4b4e626c35a1b7879c65c5dc3f9a6c728
Author: Wei Yang <richard.weiyang@gmail.com>
Date: Tue Dec 11 02:47:00 2018 +0000

  mm/page_alloc.c: calculate first_deferred_pfn directly

commit efae80911ae5c54f133319dcac36da5adf0634ef
Author: Waiman Long <longman@redhat.com>
Date: Tue Dec 11 02:47:15 2018 +0000

  ipc: allow boot time extension of IPCMNI from 32k to 8M

commit ab7db927b364b8a0e065d192ceef66d70cb52edf
Author: Andrew Morton <akpm@linux-foundation.org>
Date: Tue Dec 11 02:47:15 2018 +0000

  ipc-allow-boot-time-extension-of-ipcmni-from-32k-to-8m-checkpatch-fixes

commit f163b82faef57e79efb879d50b58f37b40baedfa
Author: Kirill Tkhai <ktkhai@virtuozzo.com>
Date: Tue Dec 11 02:46:59 2018 +0000

  mm/filemap.c: remove useless check in pagecache_get_page()

commit 399e0a806ad8283775870b49b4c9ab45a6981475
Author: Jens Axboe <axboe@kernel.dk>
Date: Tue Dec 11 02:46:59 2018 +0000

  mm/page_io.c: fix polled swap page in

commit d04978ca88abfe27a203d2c31f4774cf5fdba901
Author: Waiman Long <longman@redhat.com>
Date: Tue Dec 11 02:47:16 2018 +0000

  ipc: conserve sequence numbers in extended IPCMNI mode

commit 07365469c2a11d1593da08ff750d5cd7a11b9ab4
Author: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri Dec 14 06:00:37 2018 +0000

  Merge branch 'akpm-current/current'
  
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
kernel BUG at fs/inode.c:LINE! 31 (33) 2019/04/12 19:46
▶ ▼ Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 kernel BUG in iput -1 syz, C error 2 1705d 1705d 2/2 fixed on 2022/03/29 10:01
linux-4.19 kernel BUG in iput -1 syz, C error 42 1510d 1997d 0/1 upstream: reported C repro on 2021/06/01 01:19
linux-4.19 kernel BUG at fs/inode.c:LINE! -1 syz done 2 2270d 2299d 1/1 fixed on 2020/10/01 20:29
linux-4.19 kernel BUG at fs/inode.c:LINE! (2) -1 syz, C done 5 2032d 2171d 1/1 fixed on 2021/05/29 15:40
linux-4.14 kernel BUG at fs/inode.c:LINE! -1 1 2384d 2384d 0/1 auto-closed as invalid on 2020/09/07 09:12
android-54 kernel BUG at fs/inode.c:LINE! -1 syz, C 5 2266d 2275d 0/2 auto-obsoleted due to no activity on 2023/04/15 08:56
upstream kernel BUG at fs/inode.c:LINE! (2) fs -1 syz, C done unreliable 322 926d 2274d 25/29 fixed on 2024/05/21 07:00

Sample crash report:
 slab_pre_alloc_hook mm/slab.h:423 [inline]
 slab_alloc mm/slab.c:3365 [inline]
 kmem_cache_alloc+0x2c4/0x730 mm/slab.c:3539
 __d_alloc+0xc8/0xb90 fs/dcache.c:1599
------------[ cut here ]------------
kernel BUG at fs/inode.c:1566!
 d_alloc_anon fs/dcache.c:1698 [inline]
 d_make_root+0x43/0xc0 fs/dcache.c:1885
 autofs_fill_super+0x6f1/0x1c30 fs/autofs/inode.c:273
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6100 Comm: syz-executor637 Not tainted 4.20.0-rc6-next-20181214+ #171
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:iput+0x915/0xa90 fs/inode.c:1566
Code: e4 0f 84 a8 fe ff ff e8 e9 fe a6 ff 48 89 df e8 61 f4 ff ff 48 8b bd f0 fe ff ff e8 35 41 08 06 e9 69 fd ff ff e8 cb fe a6 ff <0f> 0b e8 c4 fe a6 ff 0f 0b e9 d5 fb ff ff e8 b8 fe a6 ff 0f 0b e9
RSP: 0018:ffff8881c0ff76b8 EFLAGS: 00010293
RAX: ffff8881c0fdc100 RBX: ffff8881b25f44a0 RCX: ffffffff81d8fc14
RDX: 0000000000000000 RSI: ffffffff81d90455 RDI: 0000000000000007
RBP: ffff8881c0ff77f0 R08: ffff8881c0fdc100 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8881c0fdc100 R12: 0000000000000040
R13: ffff8881c0ff7910 R14: 00000000ffffffea R15: ffff8881d0c4d200
 mount_nodev+0x73/0x120 fs/super.c:1402
FS:  0000000001e1a880(0000) GS:ffff8881dad00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
CR2: 00000000006cd0a0 CR3: 00000001b2c56000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
 autofs_fill_super+0x15fb/0x1c30 fs/autofs/inode.c:352
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 mount_nodev+0x73/0x120 fs/super.c:1402
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
RIP: 0033:0x441be9
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000100
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 6107 Comm: syz-executor637 Not tainted 4.20.0-rc6-next-20181214+ #171
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+0x244/0x39d lib/dump_stack.c:113
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
 __should_failslab+0x124/0x180 mm/failslab.c:32
RIP: 0033:0x441be9
 should_failslab+0x9/0x14 mm/slab_common.c:1576
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
 slab_pre_alloc_hook mm/slab.h:423 [inline]
 slab_alloc mm/slab.c:3365 [inline]
 kmem_cache_alloc+0x2c4/0x730 mm/slab.c:3539
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
 __d_alloc+0xc8/0xb90 fs/dcache.c:1599
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
 d_alloc_anon fs/dcache.c:1698 [inline]
 d_make_root+0x43/0xc0 fs/dcache.c:1885
 autofs_fill_super+0x6f1/0x1c30 fs/autofs/inode.c:273
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
------------[ cut here ]------------
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
kernel BUG at fs/inode.c:1566!
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
CPU: 1 PID: 6105 Comm: syz-executor637 Tainted: G      D           4.20.0-rc6-next-20181214+ #171
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:iput+0x915/0xa90 fs/inode.c:1566
Code: e4 0f 84 a8 fe ff ff e8 e9 fe a6 ff 48 89 df e8 61 f4 ff ff 48 8b bd f0 fe ff ff e8 35 41 08 06 e9 69 fd ff ff e8 cb fe a6 ff <0f> 0b e8 c4 fe a6 ff 0f 0b e9 d5 fb ff ff e8 b8 fe a6 ff 0f 0b e9
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
RSP: 0018:ffff8881b4f276b8 EFLAGS: 00010293
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
RAX: ffff8881c170a580 RBX: ffff8881b2687880 RCX: ffffffff81d8fc14
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
RDX: 0000000000000000 RSI: ffffffff81d90455 RDI: 0000000000000007
RBP: ffff8881b4f277f0 R08: ffff8881c170a580 R09: ffffed103b5a5b77
R10: ffffed103b5a5b77 R11: ffff8881dad2dbbb R12: 0000000000000040
R13: ffff8881b4f27910 R14: 00000000ffffffea R15: ffff8881d0c4af00
FS:  0000000001e1a880(0000) GS:ffff8881dad00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000002497000 CR3: 00000001b3373000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
RIP: 0033:0x441be9
Call Trace:
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
kernel BUG at fs/inode.c:1566!
 autofs_fill_super+0x15fb/0x1c30 fs/autofs/inode.c:352
CPU: 0 PID: 6109 Comm: syz-executor637 Tainted: G      D           4.20.0-rc6-next-20181214+ #171
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+0x244/0x39d lib/dump_stack.c:113
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 __should_failslab+0x124/0x180 mm/failslab.c:32
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
 should_failslab+0x9/0x14 mm/slab_common.c:1576
 slab_pre_alloc_hook mm/slab.h:423 [inline]
 slab_alloc mm/slab.c:3365 [inline]
 kmem_cache_alloc+0x2c4/0x730 mm/slab.c:3539
 __d_alloc+0xc8/0xb90 fs/dcache.c:1599
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 d_alloc_anon fs/dcache.c:1698 [inline]
 d_make_root+0x43/0xc0 fs/dcache.c:1885
 autofs_fill_super+0x6f1/0x1c30 fs/autofs/inode.c:273
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441be9
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000100
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x441be9
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
CPU: 1 PID: 6101 Comm: syz-executor637 Tainted: G      D           4.20.0-rc6-next-20181214+ #171
invalid opcode: 0000 [#3] PREEMPT SMP KASAN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
CPU: 0 PID: 6102 Comm: syz-executor637 Tainted: G      D           4.20.0-rc6-next-20181214+ #171
Call Trace:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x244/0x39d lib/dump_stack.c:113
RIP: 0010:iput+0x915/0xa90 fs/inode.c:1566
Code: e4 0f 84 a8 fe ff ff e8 e9 fe a6 ff 48 89 df e8 61 f4 ff ff 48 8b bd f0 fe ff ff e8 35 41 08 06 e9 69 fd ff ff e8 cb fe a6 ff <0f> 0b e8 c4 fe a6 ff 0f 0b e9 d5 fb ff ff e8 b8 fe a6 ff 0f 0b e9
RSP: 0000:ffff8881cca776b8 EFLAGS: 00010293
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold.4+0xa/0x17 lib/fault-inject.c:149
RAX: ffff8881d105c540 RBX: ffff8881b26768c0 RCX: ffffffff81d8fc14
RDX: 0000000000000000 RSI: ffffffff81d90455 RDI: 0000000000000007
RBP: ffff8881cca777f0 R08: ffff8881d105c540 R09: ffffed103b585b77
R10: ffffed103b585b77 R11: ffff8881dac2dbbb R12: 0000000000000040
R13: ffff8881cca77910 R14: 00000000ffffffea R15: ffff8881d0c4d000
FS:  0000000001e1a880(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 00000001d824d000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 __should_failslab+0x124/0x180 mm/failslab.c:32
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 should_failslab+0x9/0x14 mm/slab_common.c:1576
Call Trace:
 slab_pre_alloc_hook mm/slab.h:423 [inline]
 slab_alloc mm/slab.c:3365 [inline]
 kmem_cache_alloc+0x2c4/0x730 mm/slab.c:3539
 __d_alloc+0xc8/0xb90 fs/dcache.c:1599
 autofs_fill_super+0x15fb/0x1c30 fs/autofs/inode.c:352
 d_alloc_anon fs/dcache.c:1698 [inline]
 d_make_root+0x43/0xc0 fs/dcache.c:1885
 autofs_fill_super+0x6f1/0x1c30 fs/autofs/inode.c:273
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
RIP: 0033:0x441be9
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000100
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
Modules linked in:
RIP: 0033:0x441be9
------------[ cut here ]------------
Code: e8 dc e6 ff ff 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 3b 08 fc ff c3 66 2e 0f 1f 84 00 00 00 00
kernel BUG at fs/inode.c:1566!
RSP: 002b:00007ffff6330f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
invalid opcode: 0000 [#4] PREEMPT SMP KASAN
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441be9
CPU: 0 PID: 6109 Comm: syz-executor637 Tainted: G      D           4.20.0-rc6-next-20181214+ #171
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RBP: 00007ffff6330fe0 R08: 0000000000000000 R09: 0000000000000100
RIP: 0010:iput+0x915/0xa90 fs/inode.c:1566
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
Code: e4 0f 84 a8 fe ff ff e8 e9 fe a6 ff 48 89 df e8 61 f4 ff ff 48 8b bd f0 fe ff ff e8 35 41 08 06 e9 69 fd ff ff e8 cb fe a6 ff <0f> 0b e8 c4 fe a6 ff 0f 0b e9 d5 fb ff ff e8 b8 fe a6 ff 0f 0b e9
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
RSP: 0000:ffff8881d2b476b8 EFLAGS: 00010293
---[ end trace c981ed50117a38b3 ]---
RAX: ffff8881d96ec080 RBX: ffff8881b269a8c0 RCX: ffffffff81d8fc14
RIP: 0010:iput+0x915/0xa90 fs/inode.c:1566
RDX: 0000000000000000 RSI: ffffffff81d90455 RDI: 0000000000000007
RBP: ffff8881d2b477f0 R08: ffff8881d96ec080 R09: ffffed103b585b77
R10: ffffed103b585b77 R11: ffff8881dac2dbbb R12: 0000000000000040
R13: ffff8881d2b47910 R14: 00000000ffffffea R15: ffff8881d0c4a200
FS:  0000000001e1a880(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000140 CR3: 00000001b7099000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Code: e4 0f 84 a8 fe ff ff e8 e9 fe a6 ff 48 89 df e8 61 f4 ff ff 48 8b bd f0 fe ff ff e8 35 41 08 06 e9 69 fd ff ff e8 cb fe a6 ff <0f> 0b e8 c4 fe a6 ff 0f 0b e9 d5 fb ff ff e8 b8 fe a6 ff 0f 0b e9
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
RSP: 0018:ffff8881c0ff76b8 EFLAGS: 00010293
RAX: ffff8881c0fdc100 RBX: ffff8881b25f44a0 RCX: ffffffff81d8fc14
 autofs_fill_super+0x15fb/0x1c30 fs/autofs/inode.c:352
RDX: 0000000000000000 RSI: ffffffff81d90455 RDI: 0000000000000007
RBP: ffff8881c0ff77f0 R08: ffff8881c0fdc100 R09: 0000000000000006
R10: 0000000000000000 R11: ffff8881c0fdc100 R12: 0000000000000040
R13: ffff8881c0ff7910 R14: 00000000ffffffea R15: ffff8881d0c4d200
 mount_nodev+0x73/0x120 fs/super.c:1402
 autofs_mount+0x34/0x40 fs/autofs/init.c:16
FS:  0000000001e1a880(0000) GS:ffff8881dad00000(0000) knlGS:0000000000000000
 legacy_get_tree+0x12f/0x260 fs/fs_context.c:714
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 vfs_get_tree+0x1cb/0x5c0 fs/super.c:1795
 do_new_mount fs/namespace.c:2716 [inline]
 do_mount+0x82a/0x1ff0 fs/namespace.c:3042
CR2: 0000000002497000 CR3: 00000001b3373000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 ksys_mount+0x12d/0x140 fs/namespace.c:3258
 __do_sys_mount fs/namespace.c:3272 [inline]
 __se_sys_mount fs/namespace.c:3269 [inline]
 __x64_sys_mount+0xbe/0x150 fs/namespace.c:3269

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/16 05:47 linux-next d14b746c6c1c def91db3 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2018/12/16 01:48 linux-next d14b746c6c1c def91db3 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.