Kernel panic at save_org_syscall from 3rd party module ScvTOS50Hook
Issue
- Kernel panic with below logs:
[7247306.297210] ScvTOS50Hook: loading out-of-tree module taints kernel.
[7247306.297214] WARNING: module 'ScvTOS50Hook' built without retpoline-enabled compiler, may affect Spectre v2 mitigation
[7247306.300854] ScvTOS50Hook: module verification failed: signature and/or required key missing - tainting kernel
[7247306.306179] INFO : sys_call_table : ffffffff81802dc0
[7247306.306181] INFO : ia32_sys_call_table : ffffffff8180a680
[7247306.306181] INFO : binfmt_formats_p : ffffffff81ca6c40
[7247306.306182] INFO : pMyPhysBase : ffffffff81c18010
[7247306.306183] INFO : Start_Rodata : 0x18446744071587233792
[7247306.306184] INFO : End_Rodata : 0x18446744071590879232
[7247306.306185] INFO : security_ops : 0xffffffff82246020
[7247306.306205] BUG: unable to handle kernel paging request at ffffffff81802fa0
[7247306.306230] IP: [<ffffffffc138dda0>] save_org_syscall+0x10/0x750 [ScvTOS50Hook]
[7247306.306253] PGD c4da14067 PUD c4da15063 PMD 0
[7247306.306268] Oops: 0000 [#1] SMP
[7247306.306279] Modules linked in: ScvTOS50Hook(OE+) binfmt_misc bonding sunrpc dm_mirror dm_region_hash dm_log vfat fat ipmi_ssif sb_edac iTCO_wdt intel_powerclamp iTCO_vendor_support coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel dm_service_time lrw gf128mul glue_helper ablk_helper cryptd pcspkr i2c_i801 lpc_ich hpilo ioatdma ipmi_si pcc_cpufreq hpwdt sg dca wmi ipmi_devintf ipmi_msghandler acpi_power_meter dm_multipath dm_mod ip_tables xfs libcrc32c sr_mod sd_mod cdrom crc_t10dif crct10dif_generic qla2xxx mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci drm libahci tg3 libata crct10dif_pclmul nvme_fc crct10dif_common nvme_fabrics crc32c_intel hpsa nvme_core ptp scsi_transport_fc pps_core drm_panel_orientation_quirks
[7247306.306523] scsi_transport_sas scsi_tgt fuse
[7247306.306536] CPU: 11 PID: 23519 Comm: insmod Kdump: loaded Tainted: G OE ------------ 3.10.0-1160.15.2.el7.x86_64 #1
[7247306.306564] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 04/25/2017
[7247306.306586] task: ffff9f6e3b804200 ti: ffff9f76bf648000 task.ti: ffff9f76bf648000
[7247306.306605] RIP: 0010:[<ffffffffc138dda0>] [<ffffffffc138dda0>] save_org_syscall+0x10/0x750 [ScvTOS50Hook]
[7247306.306632] RSP: 0018:ffff9f76bf64bd20 EFLAGS: 00010246
[7247306.306647] RAX: ffffffff81802dc0 RBX: ffffffffb6818020 RCX: 0000000000000000
[7247306.306665] RDX: ffffffffc324dac8 RSI: 0000000000000286 RDI: 0000000000000286
[7247306.306683] RBP: ffff9f76bf64bd20 R08: ffffffffb5e52930 R09: ffffffffc324db20
[7247306.307462] R10: 000000000ee00000 R11: ffff9f7b59f51200 R12: ffff9f6d36b99ac0
[7247306.308221] R13: ffffffffc083f000 R14: 0000000000000000 R15: ffffffffc1396300
[7247306.308966] FS: 00007f8f598e7740(0000) GS:ffff9f7bff4c0000(0000) knlGS:0000000000000000
[7247306.309725] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[7247306.310481] CR2: ffffffff81802fa0 CR3: 00000001023b2000 CR4: 00000000003607e0
[7247306.311277] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[7247306.312029] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[7247306.312794] Call Trace:
[7247306.313538] [<ffffffffc083f175>] tos_init_module+0x175/0x1000 [ScvTOS50Hook]
[7247306.314335] [<ffffffffb5c0210a>] do_one_initcall+0xba/0x240
[7247306.315106] [<ffffffffb5d1e69a>] load_module+0x271a/0x2bb0
[7247306.315856] [<ffffffffb5fb4770>] ? ddebug_proc_write+0x100/0x100
[7247306.316607] [<ffffffffb5d1a223>] ? copy_module_from_fd.isra.44+0x53/0x150
[7247306.317378] [<ffffffffb5d1ed16>] SyS_finit_module+0xa6/0xd0
[7247306.318143] [<ffffffffb6394f92>] system_call_fastpath+0x25/0x2a
[7247306.318887] Code: 48 c7 c7 c0 da 24 c3 e8 7f 65 00 00 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 0f 1f 44 00 00 48 8b 05 9c fc eb 01 55 48 89 e5 <48> 8b 80 e0 01 00 00 48 89 05 9a 69 f2 01 48 8b 05 7b fc eb 01
[7247306.320521] RIP [<ffffffffc138dda0>] save_org_syscall+0x10/0x750 [ScvTOS50Hook]
[7247306.321328] RSP <ffff9f76bf64bd20>
[7247306.322102] CR2: ffffffff81802fa0
Environment
- Red Hat Enterprise Linux
- 3rd party module
ScvTOS50Hook
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.