Skip to content

EPTP Violations while subverting KSM #32

@WedanEmmanuel

Description

@WedanEmmanuel

Type of this issue (please specify)

  • [x ] This is a bug in the upstream tree as-is unmodified.
  • This is a support matter (i.e. your own modified tree)
  • This is a technical question

System information

  1. CPU: i7-4770
  2. Kernel: Linux
  3. Kernel version: 4.9

I have been trying to deploy KSM on my desktop using Linux kernel 4.9.
I actually manage to load the module but while subverting it, i get a lot of troubles.
-Sometimes it works (rarely)
-When it crushes, I have an exit with (see exit.c):
- Exit reason 10,
- exit reason 48
- Triple fault

  • kernel panic
    128.232471] ksm: CPU 7: ksm_open: open() from a.out
    [ 128.237388] ksm: CPU 7: ksm_ioctl: ioctl from a.out: cmd(0x00004B02)
    [ 129.194462] ksm: CPU 0: __ksm_init_cpu: swapper/0: Started: 1
    [ 129.200279] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=0
    [ 129.414808] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=48
    [ 129.420264] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=48
    [ 130.012442] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=48
    [ 130.017919] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=48
    [ 130.023348] ksm: CPU 0: vcpu_handle_exit: exit 48 prev=48
    [ 130.152079] ksm: CPU 1: __ksm_init_cpu: swapper/1: Started: 1
    [ 130.157905] ksm: CPU 1: vcpu_handle_exit: exit 48 prev=0
    [ 130.163337] ksm: CPU 1: vcpu_handle_exit: exit 2 prev=48
    [ 130.168676] Kernel panic - not syncing: bugcheck 00000000CCDDFF11 0000000033DDE83A 0x0000000000000002 0x0000000000000030
    [ 130.168676]
    [ 130.181083] CPU: 1 PID: 316 Comm: systemd-journal Tainted: G OE 4.9.260+ Crashing on Windows 10 vm #1
    [ 130.189125] Hardware name: Dell Inc. Precision T1700/073MMW, BIOS A08 04/25/2014
    [ 130.196558] ffff9b1457a0de68 ffffffff8949496b ffff9b1457a0c000 ffffffffc04c7020
    [ 130.204032] ffff9b1457a0dee8 ffffffff89492e82 00007ffd00000028 ffff9b1457a0def8
    [ 130.211507] ffff9b1457a0de90 ffffffff88ce2559 00000000ccddff11 0000000033dde83a
    [ 130.218980] Call Trace:
    [ 130.221457] ksm: CPU 0: vcpu_handle_exit: exit 10 prev=48
    [ 131.165855] ksm: CPU 2: __ksm_init_cpu: swapper/2: Started: 1
    [ 131.171642] ------------[ cut here ]------------
    [ 131.176283] WARNING: CPU: 2 PID: 0 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x40/0x50
    [ 131.185462] Modules linked in: ksmlinux(OE) nls_iso8859_1 nouveau snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp i915 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec crct10dif_pclmul ghash_clmulni_intel snd_hda_core snd_hwdep aesni_intel snd_pcm aes_x86_64 lrw glue_helper ablk_helper mxm_wmi dcdbas cryptd wmi dell_smm_hwmon snd_seq_midi intel_cstate input_leds ttm snd_seq_midi_event snd_rawmidi snd_seq drm_kms_helper intel_rapl_perf serio_raw snd_seq_device snd_timer i2c_algo_bit snd mei_me fb_sys_fops mei syscopyarea sysfillrect sysimgblt soundcore video mac_hid sch_fq_codel[ 131.241858] Shutting down cpus with NMI
    [ 131.241869] Kernel Offset: 0x7c00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
    [ 131.241871] ksm: CPU 2: vcpu_handle_exit: exit 10 prev=0
    [ 131.322523] ---[ end Kernel panic - not syncing: bugcheck 00000000CCDDFF11 0000000033DDE83A 0x0000000000000002 0x0000000000000030
    [ 131.322523]

KSM path: https://github.com/asamy/ksm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions