[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#682007: NULL pointer dereference in __fscache_read_or_alloc_pages



Brian Paul Kroth <bpkroth@gmail.com> 2012-10-11 14:06:
Jonathan Nieder <jrnieder@gmail.com> 2012-10-01 01:25:
<snip/>
Once again very sorry for the delay :(

I forgot to disable the DEBUG_INFO and kept filling up my build VMs disk during compile. Then realized I had grabbed the 3.7 rc code, which these patches don't apply against. "git checkout remotes/stable/linux-3.2.y" (results in head c74a5e1fe4d0672936c8fb63d7484dfeaa30669c and 3.2.28), seemed to fix that.
<snip/>
Anyways, I just started running that on a machine, so I'll let you know if I noticed anything there first before I think about pushing it to further places.

Thanks,
Brian

Got another panic using this kernel/set of patches. The dump is attached.

Let me know if you need anything else.

Thanks,
Brian
Oct 12 13:43:01 kefka [14595.129262] FS-Cache: Unsupported event 2 [44/7] in state OBJECT_DEAD
Oct 12 13:43:01 kefka [14595.129317] ------------[ cut here ]------------
Oct 12 13:43:01 kefka [14595.129338] kernel BUG at fs/fscache/object.c:357!
Oct 12 13:43:01 kefka [14595.129358] invalid opcode: 0000 [#1] 
Oct 12 13:43:01 kefka SMP 
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.129390] CPU 1 
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.129395] Modules linked in:
Oct 12 13:43:01 kefka acpi_cpufreq
Oct 12 13:43:01 kefka mperf
Oct 12 13:43:01 kefka cpufreq_stats
Oct 12 13:43:01 kefka cpufreq_userspace
Oct 12 13:43:01 kefka cpufreq_powersave
Oct 12 13:43:01 kefka cpufreq_conservative
Oct 12 13:43:01 kefka autofs4
Oct 12 13:43:01 kefka kvm_intel
Oct 12 13:43:01 kefka kvm
Oct 12 13:43:01 kefka cachefiles
Oct 12 13:43:01 kefka binfmt_misc
Oct 12 13:43:01 kefka nfsd
Oct 12 13:43:01 kefka nfs
Oct 12 13:43:01 kefka lockd
Oct 12 13:43:01 kefka fscache
Oct 12 13:43:01 kefka auth_rpcgss
Oct 12 13:43:01 kefka nfs_acl
Oct 12 13:43:01 kefka sunrpc
Oct 12 13:43:01 kefka netconsole
Oct 12 13:43:01 kefka configfs
Oct 12 13:43:01 kefka ext3
Oct 12 13:43:01 kefka jbd
Oct 12 13:43:01 kefka coretemp
Oct 12 13:43:01 kefka ipmi_watchdog
Oct 12 13:43:01 kefka ipmi_devintf
Oct 12 13:43:01 kefka ipmi_si
Oct 12 13:43:01 kefka ipmi_msghandler
Oct 12 13:43:01 kefka fuse
Oct 12 13:43:01 kefka uhci_hcd
Oct 12 13:43:01 kefka ohci_hcd
Oct 12 13:43:01 kefka tpm_infineon
Oct 12 13:43:01 kefka snd_hda_codec_realtek
Oct 12 13:43:01 kefka snd_hda_intel
Oct 12 13:43:01 kefka snd_hda_codec
Oct 12 13:43:01 kefka snd_hwdep
Oct 12 13:43:01 kefka snd_pcm_oss
Oct 12 13:43:01 kefka snd_mixer_oss
Oct 12 13:43:01 kefka snd_pcm
Oct 12 13:43:01 kefka snd_seq_midi
Oct 12 13:43:01 kefka button
Oct 12 13:43:01 kefka hp_wmi
Oct 12 13:43:01 kefka snd_rawmidi
Oct 12 13:43:01 kefka snd_seq_midi_event
Oct 12 13:43:01 kefka processor
Oct 12 13:43:01 kefka sparse_keymap
Oct 12 13:43:01 kefka rfkill
Oct 12 13:43:01 kefka snd_seq
Oct 12 13:43:01 kefka psmouse
Oct 12 13:43:01 kefka thermal_sys
Oct 12 13:43:01 kefka serio_raw
Oct 12 13:43:01 kefka joydev
Oct 12 13:43:01 kefka evdev
Oct 12 13:43:01 kefka tpm_tis
Oct 12 13:43:01 kefka tpm
Oct 12 13:43:01 kefka i2c_i801
Oct 12 13:43:01 kefka tpm_bios
Oct 12 13:43:01 kefka i2c_core
Oct 12 13:43:01 kefka wmi
Oct 12 13:43:01 kefka snd_timer
Oct 12 13:43:01 kefka snd_seq_device
Oct 12 13:43:01 kefka snd
Oct 12 13:43:01 kefka soundcore
Oct 12 13:43:01 kefka snd_page_alloc
Oct 12 13:43:01 kefka ext4
Oct 12 13:43:01 kefka mbcache
Oct 12 13:43:01 kefka jbd2
Oct 12 13:43:01 kefka crc16
Oct 12 13:43:01 kefka dm_mod
Oct 12 13:43:01 kefka raid10
Oct 12 13:43:01 kefka raid456
Oct 12 13:43:01 kefka async_raid6_recov
Oct 12 13:43:01 kefka async_pq
Oct 12 13:43:01 kefka raid6_pq
Oct 12 13:43:01 kefka async_xor
Oct 12 13:43:01 kefka xor
Oct 12 13:43:01 kefka async_memcpy
Oct 12 13:43:01 kefka async_tx
Oct 12 13:43:01 kefka raid1
Oct 12 13:43:01 kefka raid0
Oct 12 13:43:01 kefka multipath
Oct 12 13:43:01 kefka linear
Oct 12 13:43:01 kefka md_mod
Oct 12 13:43:01 kefka hid_microsoft
Oct 12 13:43:01 kefka usbhid
Oct 12 13:43:01 kefka hid
Oct 12 13:43:01 kefka sg
Oct 12 13:43:01 kefka sr_mod
Oct 12 13:43:01 kefka sd_mod
Oct 12 13:43:01 kefka cdrom
Oct 12 13:43:01 kefka crc_t10dif
Oct 12 13:43:01 kefka ahci
Oct 12 13:43:01 kefka libahci
Oct 12 13:43:01 kefka libata
Oct 12 13:43:01 kefka scsi_mod
Oct 12 13:43:01 kefka ehci_hcd
Oct 12 13:43:01 kefka usbcore
Oct 12 13:43:01 kefka e1000e
Oct 12 13:43:01 kefka usb_common
Oct 12 13:43:01 kefka [last unloaded: microcode]
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.130083] 
Oct 12 13:43:01 kefka [14595.130101] Pid: 25732, comm: kworker/u:0 Not tainted 3.2.28+ #8
Oct 12 13:43:01 kefka Hewlett-Packard HP Compaq 8200 Elite CMT PC
Oct 12 13:43:01 kefka /1494
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.130149] RIP: 0010:[<ffffffffa0411fe5>] 
Oct 12 13:43:01 kefka [<ffffffffa0411fe5>] fscache_object_work_func+0x79c/0x7db [fscache]
Oct 12 13:43:01 kefka [14595.130192] RSP: 0018:ffff88021ed15e20  EFLAGS: 00010286
Oct 12 13:43:01 kefka [14595.130217] RAX: 000000000000004f RBX: ffff88021f6406c0 RCX: 000000004a524a52
Oct 12 13:43:01 kefka [14595.130240] RDX: 0000000000000000 RSI: 0000000000000046 RDI: 0000000000000246
Oct 12 13:43:01 kefka [14595.130267] RBP: ffff88021f640740 R08: 0000000000000000 R09: 0000000000000000
Oct 12 13:43:01 kefka [14595.130290] R10: 000000021f2ae402 R11: 0000000000000001 R12: ffff88021d876600
Oct 12 13:43:01 kefka [14595.130317] R13: ffffffffa0411849 R14: 0000000000000000 R15: ffff88021d876605
Oct 12 13:43:01 kefka [14595.130340] FS:  0000000000000000(0000) GS:ffff88022dc80000(0000) knlGS:0000000000000000
Oct 12 13:43:01 kefka [14595.135548] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Oct 12 13:43:01 kefka [14595.135571] CR2: 00000000010cc318 CR3: 0000000001605000 CR4: 00000000000406e0
Oct 12 13:43:01 kefka [14595.135597] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 12 13:43:01 kefka [14595.135620] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 12 13:43:01 kefka [14595.135647] Process kworker/u:0 (pid: 25732, threadinfo ffff88021ed14000, task ffff88021f6c0100)
Oct 12 13:43:01 kefka [14595.135681] Stack:
Oct 12 13:43:01 kefka [14595.135696]  ffff88021def5ec0
Oct 12 13:43:01 kefka ffffffff817938c0
Oct 12 13:43:01 kefka ffff88021d876600
Oct 12 13:43:01 kefka ffffffffa0411849
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.135751]  0000000000000000
Oct 12 13:43:01 kefka ffffffff8105f882
Oct 12 13:43:01 kefka ffff88021f640740
Oct 12 13:43:01 kefka 0000000100000000
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.135801]  0000000000000004
Oct 12 13:43:01 kefka ffff88021def5ec0
Oct 12 13:43:01 kefka ffffffff817938c0
Oct 12 13:43:01 kefka ffff88021def5ee0
Oct 12 13:43:01 kefka 
Oct 12 13:43:01 kefka [14595.135853] Call Trace:
Oct 12 13:43:01 kefka [14595.135875]  [<ffffffffa0411849>] ? fscache_enqueue_dependents+0xa0/0xa0 [fscache]
Oct 12 13:43:01 kefka [14595.135912]  [<ffffffff8105f882>] ? process_one_work+0x1cc/0x2ea
Oct 12 13:43:01 kefka [14595.135935]  [<ffffffff8105facd>] ? worker_thread+0x12d/0x247
Oct 12 13:43:01 kefka [14595.135962]  [<ffffffff8105f9a0>] ? process_one_work+0x2ea/0x2ea
Oct 12 13:43:01 kefka [14595.135984]  [<ffffffff8105f9a0>] ? process_one_work+0x2ea/0x2ea
Oct 12 13:43:01 kefka [14595.136012]  [<ffffffff810632d9>] ? kthread+0x7a/0x82
Oct 12 13:43:01 kefka [14595.136036]  [<ffffffff8136c4b4>] ? kernel_thread_helper+0x4/0x10
Oct 12 13:43:01 kefka [14595.136062]  [<ffffffff8106325f>] ? kthread_worker_fn+0x147/0x147
Oct 12 13:43:01 kefka [14595.136085]  [<ffffffff8136c4b0>] ? gs_change+0x13/0x13
Oct 12 13:43:01 kefka [14595.136110] Code: 
Oct 12 13:43:01 kefka 44 
Oct 12 13:43:01 kefka 89 
Oct 12 13:43:01 kefka 65 
Oct 12 13:43:01 kefka 80 
Oct 12 13:43:01 kefka 66 
Oct 12 13:43:01 kefka ff 
Oct 12 13:43:01 kefka 43 
Oct 12 13:43:01 kefka 20 
Oct 12 13:43:01 kefka eb 
Oct 12 13:43:01 kefka 25 
Oct 12 13:43:01 kefka 8b 
Oct 12 13:43:01 kefka 45 
Oct 12 13:43:01 kefka 80 
Oct 12 13:43:01 kefka 48 
Oct 12 13:43:01 kefka 8b 
Oct 12 13:43:01 kefka 4d 
Oct 12 13:43:01 kefka b0 
Oct 12 13:43:01 kefka 48 
Oct 12 13:43:01 kefka c7 
Oct 12 13:43:01 kefka c7 
Oct 12 13:43:01 kefka 19 
Oct 12 13:43:01 kefka 5a 
Oct 12 13:43:01 kefka 41 
Oct 12 13:43:01 kefka a0 
Oct 12 13:43:01 kefka 48 
Oct 12 13:43:01 kefka 8b 
Oct 12 13:43:01 kefka 55 
Oct 12 13:43:01 kefka b8 
Oct 12 13:43:01 kefka 4c 
Oct 12 13:43:01 kefka 8b 
Oct 12 13:43:01 kefka 04 
Oct 12 13:43:01 kefka c5 
Oct 12 13:43:01 kefka 10 
Oct 12 13:43:01 kefka 73 
Oct 12 13:43:01 kefka 41 
Oct 12 13:43:01 kefka a0 
Oct 12 13:43:01 kefka 31 
Oct 12 13:43:01 kefka c0 
Oct 12 13:43:01 kefka e8 
Oct 12 13:43:01 kefka 6e 
Oct 12 13:43:01 kefka 10 
Oct 12 13:43:01 kefka f5 
Oct 12 13:43:01 kefka e0 
Oct 12 13:43:01 kefka 0b 
Oct 12 13:43:01 kefka eb 
Oct 12 13:43:01 kefka fe 
Oct 12 13:43:01 kefka 48 
Oct 12 13:43:01 kefka 8b 
Oct 12 13:43:01 kefka 45 
Oct 12 13:43:01 kefka b0 
Oct 12 13:43:01 kefka 48 
Oct 12 13:43:01 kefka 85 
Oct 12 13:43:01 kefka [14595.137301] Pid: 25732, comm: kworker/u:0 Tainted: G      D      3.2.28+ #8
Oct 12 13:43:01 kefka [14595.137397] Call Trace:
Oct 12 13:43:01 kefka [14595.137479]  [<ffffffff81362f3b>] ? panic+0x92/0x1aa
Oct 12 13:43:01 kefka [14595.137590]  [<ffffffff81049cd0>] ? kmsg_dump+0x41/0xdd
Oct 12 13:43:01 kefka [14595.137686]  [<ffffffffa0411849>] ? fscache_enqueue_dependents+0xa0/0xa0 [fscache]
Oct 12 13:43:01 kefka [14595.137791]  [<ffffffff81365c01>] ? oops_end+0xa9/0xb6
Oct 12 13:43:01 kefka [14595.137896]  [<ffffffff8100ee7b>] ? do_invalid_op+0x8b/0x95
Oct 12 13:43:01 kefka [14595.138000]  [<ffffffffa0411fe5>] ? fscache_object_work_func+0x79c/0x7db [fscache]
Oct 12 13:43:01 kefka [14595.138107]  [<ffffffff81045e70>] ? try_to_wake_up+0x181/0x190
Oct 12 13:43:01 kefka [14595.138214]  [<ffffffff8136c32b>] ? invalid_op+0x1b/0x20

Attachment: signature.asc
Description: Digital signature


Reply to: