My Oracle Support Banner

With KASLR on Red Hat 7.5 enabled AFD hang OS (Doc ID 2487972.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

When patching Oracle environments to Red Hat 7.5, OS hanged on boot after the oracleafd driver was loaded.

KASLR was enabled by default in the 7.5 kernel .

If KASLR disable at OS level ,it works fine.

 

From vmcore,

[ 16.992712] oracleafd: loading out-of-tree module taints kernel.
[ 16.992738] WARNING: module 'oracleafd' built without retpoline-enabled
compiler, may affect Spectre v2 mitigation
[ 16.992782] oracleafd: module license 'Oracle Corporation' taints kernel.
[ 16.992805] Disabling lock debugging due to kernel taint
[ 16.993668] oracleafd: module verification failed: signature and/or
required key missing - tainting kernel
[ 17.005783] AFDK-00001: Module load succeeded. Build information: (LOW
DEBUG) - USM_12.1.0.2.0ACFSPSU_LINUX.X64_180516 built on 2018/05/17 00:50:32.
[ 17.867322] general protection fault: 0000 [#1] SMP
[ 17.867363] Modules linked in: oracleafd(POE) ipt_REJECT nf_reject_ipv4
xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack
iptable_mangle iptable_security iptable_raw ebtable_filter ebtables
ip6_tables iptable_filter vmw_vsock_vmci_transport vsock sb_edac iosf_mbi
crc32_pclmul ppdev ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper
ablk_helper vmw_balloon cryptd joydev pcspkr sg vmw_vmci i2c_piix4 shpchp
parport_pc parport auth_rpcgss binfmt_misc sunrpc ip_tables xfs libcrc32c
sr_mod cdrom vmwgfx ata_generic pata_acpi sd_mod crc_t10dif crct10dif_generic
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm
crct10dif_pclmul crct10dif_common crc32c_intel drm ahci vmxnet3 libahci
serio_raw
[ 17.867786] vmw_pvscsi ata_piix libata i2c_core dm_mirror dm_region_hash
dm_log dm_mod
[ 17.867849] CPU: 1 PID: 2577 Comm: afdboot Kdump: loaded Tainted: P
OE ------------ 3.10.0-862.3.2.el7.x86_64 #1
[ 17.867883] Hardware name: VMware, Inc. VMware Virtual Platform/440BX
Desktop Reference Platform, BIOS 6.00 09/21/2015
[ 17.867928] task: ffff892823384f10 ti: ffff8927d6fc4000 task.ti:
ffff8927d6fc4000
[ 17.867965] RIP: 0010:[<ffffffffc08e4e9e>] [<ffffffffc08e4e9e>]
safd_asmhdr_io+0x4ae/0x570 [oracleafd]
[ 17.868035] RSP: 0000:ffff8927d6fc7ac0 EFLAGS: 00010246
[ 17.868055] RAX: 0000000000000200 RBX: ffffda148f43dac0 RCX:
0000000000000040
[ 17.868077] RDX: 0000000000000000 RSI: fffb8d23d0f6b000 RDI:
ffff8927d5b0b800
[ 17.868100] RBP: ffff8927d6fc7bc8 R08: ffff8927d6fc7a60 R09:
0000000002000000
[ 17.868122] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff89282f344680
[ 17.868146] R13: ffff8927d6fc7af0 R14: 0000000000000001 R15:
0000000000000010
[ 17.868169] FS: 00007fec804b5640(0000) GS:ffff89283fd00000(0000)
knlGS:0000000000000000
[ 17.868194] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 17.868214] CR2: 00007fbce7216098 CR3: 0000000417e88000 CR4:
00000000001607e0
[ 17.868315] Call Trace:
[ 17.868336] [<ffffffffc08e3d50>] ? afd_mkrequest_fn+0x830/0x830
[oracleafd]
[ 17.868364] [<ffffffffc08cde59>] afdc_discover_device+0x3b9/0x720
[oracleafd]
[ 17.868390] [<ffffffffc08d126c>] afdc_execute_ioctl+0xcbc/0x1970
[oracleafd]
[ 17.868416] [<ffffffffb89f75b5>] ? kmem_cache_alloc+0x35/0x1f0
[ 17.868439] [<ffffffffb8a2c8cf>] ? getname_flags+0x4f/0x1a0
[ 17.868462] [<ffffffffc08ca098>] ? AFD_LOG_INT+0x58/0x80 [oracleafd]
[ 17.868486] [<ffffffffc08e2f2c>] afd_ioctl+0x17c/0x2d0 [oracleafd]
[ 17.868510] [<ffffffffb8b2cce2>] blkdev_ioctl+0x272/0x9b0
[ 17.868531] [<ffffffffb8a599d1>] block_ioctl+0x41/0x50
[ 17.868551] [<ffffffffb8a2fed0>] do_vfs_ioctl+0x350/0x560
[ 17.868586] [<ffffffffb8a2101e>] ? SYSC_newstat+0x3e/0x60
[ 17.868610] [<ffffffffb8a30181>] SyS_ioctl+0xa1/0xc0
[ 17.869849] [<ffffffffb8f2082f>] system_call_fastpath+0x1c/0x21
[ 17.870990] Code: 08 ff ff ff 48 8b b5 00 ff ff ff b8 00 02 00 00 40 f6 c7
01 75 78 40 f6 c7 02 75 5e 40 f6 c7 04 75 46 89 c1 31 d2 c1 e9 03 a8 04 <f3>
48 a5 75 2d a8 02 75 19 a8 01 0f 84 50 fd ff ff 0f b6 04 16
[ 17.873399] RIP [<ffffffffc08e4e9e>] safd_asmhdr_io+0x4ae/0x570
[oracleafd]
[ 17.874737] RSP <ffff8927d6fc7ac0>

[ 390.604637] oracleafd: loading out-of-tree module taints kernel.
[ 390.604676] WARNING: module 'oracleafd' built without retpoline-enabled
compiler, may affect Spectre v2 mitigation
[ 390.604719] oracleafd: module license 'Oracle Corporation' taints kernel.

 

 

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
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.