[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87powhgplu.fsf@yhuang-dev.intel.com>
Date: Mon, 01 Feb 2016 09:56:45 +0800
From: kernel test robot <ying.huang@...ux.intel.com>
TO: Steve Grubb <sgrubb@...hat.com>
CC: 0day robot <fengguang.wu@...el.com>
Subject: [lkp] [fanotify] a2227130fa: BUG: unable to handle kernel NULL
pointer dereference at 0000000000000008
FYI, we noticed the below changes on
https://github.com/0day-ci/linux Eric-Sandeen/fanotify-pre-approve-listener-s-OPEN_PERM-access-requests/20160127-072258
commit a2227130fa626d64cd3d6184c4a88d5565572c29 ("fanotify: pre-approve listener's OPEN_PERM access requests")
[ 281.525813] tun: (C) 1999-2004 Max Krasnyansky <maxk@...lcomm.com>
[ 281.599228] EXT4-fs (loop0): mounting ext2 file system using the ext4 subsystem
[ 281.599909] EXT4-fs (loop0): mounted filesystem without journal. Opts: (null)
[ 281.656253] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
[ 281.656258] IP: [<ffffffff81238931>] fanotify_handle_event+0xa1/0x3b0
[ 281.656259] PGD 9a5ea067 PUD 98f11067 PMD 0
[ 281.656260] Oops: 0000 [#1] SMP
[ 281.656274] Modules linked in: tun loop rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole sg sr_mod cdrom sd_mod dcdbas ata_generic coretemp pata_acpi i7core_edac dell_smm_hwmon kvm_intel kvm irqbypass ata_piix crc32c_intel serio_raw pcspkr edac_core snd_hda_codec_realtek libata usb_storage snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep firewire_ohci snd_pcm firewire_core snd_timer crc_itu_t snd soundcore shpchp acpi_cpufreq broadcom bcm_phy_lib
[ 281.656276] CPU: 6 PID: 12247 Comm: fanotify01 Not tainted 4.5.0-rc1-00001-ga222713 #2
[ 281.656276] Hardware name: Dell Inc. Studio XPS 8000/0X231R, BIOS A01 08/11/2009
[ 281.656277] task: ffff8800970fc880 ti: ffff880098648000 task.ti: ffff880098648000
[ 281.656279] RIP: 0010:[<ffffffff81238931>] [<ffffffff81238931>] fanotify_handle_event+0xa1/0x3b0
[ 281.656280] RSP: 0018:ffff88009864bda8 EFLAGS: 00010246
[ 281.656281] RAX: 0000000000400001 RBX: ffff88009881c410 RCX: 0000000000000000
[ 281.656281] RDX: 000000000000003b RSI: ffff88013da87b48 RDI: ffff88009a7f0000
[ 281.656282] RBP: ffff88009864be18 R08: 0000000000000020 R09: ffff88009881c410
[ 281.656282] R10: ffff88013da87b48 R11: 0000000000000020 R12: 0000000000000000
[ 281.656283] R13: ffff88009a7f0000 R14: 0000000000000020 R15: 0000000000000000
[ 281.656284] FS: 00007f5df6c18700(0000) GS:ffff88013fd80000(0000) knlGS:0000000000000000
[ 281.656284] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 281.656285] CR2: 0000000000000008 CR3: 000000009a537000 CR4: 00000000000006e0
[ 281.656285] Stack:
[ 281.656287] 0000000000000008 ffff88009864befc 0000000000000001 000000000000005d
[ 281.656288] 0000000000000000 ffff88009864bee0 ffffffff81203d62 ffff88009a914920
[ 281.656289] ffff880128f1b480 0000000000000000 ffff88013d876be0 ffff88013d876c08
[ 281.656289] Call Trace:
[ 281.656293] [<ffffffff81203d62>] ? do_filp_open+0x92/0xe0
[ 281.656294] [<ffffffff81235528>] fsnotify+0x378/0x490
[ 281.656295] [<ffffffff81202ea6>] ? getname_flags+0x56/0x1f0
[ 281.656298] [<ffffffff811cfee7>] ? kmem_cache_alloc+0x197/0x200
[ 281.656300] [<ffffffff811f22e9>] do_sys_open+0x179/0x1f0
[ 281.656301] [<ffffffff811f237e>] SyS_open+0x1e/0x20
[ 281.656304] [<ffffffff818defae>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 281.656316] Code: 95 c0 4d 85 e4 0f 95 c2 84 c0 0f 84 25 02 00 00 84 d2 0f 84 fc 01 00 00 41 8b 47 40 41 0b 44 24 40 41 8b 17 41 0b 14 24 41 89 c7 <49> 8b 44 24 08 48 8b 80 08 01 00 00 48 85 c0 74 42 8b 40 30 85
[ 281.656317] RIP [<ffffffff81238931>] fanotify_handle_event+0xa1/0x3b0
[ 281.656317] RSP <ffff88009864bda8>
[ 281.656318] CR2: 0000000000000008
[ 281.656319] ---[ end trace 3422bb7dccb165e4 ]---
[ 281.656320] Kernel panic - not syncing: Fatal exception
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Ying Huang
View attachment "config-4.5.0-rc1-00001-ga222713" of type "text/plain" (145327 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (8796 bytes)
View attachment "job.yaml" of type "text/plain" (2688 bytes)
Download attachment "reproduce.sh" of type "application/x-sh" (41 bytes)
Powered by blists - more mailing lists