The kernel OOPS is easily reproducable with the following c program and kernel 4.13.0-31-generic
``` #include <unistd.h> #include <sys/syscall.h> /* 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: ffff9eb519219740 task.stack: ffffb08685950000 [ 1554.972578] RIP: 0010:0x4005b0 [ 1554.972823] RSP: 0018:ffffb08685953f50 EFLAGS: 00010202 [ 1554.973114] RAX: 00000000000003e7 RBX: 0000000000000000 RCX: 00007fa18e0204d9 [ 1554.973445] RDX: 0000000000000000 RSI: 00007ffca2252c48 RDI: 00007ffca2252c38 [ 1554.973776] RBP: 0000000000000000 R08: 00007fa18e2f9ab0 R09: 0000000000400540 [ 1554.974107] R10: 00000000004005b0 R11: ffff9eb519219740 R12: 0000000000000000 [ 1554.974438] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 1554.974797] FS: 00007fa18e505700(0000) GS:ffff9eb51fc00000(0000) knlGS:0000000000000000 [ 1554.975296] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1554.975621] CR2: 00000000004005b0 CR3: 0000000117264000 CR4: 00000000000406f0 [ 1554.975955] Call Trace: [ 1554.976206] ? entry_SYSCALL_64_fastpath+0x33/0xa3 [ 1554.976508] Code: Bad RIP value. [ 1554.976762] RIP: 0x4005b0 RSP: ffffb08685953f50 [ 1554.977039] CR2: 00000000004005b0 [ 1554.977293] ---[ end trace 34538f23cc948433 ]--- ```
The kernel OOPS is easily reproducable with the following c program and kernel 4.13.0-31-generic
```
#include <unistd.h>
#include <sys/syscall.h> /* For SYS_xxx definitions */
int main(void) {
syscall(999);
}
```
$ gcc test.c -o test
$ ./test
Killed
$ dmesg 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 VirtualBox, BIOS VirtualBox 12/01/2006 953f50 EFLAGS: 00010202 0(0000) GS:ffff9eb51fc0 0000(0000) knlGS:000000000 0000000 64_fastpath+ 0x33/0xa3
```
[ 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_
[ 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/
[ 1554.972261] task: ffff9eb519219740 task.stack: ffffb08685950000
[ 1554.972578] RIP: 0010:0x4005b0
[ 1554.972823] RSP: 0018:ffffb08685
[ 1554.973114] RAX: 00000000000003e7 RBX: 0000000000000000 RCX: 00007fa18e0204d9
[ 1554.973445] RDX: 0000000000000000 RSI: 00007ffca2252c48 RDI: 00007ffca2252c38
[ 1554.973776] RBP: 0000000000000000 R08: 00007fa18e2f9ab0 R09: 0000000000400540
[ 1554.974107] R10: 00000000004005b0 R11: ffff9eb519219740 R12: 0000000000000000
[ 1554.974438] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 1554.974797] FS: 00007fa18e50570
[ 1554.975296] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1554.975621] CR2: 00000000004005b0 CR3: 0000000117264000 CR4: 00000000000406f0
[ 1554.975955] Call Trace:
[ 1554.976206] ? entry_SYSCALL_
[ 1554.976508] Code: Bad RIP value.
[ 1554.976762] RIP: 0x4005b0 RSP: ffffb08685953f50
[ 1554.977039] CR2: 00000000004005b0
[ 1554.977293] ---[ end trace 34538f23cc948433 ]---
```