test_too_early_vsyscall in ubuntu_qrt_kernel_panic failed on N-gcp N2D instances (Exec format error)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
New
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found on 6.8.0-1008.9 in sru-20240429
Test failed with Google N2D instances only, test output:
FAIL: test_too_
The vsyscall entries are created too early (CVE-2010-0307)
------
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
AssertionError: 0 != 2 : Got exit code 2, expected 0
Command: 'make', 'test'
Output:
gcc -m32 -o amd64_killer amd64_killer.c
gcc -m64 -Wl,--dynamic-
ulimit -c 1024 ; ./amd64_killer ./poison ; ret=$? ; if [ $ret -eq 139 ]; then echo correctly segfaulted instead of panic; exit 0; else echo did not segfault?; exit 1; fi
/bin/bash: line 1: ./amd64_killer: cannot execute binary file: Exec format error
did not segfault?
make: *** [Makefile:6: test] Error 1
tags: | added: sru-20240429 |
This is because of the 32bit support was disabled on Google N2D confidential computing VMs. See bug 2072457