Kernel Oops - BUG: unable to handle kernel NULL pointer dereference; inotify, fsnotify

Bug #1527559 reported by Federico Ceratto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I ran in a bug similar to #922906 while running inotifywait on kernel:

3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

------

[3975766.571492] BUG: unable to handle kernel paging request at 00000000812363a7
[3975766.571500] IP: [<00000000812363a7>] 0x812363a7
[3975766.571507] PGD 0
[3975766.571510] Oops: 0010 [#1] SMP
[3975766.571514] Modules linked in: tcp_diag udp_diag inet_diag unix_diag nfsd auth_rpcgss nfs_acl lockd grace sunrpc nfnetlink_queue nfnetlink_log nfnetlink bluetooth ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c 8021q garp mrp vhost_net vhost macvtap macvlan ip6t_REJECT nf_reject_ipv6 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) cfg80211 nls_iso8859_1 nvidia(POE) x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi hp_wmi snd_hda_codec_realtek kvm_intel snd_hda_codec_generic kvm
[3975766.571558] sparse_keymap snd_hda_intel crct10dif_pclmul snd_hda_controller crc32_pclmul dm_multipath ghash_clmulni_intel snd_hda_codec aesni_intel snd_hwdep snd_pcm aes_x86_64 scsi_dh snd_seq_midi lrw gf128mul snd_seq_midi_event drm snd_rawmidi snd_seq glue_helper snd_seq_device ablk_helper cryptd mei_me snd_timer sb_edac snd soundcore mei edac_core ioatdma serio_raw 8250_fintek shpchp wmi lpc_ich tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid hid igb i2c_algo_bit firewire_ohci e1000e psmouse dca isci firewire_core ahci ptp libsas libahci crc_itu_t pps_core scsi_transport_sas pata_acpi
[3975766.571600] CPU: 4 PID: 109 Comm: fsnotify_mark Tainted: P C OE 3.19.0-30-generic #34-Ubuntu
[3975766.571603] Hardware name: Hewlett-Packard HP Z620 Workstation/158A, BIOS J61 v03.65 12/19/2013
[3975766.571606] task: ffff881fa1033ae0 ti: ffff881f9c84c000 task.ti: ffff881f9c84c000
[3975766.571608] RIP: 0010:[<00000000812363a7>] [<00000000812363a7>] 0x812363a7
[3975766.571613] RSP: 0018:ffff881f9c84fe58 EFLAGS: 00010286
[3975766.571616] RAX: ffffffff81fb1810 RBX: ffff881f9c84fe60 RCX: 0000000000000000
[3975766.571617] RDX: 000000000000bbea RSI: 0000000000000000 RDI: ffffffff81fb1810
[3975766.571619] RBP: ffff881f9c84feb8 R08: ffffffff81d294c8 R09: 0000000180270014
[3975766.571621] R10: ffff88202fc98fe0 R11: ffff880a72398548 R12: ffff881f9c84fe88
[3975766.571623] R13: ffff881f9c84fe50 R14: 0000000000000000 R15: 0000000000000000
[3975766.571625] FS: 0000000000000000(0000) GS:ffff88202fc80000(0000) knlGS:0000000000000000
[3975766.571627] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[3975766.571629] CR2: 00000000812363a7 CR3: 0000000001c13000 CR4: 00000000001427f0
[3975766.571630] Stack:
[3975766.571632] ffff881f9c84ffd8 ffff880a72398628 ffff880a72398628 ffff881f00020000
[3975766.571635] ffff881fa1033ae0 ffffffff810b7680 ffff881f9c84fe88 ffff881f9c84fe88
[3975766.571638] 0000000000000000 ffff880f9dc83b40 0000000000000000 ffffffff81236330
[3975766.571641] Call Trace:
[3975766.571650] [<ffffffff810b7680>] ? wait_woken+0x90/0x90
[3975766.571656] [<ffffffff81236330>] ? fsnotify_put_mark+0x40/0x40
[3975766.571661] [<ffffffff81095959>] kthread+0xc9/0xe0
[3975766.571665] [<ffffffff81095890>] ? kthread_create_on_node+0x1c0/0x1c0
[3975766.571670] [<ffffffff817cbdd8>] ret_from_fork+0x58/0x90
[3975766.571674] [<ffffffff81095890>] ? kthread_create_on_node+0x1c0/0x1c0
[3975766.571676] Code: Bad RIP value.
[3975766.571678] RIP [<00000000812363a7>] 0x812363a7
[3975766.571683] RSP <ffff881f9c84fe58>
[3975766.571684] CR2: 00000000812363a7
[3975766.571687] ---[ end trace 52f13d4ec1680637 ]---
[3975766.571693] BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
[3975766.571697] IP: [<ffffffff817cba6e>] _raw_spin_lock+0xe/0x80
[3975766.571704] PGD 0
[3975766.571706] Oops: 0002 [#2] SMP
[3975766.571709] Modules linked in: tcp_diag udp_diag inet_diag unix_diag nfsd auth_rpcgss nfs_acl lockd grace sunrpc nfnetlink_queue nfnetlink_log nfnetlink bluetooth ufs qnx4 hfsplus hfs minix ntfs msdos jfs xfs libcrc32c 8021q garp mrp vhost_net vhost macvtap macvlan ip6t_REJECT nf_reject_ipv6 xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables vmnet(OE) vmw_vsock_vmci_transport vsock vmw_vmci vmmon(OE) cfg80211 nls_iso8859_1 nvidia(POE) x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi hp_wmi snd_hda_codec_realtek kvm_intel snd_hda_codec_generic kvm
[3975766.571756] sparse_keymap snd_hda_intel crct10dif_pclmul snd_hda_controller crc32_pclmul dm_multipath ghash_clmulni_intel snd_hda_codec aesni_intel snd_hwdep snd_pcm aes_x86_64 scsi_dh snd_seq_midi lrw gf128mul snd_seq_midi_event drm snd_rawmidi snd_seq glue_helper snd_seq_device ablk_helper cryptd mei_me snd_timer sb_edac snd soundcore mei edac_core ioatdma serio_raw 8250_fintek shpchp wmi lpc_ich tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid hid igb i2c_algo_bit firewire_ohci e1000e psmouse dca isci firewire_core ahci ptp libsas libahci crc_itu_t pps_core scsi_transport_sas pata_acpi
[3975766.571797] CPU: 9 PID: 10292 Comm: inotifywait Tainted: P D C OE 3.19.0-30-generic #34-Ubuntu
[3975766.571800] Hardware name: Hewlett-Packard HP Z620 Workstation/158A, BIOS J61 v03.65 12/19/2013
[3975766.571802] task: ffff881f9cb9ce80 ti: ffff88175588c000 task.ti: ffff88175588c000
[3975766.571804] RIP: 0010:[<ffffffff817cba6e>] [<ffffffff817cba6e>] _raw_spin_lock+0xe/0x80
[3975766.571807] RSP: 0018:ffff88175588fd08 EFLAGS: 00010202
[3975766.571809] RAX: 0000000000020000 RBX: ffff881f9c84fe50 RCX: 0000000000000000
[3975766.571811] RDX: 0000000000000002 RSI: ffff881c7a284e00 RDI: 0000000000000088
[3975766.571813] RBP: ffff88175588fd08 R08: 0000000000000000 R09: ffffffff81237a85
[3975766.571814] R10: 0000000000000296 R11: 000000000000f810 R12: 0000000000000000
[3975766.571816] R13: 0000000000000088 R14: ffff881f9c84fe70 R15: 0000000000000000
[3975766.571818] FS: 0000000000000000(0000) GS:ffff88202fd20000(0000) knlGS:0000000000000000
[3975766.571820] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[3975766.571822] CR2: 0000000000000088 CR3: 0000000001c13000 CR4: 00000000001427f0
[3975766.571824] Stack:
[3975766.571825] ffff88175588fd38 ffffffff81235df6 ffff88175588fd38 ffff881f9c84fe50
[3975766.571828] ffff881c7a284e00 ffff881f9c84fe60 ffff88175588fd78 ffffffff812365d8
[3975766.571831] ffff88175588fdf8 ffff881f9c84fe50 ffff880a72398618 ffff881c7a284e00
[3975766.571835] Call Trace:
[3975766.571841] [<ffffffff81235df6>] fsnotify_destroy_inode_mark+0x46/0xb0
[3975766.571845] [<ffffffff812365d8>] fsnotify_destroy_mark_locked+0x128/0x1a0
[3975766.571850] [<ffffffff81236c2e>] fsnotify_clear_marks_by_group_flags+0x7e/0xb0
[3975766.571854] [<ffffffff81236c73>] fsnotify_clear_marks_by_group+0x13/0x20
[3975766.571858] [<ffffffff81235cf6>] fsnotify_destroy_group+0x16/0x50
[3975766.571861] [<ffffffff81237cb6>] inotify_release+0x26/0x60
[3975766.571868] [<ffffffff811f6aa7>] __fput+0xe7/0x250
[3975766.571873] [<ffffffff811f6c5e>] ____fput+0xe/0x10
[3975766.571877] [<ffffffff81093f24>] task_work_run+0xd4/0xf0
[3975766.571882] [<ffffffff81079378>] do_exit+0x368/0xa50
[3975766.571886] [<ffffffff81079af5>] do_group_exit+0x45/0xb0
[3975766.571889] [<ffffffff81079b74>] SyS_exit_group+0x14/0x20
[3975766.571892] [<ffffffff817cbe8d>] system_call_fastpath+0x16/0x1b
[3975766.571894] Code: 01 74 dc 83 e0 fe 8d 70 02 0f b7 f6 0f 1f 80 00 00 00 00 eb ca 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 b8 00 00 02 00 <f0> 0f c1 07 89 c2 c1 ea 10 66 39 c2 75 04 5d c3 66 90 41 89 d0
[3975766.571926] RIP [<ffffffff817cba6e>] _raw_spin_lock+0xe/0x80
[3975766.571929] RSP <ffff88175588fd08>
[3975766.571934] CR2: 0000000000000088
[3975766.571937] ---[ end trace 52f13d4ec1680638 ]---
[3975766.571939] Fixing recursive fault but reboot is needed!

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-4.2.0-16-generic 4.2.0-16.19
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.8
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/timer', '/dev/snd/seq'] failed with exit code 1:
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Fri Dec 18 10:49:50 2015
HibernationDevice: RESUME=UUID=5c13f1ce-e988-46de-9d20-5dbbd2fd9a3d
InstallationDate: Installed on 2015-07-21 (149 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Hewlett-Packard HP Z620 Workstation
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=ec991f55-a1d1-42a7-a1b3-f4e8f8dd8e99 ro
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-16-generic N/A
 linux-backports-modules-4.2.0-16-generic N/A
 linux-firmware 1.143.6
RfKill:

SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/19/2013
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: J61 v03.65
dmi.board.asset.tag: CZC4132S2B
dmi.board.name: 158A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 0.00
dmi.chassis.asset.tag: CZC4132S2B
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrJ61v03.65:bd12/19/2013:svnHewlett-Packard:pnHPZ620Workstation:pvr:rvnHewlett-Packard:rn158A:rvr0.00:cvnHewlett-Packard:ct6:cvr:
dmi.product.name: HP Z620 Workstation
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Federico Ceratto (federico-ceratto) wrote :
description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.4 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc5-wily

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
penalvch (penalvch)
tags: added: bios-outdated-3.88
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.