Public bug reported:

This happened probably on NFSv4, but I'm not sure if it is related here.
Based on the stack trace it does not seem so.

linux-image-3.5.0-17-generic

Oct 26 17:40:32 fsdevel7 kernel: [345346.770480] BUG: unable to handle kernel 
NULL pointer dereference at 0000000000000068
Oct 26 17:40:32 fsdevel7 kernel: [345346.772356] IP: [<ffffffff812ed2d4>] 
common_file_perm+0x14/0xf0
Oct 26 17:40:32 fsdevel7 kernel: [345346.773329] PGD 3b1aef067 PUD 42350e067 
PMD 0 
Oct 26 17:40:32 fsdevel7 kernel: [345346.774298] Oops: 0000 [#1] SMP 
Oct 26 17:40:32 fsdevel7 kernel: [345346.775258] CPU 1 
Oct 26 17:40:32 fsdevel7 kernel: [345346.775265] Modules linked in: uas 
usb_storage xfs xt_state iptable_filter ipt_MASQUERADE iptable_nat nf_nat 
nf_conntrac
k_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables cachefiles bridge stp 
dm_crypt llc bnep rfcomm bluetooth snd_hda_codec_conexant parport_pc gpio_ich 
ppd
ev snd_hda_intel lp snd_hda_codec snd_hwdep snd_pcm parport snd_seq_midi 
snd_rawmidi kvm_intel kvm snd_seq_midi_event tpm_infineon snd_seq hid_generic 
snd_ti
mer lpc_ich snd_seq_device snd tpm_tis mei dm_multipath soundcore 
snd_page_alloc joydev mac_hid scsi_dh serio_raw microcode nfsd nfs lockd 
fscache auth_rpcgs
s sch5636 nfs_acl sch56xx_common sunrpc coretemp binfmt_misc raid10 raid456 
async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx raid1 
rai
d0 multipath linear btrfs zlib_deflate libcrc32c hid_microsoft usbhid hid i915 
ghash_clmulni_intel aesni_intel drm_kms_helper cryptd aes_x86_64 drm i2c_algo_
bit video e1000e
Oct 26 17:40:32 fsdevel7 kernel: [345346.780712] 
Oct 26 17:40:32 fsdevel7 kernel: [345346.781873] Pid: 93817, comm: hg Not 
tainted 3.5.0-17-generic #28-Ubuntu FUJITSU ESPRIMO P900/D3062-A1
Oct 26 17:40:32 fsdevel7 kernel: [345346.783071] RIP: 0010:[<ffffffff812ed2d4>] 
 [<ffffffff812ed2d4>] common_file_perm+0x14/0xf0
Oct 26 17:40:32 fsdevel7 kernel: [345346.784275] RSP: 0018:ffff880334a9fe88  
EFLAGS: 00010282
Oct 26 17:40:32 fsdevel7 kernel: [345346.785480] RAX: 0000000000000000 RBX: 
ffff8802d9a87300 RCX: 0000000000000000
Oct 26 17:40:32 fsdevel7 kernel: [345346.786691] RDX: 0000000000000004 RSI: 
ffff8802d9a87300 RDI: 0000000000000010
Oct 26 17:40:32 fsdevel7 kernel: [345346.787898] RBP: ffff880334a9fe88 R08: 
000000000161ce24 R09: 00007f9241653700
Oct 26 17:40:32 fsdevel7 kernel: [345346.789109] R10: 0000000000000022 R11: 
0000000000000246 R12: 0000000000000004
Oct 26 17:40:32 fsdevel7 kernel: [345346.790330] R13: 0000000000000000 R14: 
ffff880334a9ff50 R15: 00007f923f68f0d0
Oct 26 17:40:32 fsdevel7 kernel: [345346.791549] FS:  00007f9241653700(0000) 
GS:ffff88043e280000(0000) knlGS:0000000000000000
Oct 26 17:40:32 fsdevel7 kernel: [345346.792771] CS:  0010 DS: 0000 ES: 0000 
CR0: 0000000080050033
Oct 26 17:40:32 fsdevel7 kernel: [345346.793995] CR2: 0000000000000068 CR3: 
00000002d3b3c000 CR4: 00000000000427e0
Oct 26 17:40:32 fsdevel7 kernel: [345346.795231] DR0: 0000000000000000 DR1: 
0000000000000000 DR2: 0000000000000000
Oct 26 17:40:32 fsdevel7 kernel: [345346.796468] DR3: 0000000000000000 DR6: 
00000000ffff0ff0 DR7: 0000000000000400
Oct 26 17:40:32 fsdevel7 kernel: [345346.796469] Process hg (pid: 93817, 
threadinfo ffff880334a9e000, task ffff880422b4dc00)
Oct 26 17:40:32 fsdevel7 kernel: [345346.796469] Stack:
Oct 26 17:40:32 fsdevel7 kernel: [345346.796470]  ffff880334a9fe98 
ffffffff812ed4a8 ffff880334a9fec8 ffffffff812b2bac
Oct 26 17:40:32 fsdevel7 kernel: [345346.796472]  ffff880334a9ff08 
0000000000100000 ffff8802d9a87300 0000000000000000
Oct 26 17:40:32 fsdevel7 kernel: [345346.796473]  ffff880334a9fef8 
ffffffff81181d21 0000000000000001 ffff8802d9a87300
Oct 26 17:40:32 fsdevel7 kernel: [345346.796475] Call Trace:
Oct 26 17:40:32 fsdevel7 kernel: [345346.796476]  [<ffffffff812ed4a8>] 
apparmor_file_permission+0x18/0x20
Oct 26 17:40:32 fsdevel7 kernel: [345346.796477]  [<ffffffff812b2bac>] 
security_file_permission+0x2c/0xb0
Oct 26 17:40:32 fsdevel7 kernel: [345346.796479]  [<ffffffff81181d21>] 
rw_verify_area+0x61/0xf0
Oct 26 17:40:32 fsdevel7 kernel: [345346.796482]  [<ffffffff8118218e>] 
vfs_read+0x7e/0x180
Oct 26 17:40:32 fsdevel7 kernel: [345346.796483]  [<ffffffff811822da>] 
sys_read+0x4a/0x90
Oct 26 17:40:32 fsdevel7 kernel: [345346.796484]  [<ffffffff81689d29>] 
system_call_fastpath+0x16/0x1b
Oct 26 17:40:32 fsdevel7 kernel: [345346.796487] Code: b3 94 ff ff 48 8b 5d e8 
4c 8b 65 f0 4c 8b 6d f8 c9 c3 e8 ba d5 38 00 55 48 89 e5 66 66 66 66 90 48 8b 
46 68 48 8b 8e 98 00 00 00 <48> 8b 40 68 48 85 c0 0f 84 c0 00 00 00 4c 8b 00 4d 
85 c0 75 0a 
Oct 26 17:40:32 fsdevel7 kernel: [345346.796502] RIP  [<ffffffff812ed2d4>] 
common_file_perm+0x14/0xf0
Oct 26 17:40:32 fsdevel7 kernel: [345346.796503]  RSP <ffff880334a9fe88>
Oct 26 17:40:32 fsdevel7 kernel: [345346.796504] CR2: 0000000000000068
Oct 26 17:40:32 fsdevel7 kernel: [345346.820250] ---[ end trace 
1947d4cd7cbc7226 ]---
Oct 26 17:40:32 fsdevel7 kernel: [345346.820955] VFS: Close: file count is 0

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071806

Title:
  NULL pointer dereference in common_file_perm+0x14

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1071806/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to