test_310_config_security_perf_events_restrict / test_400_refcount_config in ubuntu_qrt_kernel_security failed on F-OEM-5.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QA Regression Testing |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
=====
FAIL: test_310_
Ensure CONFIG_
-----
Traceback (most recent call last):
File "./test-
self.
File "./test-
self.
File "./test-
'%s option was expected to be set in the kernel config' % name)
AssertionError: SECURITY_
=====
FAIL: test_400_
Ensure kernel refcount protections are enabled
-----
Traceback (most recent call last):
File "./test-
self.
File "./test-
self.
File "./test-
'%s option was expected to be set in the kernel config' % name)
AssertionError: ARCH_HAS_REFCOUNT option was expected to be set in the kernel config
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.6.0-1010-oem x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Mon May 18 14:44:11 2020
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | linux-signed-oem-5.6 (Ubuntu) → linux-oem-5.6 (Ubuntu) |
Changed in qa-regression-testing: | |
status: | Confirmed → Fix Released |
tags: | added: 5.6 oem oem-5.6 sru-20210412 |
For the test_310_ config_ security_ perf_events_ restrict -- missing SECURITY_ PERF_EVENTS_ RESTRICT option; it appears the linux-oem-5.6 kernel is missing the following Ubuntu SAUCE patch:
commit 4e6246de75c4683 97327fa741b380c 926020c81f
Author: Ben Hutchings <email address hidden>
Date: Tue Aug 16 10:27:00 2016 -0600
UBUNTU: SAUCE: security,perf: Allow further restriction of perf_event_open
For the test_400_ refcount_ config test, the ARCH_HAS_REFCOUNT and REFCOUNT_FULL config options were removed upstream in the 5.5. kernel cycle. I'm working on a patch to qrt to address this.
Thanks.