My Oracle Support Banner

UEK2 Kernel Panic with "inode_has_perm+0x21/0x40" or "selinux_inode_permission+0xfc/0x130" (Doc ID 1945404.1)

Last updated on JANUARY 31, 2019

Applies to:

Linux OS - Version Oracle Linux 5.8 with Unbreakable Enterprise Kernel [2.6.39] and later
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Linux x86

Symptoms

The Oracle Linux server running UEK2 kernel crashes with the call trace below:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
IP: [<ffffffff811fe011>] inode_has_perm+0x21/0x40
PGD 31403d067 PUD 31403e067 PMD 0
Oops: 0000 [#1] SMP
CPU 2
Modules linked in: autofs4 hidp rfcomm bluetooth rfkill lockd sunrpc ip6_tables be2iscsi iscsi_boot_sysfs ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr iscsi_tcp bnx2i cnic uio ipv6 cxgb3i libcxgbi cxgb3 mdio libiscsi_tcp libiscsi scsi_transport_iscsi vsock(U) video sbs sbshc hed acpi_memhotplug acpi_ipmi ipmi_msghandler lp sg sr_mod cdrom snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer e1000 serio_raw snd parport_pc soundcore snd_page_alloc parport floppy pcspkr i2c_piix4 i2c_core pata_acpi vmci(U) ata_generic vmw_balloon vmw_pvscsi vmxnet3 dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod ata_piix shpchp mptsas mptscsih mptbase scsi_transport_sas ext3 jbd mbcache sd_mod crc_t10dif [last unloaded: mperf]

Pid: 4221, comm: zabbix_agentd Not tainted 2.6.39-400.215.6.el5uek #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffff811fe011>] [<ffffffff811fe011>] inode_has_perm+0x21/0x40
RSP: 0018:ffff88031405bbf8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000800000
RDX: 0000000000800000 RSI: ffff880327ec5838 RDI: ffff880324962c00
RBP: ffff88031405bbf8 R08: ffff88031405bc08 R09: 0000000000000001
R10: 0000000000800000 R11: 0000000000000088 R12: ffff880327ec5838
R13: 0000000000000001 R14: ffff880324962c00 R15: ffff88031405bc08
FS: 00007f4acdd2f710(0000) GS:ffff88033fd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000020 CR3: 000000031403c000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process zabbix_agentd (pid: 4221, threadinfo ffff88031405a000, task ffff880314058280)
Stack:
ffff88031405bcc8 ffffffff81203c9c 0000000000000009 0000000000000000
ffff880327ec5838 0000000000000000 0000000000000000 0000000000000000
0000000000000000 0000000000000000 0000000000000000 0000000000000000
Call Trace:
[<ffffffff81203c9c>] selinux_inode_permission+0xfc/0x130
[<ffffffff811fb6a5>] security_inode_exec_permission+0x25/0x30
[<ffffffff81179a37>] link_path_walk+0xa7/0x950
[<ffffffff8115b8e9>] ? kmem_cache_alloc_trace+0xc9/0x1a0
[<ffffffff8117a395>] path_openat+0xb5/0x400
[<ffffffff811857fb>] ? evict+0xeb/0x180
[<ffffffff810dcecc>] ? force_quiescent_state+0x2c/0x1b0
[<ffffffff8117a808>] do_filp_open+0x48/0xa0
[<ffffffff8125def7>] ? __strncpy_from_user+0x27/0x60
[<ffffffff8125dfc3>] ? strncpy_from_user+0x43/0x50
[<ffffffff811775c9>] ? do_getname+0x39/0x170
[<ffffffff815083ae>] ? _raw_spin_lock+0xe/0x20
[<ffffffff811876fa>] ? alloc_fd+0x10a/0x150
[<ffffffff8116b40e>] do_sys_open+0x10e/0x1f0
[<ffffffff810cfe3b>] ? audit_syscall_entry+0x17b/0x1e0
[<ffffffff8116b530>] sys_open+0x20/0x30
[<ffffffff81510b82>] system_call_fastpath+0x16/0x1b
Code: 00 00 0f 1f 84 00 00 00 00 00 55 48 89 e5 66 66 66 66 90 31 c0 f6 46 25 02 41 89 d2 75 20 48 8b 46 30 45 89 c1 49 89 c8 44 89 d1 <0f> b7 50 20 8b 70 1c 48 8b 47 68 8b 78 04 e8 6c f5 ff ff c9 c3
RIP [<ffffffff811fe011>] inode_has_perm+0x21/0x40

 

 

Changes

N/A

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.