Kernel panic occurred in memcpy() function due to presence of third party kernel module 'nvidia' .

Solution Verified - Updated -

Issue

  • Kernel panic has occurred with the message BUG: unable to handle kernel paging request at ffffb4f11c10ea00 in memcpy() function.
  • The call trace is as shown below.
[385135.543385] BUG: unable to handle kernel paging request at ffffb4f11c10ea00 <========
[385135.543390] IP: [<ffffffffa95978c6>] memcpy+0x6/0x110
[385135.543392] PGD 17fd65067 PUD 20ffc02067 PMD 20894d2067 PTE 0
[385135.543393] Oops: 0002 [#1] SMP 
[385135.543424] Modules linked in: binfmt_misc nfsv3 nfs_acl nfs lockd grace fscache 8021q garp mrp stp llc ip6table_filter ip6_tables iptable_filter bonding sunrpc ext4 mbcache jbd2 nvidia_drm(POE) nvidia_modes
et(POE) nvidia_uvm(OE) nvidia(POE) iTCO_wdt iTCO_vendor_support snd_hda_codec_hdmi sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel snd_hda_intel aes
ni_intel lrw gf128mul glue_helper snd_hda_codec ablk_helper cryptd intel_wmi_thunderbolt pcspkr snd_hda_core snd_hwdep snd_seq snd_seq_device snd_pcm joydev lpc_ich i2c_i801 snd_timer ipmi_ssif mei_me snd mei sg
 ioatdma soundcore ipmi_si ipmi_devintf ipmi_msghandler acpi_power_meter acpi_pad tcp_htcp ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic ast drm_kms_helper syscopyarea
[385135.543434]  sysfillrect sysimgblt fb_sys_fops ttm mxm_wmi ixgbe drm igb ahci crct10dif_pclmul crct10dif_common crc32c_intel libahci mdio ptp pps_core libata i2c_algo_bit dca megaraid_sas drm_panel_orientati
on_quirks nfit libnvdimm wmi dm_mirror dm_region_hash dm_log dm_mod fuse
[385135.543437] CPU: 4 PID: 9026 Comm: python Kdump: loaded Tainted: P           OE  ------------   3.10.0-1160.76.1.el7.x86_64 #1
[385135.543438] Hardware name: Supermicro SYS-7048GR-TR/X10DRG-Q, BIOS 2.0b 07/26/2017
[385135.543438] task: ffff8a504650c200 ti: ffff8a3ba1350000 task.ti: ffff8a3ba1350000
[385135.543440] RIP: 0010:[<ffffffffa95978c6>]  [<ffffffffa95978c6>] memcpy+0x6/0x110
[385135.543441] RSP: 0018:ffff8a3ba13535e8  EFLAGS: 00010246
[385135.543442] RAX: ffffb4f11c10ea00 RBX: ffff8a33b4d068d8 RCX: 0000000000000800
[385135.543443] RDX: 0000000000000800 RSI: ffff8a447c7e0008 RDI: ffffb4f11c10ea00
[385135.543443] RBP: ffff8a3ba13535f0 R08: 0000000000000000 R09: 0000000000000000
[385135.543444] R10: 0000000000000000 R11: ffff8a507bef7008 R12: 0000000000000005
[385135.543444] R13: ffff8a31141cc008 R14: ffff8a31accd8008 R15: ffff8a447c7e0010
[385135.543446] FS:  00007f0e7c991700(0000) GS:ffff8a307f900000(0000) knlGS:0000000000000000
[385135.543446] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[385135.543447] CR2: ffffb4f11c10ea00 CR3: 00000029133ba000 CR4: 00000000003607e0
[385135.543448] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[385135.543449] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[385135.543449] Call Trace:
[385135.543592]  [<ffffffffc1591e00>] ? os_mem_copy+0x10/0x20 [nvidia]
[385135.543731]  [<ffffffffc196d7d8>] _nv010127rm+0x58/0x100 [nvidia]    <====
[385135.543866]  [<ffffffffc196da71>] ? _nv010108rm+0xd1/0x1c0 [nvidia]
[385135.544001]  [<ffffffffc196c0e7>] ? _nv020099rm+0x197/0x270 [nvidia]
[385135.544121]  [<ffffffffc1c26afd>] ? _nv034805rm+0x7dd/0xb80 [nvidia]
[385135.544250]  [<ffffffffc1c280b3>] ? _nv034824rm+0x243/0x2e0 [nvidia]
[385135.544382]  [<ffffffffc1c28085>] ? _nv034824rm+0x215/0x2e0 [nvidia]
[385135.544508]  [<ffffffffc1c7209b>] ? _nv039307rm+0x6b/0xa0 [nvidia]
[385135.544617]  [<ffffffffc1c7206f>] ? _nv039307rm+0x3f/0xa0 [nvidia]
[385135.544725]  [<ffffffffc1c7f860>] ? _nv012075rm+0x30/0x60 [nvidia]
[385135.544863]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.544988]  [<ffffffffc1bc6a50>] ? _nv011399rm+0x70/0x150 [nvidia]
[385135.545124]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.545258]  [<ffffffffc1b43b52>] ? _nv033712rm+0xb2/0x1e0 [nvidia]
[385135.545390]  [<ffffffffc1b63fb7>] ? _nv011256rm+0x47/0xc0 [nvidia]
[385135.545528]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.545614]  [<ffffffffc169f7c1>] ? _nv009509rm+0x101/0x160 [nvidia]
[385135.545751]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.545872]  [<ffffffffc1c0f151>] ? _nv012317rm+0x2b1/0x4c0 [nvidia]
[385135.546009]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.546130]  [<ffffffffc1c06b79>] ? _nv012362rm+0x259/0x310 [nvidia]
[385135.546269]  [<ffffffffc19bc959>] ? _nv035217rm+0x109/0x220 [nvidia]
[385135.546356]  [<ffffffffc16a0606>] ? _nv014386rm+0x36/0xf0 [nvidia]
[385135.546440]  [<ffffffffc16967f7>] ? _nv015322rm+0x137/0x380 [nvidia]
[385135.546576]  [<ffffffffc19b12c0>] ? _nv022064rm+0x90/0x1b0 [nvidia]
[385135.546714]  [<ffffffffc19d24f1>] ? _nv022065rm+0x21/0x40 [nvidia]
[385135.546804]  [<ffffffffc1ec5fb8>] ? _nv000689rm+0x1a8/0x2e0 [nvidia]
[385135.546882]  [<ffffffffc1ec6590>] ? _nv000638rm+0x4a0/0x2030 [nvidia]
[385135.546962]  [<ffffffffc1ebf105>] ? rm_init_adapter+0xc5/0xe0 [nvidia]
[385135.547007]  [<ffffffffc1583637>] ? nv_open_device+0x547/0x870 [nvidia]
[385135.547051]  [<ffffffffc1583cde>] ? nvidia_open+0x37e/0x590 [nvidia]
[385135.547099]  [<ffffffffc15971c8>] ? nvidia_frontend_open+0x58/0xb0 [nvidia]
[385135.547102]  [<ffffffffa9453a75>] ? chrdev_open+0xb5/0x1b0
[385135.547104]  [<ffffffffa944bce2>] ? do_dentry_open+0x1e2/0x2d0
[385135.547108]  [<ffffffffa9508e62>] ? security_inode_permission+0x22/0x30
[385135.547110]  [<ffffffffa94539c0>] ? cdev_put+0x30/0x30
[385135.547111]  [<ffffffffa944be6a>] ? vfs_open+0x5a/0xb0
[385135.547113]  [<ffffffffa945a193>] ? may_open+0xa3/0x120
[385135.547114]  [<ffffffffa945e066>] ? do_last+0x1f6/0x1340
[385135.547116]  [<ffffffffa945f27d>] ? path_openat+0xcd/0x5a0
[385135.547117]  [<ffffffffa94613a2>] ? user_path_at_empty+0x72/0xc0
[385135.547118]  [<ffffffffa944b16a>] ? __check_object_size+0x1ca/0x250
[385135.547119]  [<ffffffffa94614cd>] ? do_filp_open+0x4d/0xb0
[385135.547122]  [<ffffffffa946f617>] ? __alloc_fd+0x47/0x170
[385135.547123]  [<ffffffffa944d3a4>] ? do_sys_open+0x124/0x220
[385135.547125]  [<ffffffffa944d4be>] ? SyS_open+0x1e/0x20
[385135.547127]  [<ffffffffa999a226>] ? tracesys+0xa6/0xcc
[385135.547145] Code: cb a9 31 c0 e8 cc 5f d0 ff 0f ae e8 0f 31 48 c1 e2 20 89 c0 48 09 c2 48 31 d3 e9 7b ff ff ff 90 90 90 90 90 90 48 89 f8 48 89 d1 <f3> a4 c3 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 20 4c 8b 06 4c 8b 
[385135.547148] RIP  [<ffffffffa95978c6>] memcpy+0x6/0x110  <=== [Panic function]
[385135.547148]  RSP <ffff8a3ba13535e8>
[385135.547149] CR2: ffffb4f11c10ea00

Environment

  • Red Hat Enterprise Linux 7.9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content