因为一个无效的内存访问,函数 select_task_rq_fair() 导致内核崩溃
Issue
- 内核崩溃并带有以下调用追踪信息:
BUG: unable to handle kernel paging request at fffffbff81b2f164
IP: [<ffffffff810cd518>] select_task_rq_fair+0x188/0x700
PGD 0
Oops: 0000 [#1] SMP
Modules linked in: ip6_tables iptable_filter tcp_diag udp_diag inet_diag unix_diag af_packet_diag netlink_diag joydev mpt3sas mpt2sas raid_class scsi_transport_sas mptctl mptbase dell_rbu iTCO_wdt sb_edac iTCO_vendor_support edac_core mxm_wmi dcdbas intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel mgag200 lrw ipmi_ssif gf128mul glue_helper ttm ablk_helper cryptd drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ipmi_si ipmi_devintf drm pcspkr ipmi_msghandler sg mei_me mei lpc_ich shpchp wmi acpi_power_meter binfmt_misc nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables ext4 mbcache jbd2 dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c sr_mod cdrom sd_mod crc_t10dif crct10dif_generic igb ahci
i2c_algo_bit crct10dif_pclmul crct10dif_common i40e libahci i2c_core crc32c_intel ptp libata megaraid_sas dca pps_core dm_mirror dm_region_hash dm_log dm_mod [last unloaded: usb_storage]
CPU: 64 PID: 22763 Comm: logstash Not tainted 3.10.0-693.21.1.el7.x86_64 #1
Hardware name: Dell Inc. PowerEdge R730xd/072T6D, BIOS 2.8.0 005/17/2018
task: ffff883f5c391fa0 ti: ffff883f79220000 task.ti: ffff883f79220000
RIP: 0010:[<ffffffff810cd518>] [<ffffffff810cd518>] select_task_rq_fair+0x188/0x700
RSP: 0018:ffff883f79223df8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff887f7de40000
RDX: 0000000000018a40 RSI: 0000000000000000 RDI: 0000000000000003
RBP: ffff883f79223e80 R08: ffff8801259c0418 R09: 0000000000000003
R10: ffff883f72602f70 R11: 7468000000000000 R12: ffff8801259c0418
R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000000
FS: 00007f951beec740(0000) GS:ffff883f7ee00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffbff81b2f164 CR3: 0000003f7895a000 CR4: 00000000003607e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
[<ffffffff810c7f52>] wake_up_new_task+0x52/0x190
[<ffffffff81089f41>] do_fork+0xf1/0x320
[<ffffffff8108a1f6>] SyS_clone+0x16/0x20
[<ffffffff816c0ad4>] stub_clone+0x44/0x70
[<ffffffff816c0715>] ? system_call_fastpath+0x1c/0x21
Code: 18 45 19 ed 41 bf ff ff ff ff 4c 89 75 b8 31 db 45 89 fe 44 8b 7d a8 eb 12 66 2e 0f 1f 84 00 00 00 00 00 e8 fb ee ff ff 48 01 c3 <48> 63 35 45 1c a6 00 41 8d 56 01 4c 89 e7 48 63 d2 e8 c2 fa 26
RIP [<ffffffff810cd518>] select_task_rq_fair+0x188/0x700
RSP <ffff883f79223df8>
CR2: fffffbff81b2f164
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.