[linux-lvm] BUG: unable to handle kernel NULL pointer dereference in notifier_call_chain

Zdenek Kabelac zkabelac at redhat.com
Mon Jul 24 13:45:36 UTC 2017


Hi

I've booted  4.13-rc1 a56e88ec05df50110f2bf578b6e17128f37111ed
and seen this BUG report on boot  of my T61 (C2D, 4G Ram, Fedora Rawhide):
(not sure if the 2nd. sleep is side-effect - it could be possibly unrelated issue)



audit: type=1131 audit(1500843225.056:150): pid=1 uid=0 auid=4294967295 
ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" 
exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
BUG: unable to handle kernel NULL pointer dereference at 0000000000000208
IP: ip6_route_dev_notify+0x50/0x190 [ipv6]
PGD 0
P4D 0

Oops: 0002 [#1] PREEMPT SMP
Modules linked in: ccm usb_storage 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 
tun bridge stp ipv6 llc ebtables ip6_tables iptable_filter btusb btbcm btintel 
bluetooth ecdh_generic iTCO_wdt iTCO_vendor_support wmi_bmof arc4 
snd_hda_codec_analog snd_hda_codec_generic coretemp kvm_intel kvm input_leds 
irqbypass psmouse r852 sm_common nand snd_hda_intel nand_ecc i2c_i801 iwl3945 
iwlegacy r592 mtd snd_hda_codec memstick mac80211 snd_hda_core snd_hwdep 
snd_seq pcmcia lpc_ich cfg80211 snd_seq_device mfd_core snd_pcm wmi 
thinkpad_acpi nvram snd_timer e1000e snd ptp evdev pps_core soundcore 
binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl lockd grace
sunrpc loop ip_tables x_tables uhci_hcd mmc_block serio_raw ehci_pci ehci_hcd 
usbcore sr_mod cdrom sdhci_pci sdhci mmc_core i915 yenta_socket iosf_mbi 
i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm 
i2c_core usb_common video backlight autofs4
CPU: 1 PID: 75 Comm: kworker/u4:3 Not tainted 4.13.0-rc1-00418-gd792077e1f55 #67
Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) 03/18/2011
Workqueue: netns cleanup_net
task: ffff880135505100 task.stack: ffffc90000164000
RIP: 0010:ip6_route_dev_notify+0x50/0x190 [ipv6]
RSP: 0018:ffffc90000167c28 EFLAGS: 00010297
RAX: ffff880132e56800 RBX: ffff88012ec16000 RCX: 0000000000000003
RDX: ffffc90000167cc0 RSI: 0000000000000006 RDI: 0000000000000000
RBP: ffffc90000167c38 R08: 0000000000000000 R09: ffffffffa09dd600
R10: ffffc90000167c48 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000006 R14: ffffc90000167cc0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88013aa00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000208 CR3: 0000000001c11000 CR4: 00000000000006e0
Call Trace:
notifier_call_chain+0x4a/0x70
raw_notifier_call_chain+0x16/0x20
call_netdevice_notifiers_info+0x35/0x60
rollback_registered_many+0x2d3/0x410
unregister_netdevice_many.part.107+0x14/0x70
default_device_exit_batch+0x13f/0x160
? do_wait_intr_irq+0xc0/0xc0
ops_exit_list.isra.8+0x52/0x60
cleanup_net+0x1e2/0x2c0
process_one_work+0x21d/0x680
worker_thread+0x4d/0x3b0
kthread+0x133/0x150
? process_one_work+0x680/0x680
? kthread_create_on_node+0x40/0x40
? kthread_create_on_node+0x40/0x40
ret_from_fork+0x27/0x40
Code: 48 83 fe 06 74 0e 48 8d 65 f0 b8 01 00 00 00 5b 41 5c 5d c3 80 bb c0 04 
00 00 03 74 e9 48 8b 80 a8 08 00 00 48 8b b8 58 01 00 00 <f0> ff 8f 08 02 00 
00 75 d2 e8 d2 6c d0 e0 eb cb 48 8b 90 a8 08
RIP: ip6_route_dev_notify+0x50/0x190 [ipv6] RSP: ffffc90000167c28
CR2: 0000000000000208
---[ end trace 499867b014596c1c ]---



BUG: sleeping function called from invalid context at 
./include/linux/percpu-rwsem.h:33
in_atomic(): 0, irqs_disabled(): 1, pid: 75, name: kworker/u4:3
INFO: lockdep is turned off.
irq event stamp: 50298
hardirqs last  enabled at (50297): [<ffffffff816d5067>] 
_raw_spin_unlock_irqrestore+0x57/0x70
hardirqs last disabled at (50298): [<ffffffff816d6bbf>] error_entry+0x6f/0xc0
softirqs last  enabled at (50290): [<ffffffff815f895d>] neigh_ifdown+0x7d/0xe0
softirqs last disabled at (50288): [<ffffffff815f8912>] neigh_ifdown+0x32/0xe0
CPU: 1 PID: 75 Comm: kworker/u4:3 Tainted: G      D 
4.13.0-rc1-00418-gd792077e1f55 #67
Hardware name: LENOVO 6464CTO/6464CTO, BIOS 7LETC9WW (2.29 ) 03/18/2011
Workqueue: netns cleanup_net
Call Trace:
dump_stack+0x70/0x9d
___might_sleep+0x173/0x250
__might_sleep+0x4a/0x80
exit_signals+0x24/0x2a0
do_exit+0x9d/0xc80
? kthread+0x133/0x150
? process_one_work+0x680/0x680
rewind_stack_do_exit+0x17/0x20
sysrq: SysRq : Emergency Sync
Emergency Sync complete


If you need more details - feel free to ask

Zdenek




More information about the linux-lvm mailing list