The kernel crashes in sosreport task's context upon reading 'port_speed' sysfs node provided from the kernel inbox qla2xxx driver in qla2x00_port_speed_show()
Issue
- The kernel crashes in sosreport task's context upon reading 'port_speed' sysfs node provided from the kernel inbox qla2xxx driver in qla2x00_port_speed_show()
[18105.290105] BUG: unable to handle kernel paging request at 0000000000004000
[18105.290762] PGD 0 P4D 0
[18105.291254] Oops: 0000 [#1] SMP PTI
[18105.291704] CPU: 15 PID: 455213 Comm: sosreport Kdump: loaded Not tainted 4.18.0-305.7.1.el8_4.x86_64 #1
[18105.292165] Hardware name: Oracle Corporation ORACLE SERVER X5-4/ASSY,MB WITH TRAY, BIOS 36080200 12/10/2020
[18105.292606] RIP: 0010:string_nocheck+0x12/0x70
[18105.293101] Code: 00 00 4c 89 e2 be 20 00 00 00 48 89 ef e8 86 9a 00 00 4c 01 e3 eb 81 90 49 89 f2 48 89 ce 48 89 f8 48 c1 fe 30 66 85 f6 74 4f <44> 0f b6 0a 45 84 c9 74 46 83 ee 01 41 b8 01 00 00 00 48 8d 7c 37
[18105.294107] RSP: 0018:ffffb5141c1afcf0 EFLAGS: 00010286
[18105.294575] RAX: ffff8bf4009f8000 RBX: ffff8bf4009f9000 RCX: ffff0a00ffffff04
[18105.295118] RDX: 0000000000004000 RSI: ffffffffffffffff RDI: ffff8bf4009f8000
[18105.295617] RBP: 0000000000004000 R08: 0000000000000001 R09: ffffb5141c1afb84
[18105.296176] R10: ffff8bf4009f9000 R11: ffffb5141c1afce6 R12: ffff0a00ffffff04
[18105.296708] R13: ffffffffc08e21aa R14: 0000000000001000 R15: ffffffffc08e21aa
[18105.297258] FS: 00007fc4ebfff700(0000) GS:ffff8c717f7c0000(0000) knlGS:0000000000000000
[18105.297825] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[18105.298359] CR2: 0000000000004000 CR3: 000000edfdee6006 CR4: 00000000001706e0
[18105.298943] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[18105.299470] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[18105.300018] Call Trace:
[18105.300540] string+0x40/0x50
[18105.301100] vsnprintf+0x33c/0x520
[18105.301597] scnprintf+0x4d/0x90
[18105.302203] qla2x00_port_speed_show+0xb5/0x100 [qla2xxx]
[18105.302732] dev_attr_show+0x1c/0x40
[18105.303281] sysfs_kf_seq_show+0x9b/0x100
[18105.303814] seq_read+0x153/0x410
[18105.304343] vfs_read+0x91/0x140
[18105.304879] ksys_read+0x4f/0xb0
[18105.305418] do_syscall_64+0x5b/0x1a0
[18105.305937] entry_SYSCALL_64_after_hwframe+0x65/0xca
[18105.306431] RIP: 0033:0x7fc4fef5c8e4
[18105.306983] Code: c3 0f 1f 44 00 00 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 7b fc ff ff 4c 89 e2 48 89 ee 89 df 41 89 c0 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 38 44 89 c7 48 89 44 24 08 e8 b7 fc ff ff 48
[18105.308120] RSP: 002b:00007fc4ebffc5e0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[18105.308637] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007fc4fef5c8e4
[18105.309229] RDX: 0000000000004000 RSI: 00007fc4e002b740 RDI: 0000000000000005
[18105.309797] RBP: 00007fc4e002b740 R08: 0000000000000000 R09: 00007fc4ff37d36c
[18105.310399] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000004000
[18105.311011] R13: 0000000000000005 R14: 00007fc4e002b740 R15: 00007fc4e4002380
[18105.311588] Modules linked in: overlay mptcp_diag xsk_diag tcp_diag udp_diag raw_diag inet_diag unix_diag af_packet_diag netlink_diag nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nf_tables_set nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink sunrpc intel_rapl_msr intel_rapl_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp iTCO_wdt iTCO_vendor_support kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel ipmi_ssif rapl intel_cstate intel_uncore pcspkr lpc_ich joydev ioatdma i2c_i801 acpi_ipmi wmi ipmi_si ipmi_devintf ipmi_msghandler binfmt_misc ip_tables xfs libcrc32c sr_mod cdrom sd_mod sg uas usb_storage qla2xxx mgag200 drm_kms_helper syscopyarea sysfillrect nvme_fc sysimgblt fb_sys_fops nvme_fabrics crc32c_intel drm ixgbe nvme_core ahci libahci mdio t10_pi libata dca megaraid_sas scsi_transport_fc i2c_algo_bit dm_mirror dm_region_hash dm_log dm_mod
[18105.311634] fuse
[18105.317985] Features: eBPF/rawtrace
[18105.318679] CR2: 0000000000004000
Environment
- Red Hat Enterprise Linux 8.4.z
- The kernel inbox qla2xxx driver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.