PAX: RAP hash violation for function pointer: vbox_mode_valid+0x0/0x26 [vboxvideo]
I am trying to use the X server on a alpine 3.7 x86_64 guest on a CentOS-7 x86_64 host with VirtualBox-5.1-5.1.30_118389_el7-1.x86_64.
ref: https://wiki.alpinelinux.org/wiki/VirtualBox\_guest\_additions
alpine:$ uname -a$ sudo apk update
Linux alpine 4.9.65-1-hardened #2-Alpine SMP Mon Nov 27 15:36:10 GMT
2017 x86_64 Linux
alpine:
fetch
http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86\_64/APKINDEX.tar.gz
fetch
http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86\_64/APKINDEX.tar.gz
v3.7.0-111-gb96041de
[http://dl-cdn.alpinelinux.org/alpine/v3.7/main\]
v3.7.0-117-g9584b230
[http://dl-cdn.alpinelinux.org/alpine/v3.7/community\]
OK: 9126 distinct packages available
alpine:$ sudo apk upgrade$ apk info virtualbox-guest-additions
virtualbox-guest-modules-hardened
OK: 1326 MiB in 397 packages
alpine:
virtualbox-guest-additions-5.1.30-r0 description:
VirtualBox Addtions userland components
virtualbox-guest-additions-5.1.30-r0 webpage:
http://virtualbox.org
virtualbox-guest-additions-5.1.30-r0 installed size:
1785856
virtualbox-guest-modules-hardened-4.9.65-r1 description:
VirtualBox Additions guest kernel modules for hardened
virtualbox-guest-modules-hardened-4.9.65-r1 webpage:
http://virtualbox.org
virtualbox-guest-modules-hardened-4.9.65-r1 installed size:
806912
alpine:~$ cat /etc/modules
af_packet
vboxpci
vboxdrv
vboxnetflt
dmesg:
[ 2.464721] PAX: RAP hash violation for function pointer:
vbox_mode_valid+0x0/0x26 [vboxvideo]
[ 2.465428] PAX: overwritten function pointer detected: 0000 [#1]
SMP
[ 2.465841] Modules linked in: af_packet mousedev crct10dif_pclmul
ghash_clmulni_intel ppdev vboxvideo(O)
aesni_intel ttm aes_x86_64 snd_intel8x0 drm_kms_helper lrw
gf128mul glue_helper ablk_helper snd_ac97_codec cryptd
intel_rapl_perf pcspkr snd_pcm drm snd_timer fb_sys_fops psmouse
syscopyarea sysfillrect snd sysimgblt soundcore intel_agp ac97_bus
i2c_piix4 i2c_core intel_gtt button evdev input_leds serio_raw
battery vboxguest(O) ac floppy() agpgart tpm_tis tpm_tis_core
parport_pc video parport tpm fjes sr_mod cdrom crc32_pclmul
crc32c_intel ahci libahci ohci_pci ohci_hcd ata_generic pata_acpi
ata_piix libata virtio_net virtio_pci virtio_ring virtio loop ext4
crc16 jbd2 mbcache usb_storage sd_mod scsi_mod
[ 2.477247] CPU: 0 PID: 1314 Comm: udevd Tainted: G W O
4.9.65-1-hardened #2-Alpine
[ 2.477900] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS
VirtualBox 12/01/2006
[ 2.478575] task: ffff88007ee10000 task.stack: ffffc90002080000
[ 2.478979] RIP: 0010:[] []
drm_helper_probe_single_connector_modes+0x63d/0x647
[drm_kms_helper]
[ 2.479898] RSP: 0018:ffffc90002083918 EFLAGS: 00000216
[ 2.480340] RAX: ffffffffa06bc529 RBX: ffff88007c67f000 RCX:
ffffffffa0600f9f
[ 2.480783] RDX: 8000000000000000 RSI: 0000000000004000 RDI:
ffff880079e40000
[ 2.481210] RBP: ffffc90002083960 R08: ffff880079e40700 R09:
0000000000008ca0
[ 2.481673] R10: ffff88007c67f088 R11: ffff88007c583280 R12:
ffff88007c67f088
[ 2.482100] R13: ffff88007ef81000 R14: 0000000000000000 R15:
ffff880079e40000
[ 2.482580] FS: 0000678140133b88(0000) GS:ffff88007f200000(0000)
knlGS:0000000000000000
[ 2.483217] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.483652] CR2: 0000000000000000 CR3: 000000007f902000 CR4:
00000000000406b0
[ 2.484122] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 2.484566] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 2.485072] Stack:
[ 2.485429] 000000007f946600 0000400000004000 ffffffffa06bf420
ffff880000000003
[ 2.486501] ffff88007c67f088 ffff88007c67f088 ffff88007ef81000
ffff88007c67f088
[ 2.487682] ffff88007c67f000 ffffc900020839a0 ffffffffa06bcf14
00004000a061292a
[ 2.488812] Call Trace:
[ 2.489147] [] ? vbox_connector_funcs+0x80/0x80
[vboxvideo]
[ 2.489818] [] vbox_fill_modes+0x81/0xab
[vboxvideo]
[ 2.490262] []
drm_fb_helper_probe_connector_modes+0x6f/0xa3
[drm_kms_helper]
[ 2.491006] []
drm_fb_helper_initial_config+0x74/0x411 [drm_kms_helper]
[ 2.491692] [] ?
drm_modeset_unlock_all+0x9d/0xa7 [drm]
[ 2.492140] [] vbox_fbdev_init+0xdd/0x148
[vboxvideo]
[ 2.492593] [] ? vbox_driver_load+0x3b3/0x445
[vboxvideo]
[ 2.493027] [] vbox_driver_load+0x3cf/0x445
[vboxvideo]
[ 2.493494] [] ? vbox_pm_ops+0xc0/0xc0
[vboxvideo]
[ 2.494347] [] drm_dev_register+0xfe/0x193
[drm]
[ 2.494798] [] drm_get_pci_dev+0x17d/0x28b
[drm]
[ 2.495250] [] ? vbox_pm_ops+0xc0/0xc0
[vboxvideo]
[ 2.495750] [] vbox_pci_probe+0x1d/0x3d
[vboxvideo]
[ 2.496187] [] pci_device_probe+0xe3/0x1a0
[ 2.496612] [] ?
driver_probe_device+0x151/0x4a4
[ 2.497019] [] driver_probe_device+0x1df/0x4a4
[ 2.497462] [] __driver_attach+0xd4/0x134
[ 2.497855] [] ?
driver_probe_device+0x4a4/0x4a4
[ 2.498308] [] bus_for_each_dev+0xbc/0x12a
[ 2.498736] [] driver_attach+0x26/0x46
[ 2.499122] [] bus_add_driver+0x151/0x2ed
[ 2.499579] [] driver_register+0xb7/0x133
[ 2.499980] [] ? __param_modeset+0x3508/0x3508
[vboxvideo]
[ 2.500415] []
__pci_register_driver+0x6f/0xa3
[ 2.500864] [] drm_pci_init+0x79/0x160 [drm]
[ 2.501304] [] ? __param_modeset+0x3508/0x3508
[vboxvideo]
[ 2.501773] [] vbox_init+0x56/0x12de8
[vboxvideo]
[ 2.502213] [] do_one_initcall+0x11e/0x1e8
[ 2.502640] [] do_init_module+0x8d/0x30f
[ 2.503097] [] load_module+0x2576/0x2b84
[ 2.503567] [] ? vbox_init+0x70/0x12de8
[vboxvideo]
[ 2.504064] [] ? show_coresize+0x52/0x52
[ 2.504498] [] sys_finit_module+0xc8/0x107
[ 2.504913] [] ? sys_finit_module+0xc8/0x107
[ 2.505314] [] rap_sys_finit_module+0x16/0x36
[ 2.505729] []
entry_SYSCALL_64_fastpath+0x31/0xe5
[ 2.506189] Code: 08 48 81 79 f0 4c 11 c9 af 75 18 8b 45 d0 48 8d 65
d8 5b 41 5c 41 5d 41 5e 41 5f 5d 48 0f ba 2c 24 3f c3 cd 83 cd 82 cd 82
cd 82 82 c2 06 86 58 00 00 00 00 55 48 89 e5 41 54 49 89 fc 53 48
[ 2.513520] RIP []
drm_helper_probe_single_connector_modes+0x63d/0x647
[drm_kms_helper]
[ 2.514767] RSP
[ 2.515174] —[ end trace 3dd184bef1fcfa24 ]—
[ 2.515739] udevd[1284]: worker [1314] terminated by signal 11
(Segmentation fault)
[ 2.516392] udevd[1284]: worker [1314] failed while handling
‘/devices/pci0000:00/0000:00:02.0’
(from redmine: issue id 8625, created on 2018-03-08)