(code ran at that point: "dmesg > /var/log/dmesg") [ 30.788279] type=1400 audit(1356624785.788:24): avc: denied { open } for pid=3193 comm="dmesg" path="/etc/ld.so.cache" dev="dm-2" ino=393935 scontext=system_u:system_r:dmesg_t tcontext=root:object_r:etc_t tclass=file [ 30.810591] type=1400 audit(1356624785.810:25): avc: denied { getattr } for pid=3193 comm="dmesg" path="/etc/ld.so.cache" dev="dm-2" ino=393935 scontext=system_u:system_r:dmesg_t tcontext=root:object_r:etc_t tclass=file [ 59.806633] BUG: unable to handle kernel NULL pointer dereference at 0000000000000004 [ 59.807028] IP: [] _raw_spin_lock+0x13/0x40 [ 59.807028] PGD 5842d000 [ 59.807028] Thread overran stack, or stack corrupted [ 59.807028] Oops: 0002 [#1] PREEMPT SMP [ 59.807028] Modules linked in: libcrc32c [ 59.807028] CPU 1 [ 59.807028] Pid: 3573, comm: dmesg Not tainted 3.7.0-hardened #1 Bochs Bochs [ 59.807028] RIP: 0010:[] [] _raw_spin_lock+0x13/0x40 [ 59.807028] RSP: 0018:ffff8800584b19f8 EFLAGS: 00010213 [ 59.807028] RAX: 0000000000000100 RBX: 0000000000000004 RCX: 0000000000000000 [ 59.807028] RDX: 0000000000000000 RSI: ffff880058924000 RDI: 0000000000000001 [ 59.807028] RBP: ffff8800584b1be0 R08: ffffffff810e1a1e R09: ffff88005ce75000 [ 59.807028] R10: 000000000000000a R11: 0000000000000000 R12: 0000000000000004 [ 59.807028] R13: ffff88005d3c0000 R14: 0000000000000002 R15: 0000000000000002 [ 59.807028] FS: 0000000000000000(0000) GS:ffff88005fd00000(0000) knlGS:0000000000000000 [ 59.807028] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 59.807028] CR2: 0000000000000004 CR3: 00000000017b1000 CR4: 00000000000006f0 [ 59.807028] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 59.807028] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 59.807028] Process dmesg (pid: 3573, threadinfo ffff88005d3c0528, task ffff88005d3c0000) [ 59.807028] Stack: [ 59.807028] 0000000000000000 ffffffff8116c66c 0000000000000018 0000100b584b1a78 [ 59.807028] ffffffff81990c69 000000000000005c 000000006773656d ffff88005892500b [ 59.807028] ffff88005d2edbc0 ffff880058924000 ffff8800584b1be0 ffffffff810e1a36 [ 59.807028] Call Trace: [ 59.807028] [] ? d_path+0x8c/0x120 [ 59.807028] [] ? audit_log_d_path+0x66/0x100 [ 59.807028] [] ? avc_audit_pre_callback+0x120/0x120 [ 59.807028] [] ? common_lsm_audit+0x38b/0x760 [ 59.807028] [] ? kmem_cache_alloc+0xa8/0xc0 [ 59.807028] [] ? slow_avc_audit+0x8d/0xf0 [ 59.807028] [] ? _raw_spin_unlock_irqrestore+0x2b/0x70 [ 59.807028] [] ? avc_has_perm_flags+0xfe/0x160 [ 59.807028] [] ? file_has_perm+0xa8/0xb0 [ 59.807028] [] ? security_file_permission+0x36/0xd0 [ 59.807028] [] ? rw_verify_area+0x68/0x110 [ 59.807028] [] ? vfs_read+0xe3/0x210 [ 59.807028] [] ? kernel_read+0x56/0x80 [ 59.807028] [] ? ima_calc_hash+0xe4/0x1c0 [ 59.807028] [] ? locks_remove_flock+0x15/0x140 [ 59.807028] [] ? ima_collect_measurement+0x7a/0xd0 [ 59.807028] [] ? ima_update_xattr+0x4b/0x80 [ 59.807028] [] ? ima_file_free+0xdb/0xe0 [ 59.807028] [] ? __fput+0x98/0x2a0 [ 59.807028] [] ? task_work_run+0xb7/0xe0 [ 59.807028] [] ? do_exit+0x18f/0x960 [ 59.807028] [] ? do_group_exit+0x52/0xc0 [ 59.807028] [] ? sys_exit_group+0x13/0x20 [ 59.807028] [] ? system_call_fastpath+0x18/0x1d [ 59.807028] Code: 5b 5d 48 0f ba 2c 24 3f c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 53 48 89 fb bf 01 00 00 00 e8 72 3e 00 00 b8 00 01 00 00 66 0f c1 03 0f b6 d4 38 c2 74 0a 90 f3 90 0f b6 03 38 d0 75 [ 59.807028] RIP [] _raw_spin_lock+0x13/0x40 [ 59.807028] RSP [ 59.807028] CR2: 0000000000000004 [ 59.807028] ---[ end trace f5dd2e386208ee60 ]--- [ 59.807028] Fixing recursive fault but reboot is needed! [ 59.807028] BUG: scheduling while atomic: dmesg/3573/0x00000002 [ 59.807028] Modules linked in: libcrc32c [ 59.807028] Pid: 3573, comm: dmesg Tainted: G D 3.7.0-hardened #1 [ 59.807028] Call Trace: [ 59.807028] [] ? __schedule_bug+0x50/0x60 [ 59.807028] [] ? __schedule+0x82d/0x880 [ 59.807028] [] ? _raw_spin_unlock_irqrestore+0x2b/0x70 [ 59.807028] [] ? check_preempt_wakeup+0x220/0x220 [ 59.807028] [] ? printk+0x50/0x5c [ 60.297697] [] ? do_exit+0x91c/0x960 [ 60.297697] [] ? do_group_exit+0x52/0xc0 [ 60.297697] [] ? oops_end+0x7c/0xb0 [ 60.297697] [] ? no_context+0x12f/0x390 [ 60.297697] [] ? search_module_extables+0x86/0xc0 [ 60.297697] [] ? __do_page_fault+0x59a/0x660 [ 60.297697] [] ? vsnprintf+0x2ea/0x620 [ 60.297697] [] ? string.clone.4+0x3e/0xd0 [ 60.297697] [] ? kvm_read_and_reset_pf_reason+0x45/0x70 [ 60.297697] [] ? async_page_fault+0x3e/0x50 [ 60.297697] [] ? audit_log_d_path+0x4e/0x100 [ 60.297697] [] ? _raw_spin_lock+0x13/0x40 [ 60.297697] [] ? _raw_spin_lock+0xe/0x40 [ 60.297697] [] ? d_path+0x8c/0x120 [ 60.297697] [] ? audit_log_d_path+0x66/0x100 [ 60.297697] [] ? avc_audit_pre_callback+0x120/0x120 [ 60.297697] [] ? common_lsm_audit+0x38b/0x760 [ 60.297697] [] ? kmem_cache_alloc+0xa8/0xc0 [ 60.297697] [] ? slow_avc_audit+0x8d/0xf0 [ 60.297697] [] ? _raw_spin_unlock_irqrestore+0x2b/0x70 [ 60.297697] [] ? avc_has_perm_flags+0xfe/0x160 [ 60.297697] [] ? file_has_perm+0xa8/0xb0 [ 60.297697] [] ? security_file_permission+0x36/0xd0 [ 60.297697] [] ? rw_verify_area+0x68/0x110 [ 60.297697] [] ? vfs_read+0xe3/0x210 [ 60.297697] [] ? kernel_read+0x56/0x80 [ 60.297697] [] ? ima_calc_hash+0xe4/0x1c0 [ 60.297697] [] ? locks_remove_flock+0x15/0x140 [ 60.297697] [] ? ima_collect_measurement+0x7a/0xd0 [ 60.297697] [] ? ima_update_xattr+0x4b/0x80 [ 60.297697] [] ? ima_file_free+0xdb/0xe0 [ 60.297697] [] ? __fput+0x98/0x2a0 [ 60.297697] [] ? task_work_run+0xb7/0xe0 [ 60.297697] [] ? do_exit+0x18f/0x960 [ 60.297697] [] ? do_group_exit+0x52/0xc0 [ 60.297697] [] ? sys_exit_group+0x13/0x20 [ 60.297697] [] ? system_call_fastpath+0x18/0x1d