kernel panic in pcie_config_aspm_link() function due to involvement of third party kernel module [veloce_driver]

Solution Unverified - Updated -

Issue

  • Kernel panic occurred at pcie_config_aspm_link() function due to 3rd party module [veloce_driver]
  • Kernel panics with following messages:
[   44.095748] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[   44.095776] IP: [<ffffffff8137ef74>] pcie_config_aspm_link+0x24/0x110
[   44.095798] PGD 0 
[   44.095806] Oops: 0000 [#1] SMP 
[   44.095818] Modules linked in: veloce_driver(OE) ext4 mbcache jbd2 vfat fat skx_edac edac_core intel_powerclamp coretemp intel_rapl iosf_mbi kvm irqbypass crc32_pclmul ghash_c
lmulni_intel ses pcspkr aesni_intel joydev enclosure lrw sg gf128mul glue_helper hpwdt ablk_helper cryptd hpilo ipmi_si ipmi_devintf ipmi_msghandler wmi lpc_ich mei_me mei shpchp
 acpi_power_meter nfsd auth_rpcgss binfmt_misc nfs_acl lockd grace sunrpc ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic uas usb_storage mgag200 i2c_algo_bit drm_kms
_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm crct10dif_pclmul crct10dif_common crc32c_intel i40e drm smartpqi tg3 scsi_transport_sas ptp i2c_core pps_core dm_mirror dm_region_hash dm_log dm_mod
[   44.096052] CPU: 10 PID: 4857 Comm: veloce57 Tainted: G        W  OE  ------------   3.10.0-693.21.1.el7.x86_64 #1
[   44.096075] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 09/29/2022
[   44.096094] task: ffff887f392f0fd0 ti: ffff883f352ac000 task.ti: ffff883f352ac000
[   44.096111] RIP: 0010:[<ffffffff8137ef74>]  [<ffffffff8137ef74>] pcie_config_aspm_link+0x24/0x110
[   44.096135] RSP: 0018:ffff883f352afc80  EFLAGS: 00010282
[   44.096149] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000003e80
[   44.096165] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff884066d2e900
[   44.096181] RBP: ffff883f352afcb8 R08: ffff884066d2e29c R09: 00000001802a0018
[   44.096198] R10: 0000000038e98c01 R11: ffffea00fce3a600 R12: 0000000000000007
[   44.096214] R13: ffff884066d2e900 R14: ffff884066d2e900 R15: ffff887f3cd43c28
[   44.096231] FS:  0000000000000000(0000) GS:ffff88803f880000(0000) knlGS:0000000000000000
[   44.096249] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   44.096263] CR2: 0000000000000018 CR3: 0000000001a02000 CR4: 00000000003607e0
[   44.096279] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   44.096296] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   44.096311] Call Trace:
[   44.096322]  [<ffffffff8137f091>] pcie_config_aspm_path+0x31/0x60
[   44.096338]  [<ffffffff8137ff56>] pcie_aspm_exit_link_state+0xc6/0xd0
[   44.096356]  [<ffffffff8136a5db>] pci_stop_bus_device+0x6b/0xa0
[   44.096371]  [<ffffffff8136a5ab>] pci_stop_bus_device+0x3b/0xa0
[   44.096386]  [<ffffffff8136a5ab>] pci_stop_bus_device+0x3b/0xa0
[   44.096401]  [<ffffffff8136a5ab>] pci_stop_bus_device+0x3b/0xa0
[   44.096416]  [<ffffffff8136a5ab>] pci_stop_bus_device+0x3b/0xa0
[   44.096430]  [<ffffffff8136a5ab>] pci_stop_bus_device+0x3b/0xa0
[   44.096445]  [<ffffffff8136a702>] pci_stop_and_remove_bus_device+0x12/0x20
[   44.096466]  [<ffffffffc0746ab9>] vdd_renumerate_bus+0x139/0x2b0 [veloce_driver]
[   44.096486]  [<ffffffffc074947e>] vdd_partial_init_buses+0x6e/0xe0 [veloce_driver]
[   44.096504]  [<ffffffffc0750e4d>] vdd_thread_run+0x42d/0x540 [veloce_driver]
[   44.096523]  [<ffffffffc0750a20>] ? vdd_dma_prog+0x410/0x410 [veloce_driver]
[   44.096541]  [<ffffffff810b4031>] kthread+0xd1/0xe0
[   44.096555]  [<ffffffff810b3f60>] ? insert_kthread_work+0x40/0x40
[   44.096572]  [<ffffffff816c055d>] ret_from_fork+0x5d/0xb0
[   44.096585]  [<ffffffff810b3f60>] ? insert_kthread_work+0x40/0x40
[   44.096600] Code: 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 fe 41 55 41 54 53 48 83 ec 10 48 8b 07 0f b6 5f 49 48 89 45 c8 <4c> 8b 60 18 0f b7 47 48 c0 eb 04 83 e3 07 f7 d3 66 c1 e8 06 83 
[   44.097766] RIP  [<ffffffff8137ef74>] pcie_config_aspm_link+0x24/0x110
[   44.098299]  RSP <ffff883f352afc80>
[   44.098824] CR2: 0000000000000018

Environment

  • Red Hat Enterprise Linux 7
  • Third-Party [veloce_driver] kernel module.

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