DEBUG_WX is not set in Bionic KVM kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Unassigned | ||
linux-kvm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Kamal Mostafa | ||
Bionic |
Fix Released
|
Undecided
|
Kamal Mostafa |
Bug Description
== Justification ==
In the Bionic KVM kernel, the CONFIG_DEBUG_WX was not set, which is needed to meet the security team's requirement.
== Test ==
Before enabling the config, test_330_
It will pass with this patche applied, tested on a KVM node.
== Fix ==
UBUNTU: [Config]: enable CONFIG_DEBUG_WX
== Regression Potential ==
Minimal.
No code changes, just a config changes without disabling any other configs.
-------
The kernel security test require this config to be enabled.
FAIL: test_330_
Ensure DEBUG_WX is set
-------
Traceback (most recent call last):
File "./test-
self.assertKern
File "./test-
self.assertKern
File "./test-
'%s option was expected to be set in the kernel config' % name)
AssertionError: DEBUG_WX option was expected to be set in the kernel config
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1016-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
Date: Fri Jul 20 07:56:06 2018
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in linux-kvm (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux-kvm (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux-kvm (Ubuntu Bionic): | |
assignee: | nobody → Kamal Mostafa (kamalmostafa) |
Changed in linux-kvm (Ubuntu Xenial): | |
assignee: | nobody → Kamal Mostafa (kamalmostafa) |
Changed in ubuntu-kernel-tests: | |
status: | New → Fix Released |
Changed in linux-kvm (Ubuntu): | |
status: | New → Fix Committed |
A test kernel could be found here: http:// people. canonical. com/~phlin/ kernel/ lp-1782721/
The test will pass with this config enabled.