ubuntu_32_on_64 and ubuntu_qrt_kernel_security failed on Google N2D due to 32-bit emulation disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found on Google N2D instances since sru-20240429
Test:
ubuntu_32_on_64
ubuntu_
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
- KernelSecurityT
For aslr related tests, they all failed with:
Command: './aslr32', 'stack', '--verbose'
Exec format error: './aslr32'
For test_381_
Command: 'sudo', '-u', 'ubuntu', './CVE-2010-3081'
./CVE-2010-3081: 1: Syntax error: word unexpected (expecting ")")
From the Makefile this CVE-2010-3081 executable was complied with -m32 flag.
This is because of commit b82a8dbd3, one of the fixes for CVE-2024-25744. This CVE describes vulnerability exhibits in confidential computing VMs, and it affects 4.15 and after. Unfortunately it is very hard to backport to older kernels so we took the suggestion of a upstream maintainer and simply disabled the IA32_EMULATION which mitigates the issue. (Thanks to Magali and Yuxuan for the information)
[ 1394.649972] 32-bit emulation disabled. You can reenable with ia32_emulation=on
description: | updated |
description: | updated |
description: | updated |
description: | updated |