Linux Kernel Panic at "Code: Bad RIP value." with One-bit Flip in RIP

(Doc ID 2407801.1)

Last updated on JUNE 07, 2018

Applies to:

Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

Linux server got unplanned reboot several times. From the crash messages :

 

[ 5486.019099] BUG: unable to handle kernel paging request at ffffffdf816c7621
[ 5486.019769] IP: [<ffffffdf816c7621>] 0xffffffdf816c7621
[ 5486.020436] PGD 1a8d067 PUD 0
[ 5486.021172] Oops: 0010 [#1] SMP
...

[ 5486.037278] task: ffff880415608e00 ti: ffff880415610000 task.ti: ffff880415610000
[ 5486.039652] RIP: 0010:[<ffffffdf816c7621>] [<ffffffdf816c7621>] 0xffffffdf816c7621
..
[ 5486.106311] Code: Bad RIP value.
[ 5486.110081] RIP [<ffffffdf816c7621>] 0xffffffdf816c7621
                                                                          ^----------------------    the RIP value is 0xffffffdfxxxxxxx, with one-bit flipped from 0xffffffffxxxxxxx.

 

 The RIP is NOT a NULL pointer, but an invalid kernel space address like above.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms