[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.16 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
The kernel OOPS is easily reproducable with the following c program and kernel 4.13.0-31-generic ``` #include #include/* For SYS_xxx definitions */ int main(void) { syscall(999); } ``` $ gcc test.c -o test $ ./test Killed $ dmesg ``` [ 1554.968904] Oops: 0011 [#3] SMP PTI [ 1554.969159] Modules linked in: ppdev joydev input_leds serio_raw parport_pc parport vboxguest video ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd psmouse ahci libahci e1000 [ 1554.971175] CPU: 0 PID: 5255 Comm: test Tainted: G D 4.13.0-31-generic #34~16.04.1-Ubuntu [ 1554.971723] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006 [ 1554.972261] task: 9eb519219740 task.stack: b0868595 [ 1554.972578] RIP: 0010:0x4005b0 [ 1554.972823] RSP: 0018:b08685953f50 EFLAGS: 00010202 [ 1554.973114] RAX: 03e7 RBX: RCX: 7fa18e0204d9 [ 1554.973445] RDX: RSI: 7ffca2252c48 RDI: 7ffca2252c38 [ 1554.973776] RBP: R08: 7fa18e2f9ab0 R09: 00400540 [ 1554.974107] R10: 004005b0 R11: 9eb519219740 R12: [ 1554.974438] R13: R14: R15: [ 1554.974797] FS: 7fa18e505700() GS:9eb51fc0() knlGS: [ 1554.975296] CS: 0010 DS: ES: CR0: 80050033 [ 1554.975621] CR2: 004005b0 CR3: 000117264000 CR4: 000406f0 [ 1554.975955] Call Trace: [ 1554.976206] ? entry_SYSCALL_64_fastpath+0x33/0xa3 [ 1554.976508] Code: Bad RIP value. [ 1554.976762] RIP: 0x4005b0 RSP: b08685953f50 [ 1554.977039] CR2: 004005b0 [ 1554.977293] ---[ end trace 34538f23cc948433 ]--- ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: elasticsearch (Ubuntu Artful) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: elasticsearch (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
Just confirming this bug with the same exact versions in Linux Mint: Elasticsearch 2.4.6 + kernel 4.13.0-31-generic #34~16.04.1-Ubuntu syslog Jan 25 00:42:34 DevExMachina systemd[1]: Starting Elasticsearch... Jan 25 00:42:34 DevExMachina systemd[1]: Started Elasticsearch. Jan 25 00:42:35 DevExMachina kernel: [120549.349622] BUG: unable to handle kernel paging request at 06987877 Jan 25 00:42:35 DevExMachina kernel: [120549.350743] IP: 0x6987877 Jan 25 00:42:35 DevExMachina kernel: [120549.351867] PGD 8000b25e1067 Jan 25 00:42:35 DevExMachina kernel: [120549.351867] P4D 8000b25e1067 Jan 25 00:42:35 DevExMachina kernel: [120549.351867] PUD 789bc067 Jan 25 00:42:35 DevExMachina kernel: [120549.351868] PMD 0 Jan 25 00:42:35 DevExMachina kernel: [120549.351868] Jan 25 00:42:35 DevExMachina kernel: [120549.351869] Oops: 0010 [#12] SMP PTI Jan 25 00:42:35 DevExMachina kernel: [120549.351871] Modules linked in: binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp snd_hda_codec kvm_intel snd_hda_core kvm snd_hwdep irqbypass snd_pcm crct10dif_pclmul gpio_ich snd_seq_midi crc32_pclmul snd_seq_midi_event ghash_clmulni_intel snd_rawmidi pcbc snd_seq aesni_intel ipmi_si aes_x86_64 crypto_simd glue_helper cryptd ipmi_devintf snd_seq_device snd_timer intel_cstate hp_wmi input_leds joydev ipmi_msghandler intel_rapl_perf serio_raw sparse_keymap wmi_bmof snd soundcore mei_me mei shpchp lpc_ich tpm_infineon mac_hid parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq hid_generic usbhid hid dm_mirror dm_region_hash dm_log i915 video i2c_algo_bit drm_kms_helper syscopyarea sysfillrect e1000e Jan 25 00:42:35 DevExMachina kernel: [120549.351895] sysimgblt ahci fb_sys_fops psmouse drm libahci ptp pps_core wmi Jan 25 00:42:35 DevExMachina kernel: [120549.351899] CPU: 1 PID: 15290 Comm: java Tainted: G D 4.13.0-31-generic #34~16.04.1-Ubuntu Jan 25 00:42:35 DevExMachina kernel: [120549.351900] Hardware name: Hewlett-Packard HP Compaq 8200 Elite SFF PC/1495, BIOS J01 v02.15 11/10/2011 Jan 25 00:42:35 DevExMachina kernel: [120549.351900] task: 9d249c8bdd00 task.stack: b51c04064000 Jan 25 00:42:35 DevExMachina kernel: [120549.351901] RIP: 0010:0x6987877 Jan 25 00:42:35 DevExMachina kernel: [120549.351902] RSP: 0018:b51c04067f50 EFLAGS: 00010202 Jan 25 00:42:35 DevExMachina kernel: [120549.351902] RAX: 03e7 RBX: RCX: 7fd744b314d9 Jan 25 00:42:35 DevExMachina kernel: [120549.351903] RDX: 7fd73c5e9830 RSI: 4d73aa93 RDI: Jan 25 00:42:35 DevExMachina kernel: [120549.351903] RBP: R08: 7fd743f97b64 R09: 000c Jan 25 00:42:35 DevExMachina kernel: [120549.351904] R10: 06987877 R11: 9d249c8bdd00 R12: Jan 25 00:42:35 DevExMachina kernel: [120549.351904] R13: R14: R15: Jan 25 00:42:35 DevExMachina kernel: [120549.351905] FS: 7fd74562c700() GS:9d256e24() knlGS: Jan 25 00:42:35 DevExMachina kernel: [120549.351906] CS: 0010 DS: ES: CR0: 80050033 Jan 25 00:42:35 DevExMachina kernel: [120549.351906] CR2: 06987877 CR3: 55dbe004 CR4: 000606e0 Jan 25 00:42:35 DevExMachina kernel: [120549.351907] Call Trace: Jan 25 00:42:35 DevExMachina kernel: [120549.351913] ? entry_SYSCALL_64_fastpath+0x33/0xa3 Jan 25 00:42:35 DevExMachina kernel: [120549.351914] Code: Bad RIP value. Jan 25 00:42:35 DevExMachina kernel: [120549.351915] RIP: 0x6987877 RSP: b51c04067f50 Jan 25 00:42:35 DevExMachina kernel: [120549.351915] CR2: 06987877 Jan 25 00:42:35 DevExMachina kernel: [120549.351934] ---[ end trace fc665251d9746e58 ]--- journalctl -xe ene 25 00:44:51 DevExMachina systemd[1]: Starting Elasticsearch... -- Subject: Unit elasticsearch.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit elasticsearch.service has begun starting up. ene 25 00:44:51 DevExMachina systemd[1]: Started Elasticsearch. -- Subject: Unit elasticsearch.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit elasticsearch.service has finished starting up. -- -- The start-up result is done. ene 25 00:44:51 DevExMachina kernel: BUG: unable to handle kernel paging request at 06987877 ene 25 00:44:51 DevExMachina kernel: IP: 0x6987877 ene 25 00:44:51 DevExMachina kernel: PGD 8000349a2067 ene 25 00:44:51 DevExMachina kernel: P4D 8000349a2067 ene 25 00:44:51 DevExMachina kernel: PUD b25ed067 ene 25 00:44:51 DevExMachina kernel: PMD 0 ene 25 00:44:51 DevExMachina kernel: ene 25
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
ElasticSearch doens't log anything itself. There's just this in journalctl -xe -- Unit elasticsearch.service has begun starting up. Jan 24 18:34:26 logness systemd[1]: Started Elasticsearch. -- Subject: Unit elasticsearch.service has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit elasticsearch.service has finished starting up. -- -- The start-up result is done. Jan 24 18:34:27 logness kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 111) Jan 24 18:34:27 logness kernel: BUG: unable to handle kernel paging request at 7f8429f767a0 Jan 24 18:34:27 logness kernel: IP: 0x7f8429f767a0 Jan 24 18:34:27 logness kernel: PGD 800136028067 Jan 24 18:34:27 logness kernel: P4D 800136028067 Jan 24 18:34:27 logness kernel: PUD 139ea5067 Jan 24 18:34:27 logness kernel: PMD 139f07067 Jan 24 18:34:27 logness kernel: PTE 800109a6f867 Jan 24 18:34:27 logness kernel: Jan 24 18:34:27 logness kernel: Oops: 0011 [#9] SMP PTI Jan 24 18:34:27 logness kernel: Modules linked in: ppdev snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep input_leds snd_pcm joydev serio_raw snd_timer snd i2c_piix4 soundcore Jan 24 18:34:27 logness kernel: linear hid_generic usbhid hid qxl ttm drm_kms_helper syscopyarea sysfillrect psmouse virtio_blk virtio_net sysimgblt fb_sys_fops drm pata_acpi floppy Jan 24 18:34:27 logness kernel: CPU: 0 PID: 2305 Comm: java Tainted: G D 4.13.0-31-generic #34~16.04.1-Ubuntu Jan 24 18:34:27 logness kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014 Jan 24 18:34:27 logness kernel: task: 984ff604d800 task.stack: ac7b41dfc000 Jan 24 18:34:27 logness kernel: RIP: 0010:0x7f8429f767a0 Jan 24 18:34:27 logness kernel: RSP: 0018:ac7b41dfff50 EFLAGS: 00010202 Jan 24 18:34:27 logness kernel: RAX: 03e7 RBX: RCX: 7f84298884d9 Jan 24 18:34:27 logness kernel: RDX: 7f8429f76f50 RSI: 7f8429f77030 RDI: Jan 24 18:34:27 logness kernel: RBP: R08: R09: 000c Jan 24 18:34:27 logness kernel: R10: 7f8429f767a0 R11: 984ff604d800 R12: Jan 24 18:34:27 logness kernel: R13: R14: R15: Jan 24 18:34:27 logness kernel: FS: 7f8429f78700() GS:984fffc0() knlGS: Jan 24 18:34:27 logness kernel: CS: 0010 DS: ES: CR0: 80050033 Jan 24 18:34:27 logness kernel: CR2: 7f8429f767a0 CR3: 000136022000 CR4: 06f0 Jan 24 18:34:27 logness kernel: Call Trace: Jan 24 18:34:27 logness kernel: ? entry_SYSCALL_64_fastpath+0x33/0xa3 Jan 24 18:34:27 logness kernel: Code: Bad RIP value. Jan 24 18:34:27 logness kernel: RIP: 0x7f8429f767a0 RSP: ac7b41dfff50 Jan 24 18:34:27 logness kernel: CR2: 7f8429f767a0 Jan 24 18:34:27 logness kernel: ---[ end trace 2b5dfc9417bb8d5f ]--- ** Also affects: elasticsearch (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/elasticsearch/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1745123] Re: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI
** Changed in: linux (Ubuntu) Importance: Undecided => High ** Tags added: kernel-da-key pti ** Also affects: linux (Ubuntu Artful) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Status: Incomplete => Triaged ** Changed in: linux (Ubuntu Artful) Status: New => Triaged ** Changed in: linux (Ubuntu Artful) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1745123 Title: Elasticsearch 2.4.6 cause a Oops: 0010 [#37] SMP NOPTI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745123/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs