Public bug reported:
Similar to bug 1764980, but this is failing on 4.4 KVM kernel.
And despite the KALLSYMS was not enabled, the module output is not the expected
zero.
FAIL: test_095_kernel_symbols_missing_proc_modules
(__main__.KernelSecurityTest)
kernel addresses in /proc/modules are zeroed out
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 1652, in
test_095_kernel_symbols_missing_proc_modules
self._check_pK_files(self._095_kernel_symbols_missing_proc_modules,
expected=expected)
File "./test-kernel-security.py", line 1526, in _check_pK_files
test_function(expected_restricted)
File "./test-kernel-security.py", line 1559, in
_095_kernel_symbols_missing_proc_modules
expected)
File "./test-kernel-security.py", line 1451, in _read_twice
self.assertEqual(0, int(address, 16), "%s: root saw %s - contents:\n%s" %
(filename, address, root))
AssertionError: /proc/modules: root saw 0xffffffffc0118000 - contents:
fuse 73728 3 - Live 0xffffffffc0220000
kvm_intel 143360 0 - Live 0xffffffffc01fc000
btrfs 741376 0 - Live 0xffffffffc0146000
xor 20480 1 btrfs, Live 0xffffffffc013d000
lzo_compress 12288 1 btrfs, Live 0xffffffffc0139000
raid6_pq 98304 1 btrfs, Live 0xffffffffc011e000
pata_acpi 12288 0 - Live 0xffffffffc0118000
The KALLSYMS config was not enabled in 4.4 kvm kernel:
ubuntu@zeppo:~$ grep KALLSYMS /boot/config-4.4.0-1022-kvm
# CONFIG_KALLSYMS is not set
ubuntu@zeppo:~$
ubuntu@zeppo:~$ sudo cat /proc/modules
fuse 73728 3 - Live 0xffffffffc0220000
kvm_intel 143360 0 - Live 0xffffffffc01fc000
btrfs 741376 0 - Live 0xffffffffc0146000
xor 20480 1 btrfs, Live 0xffffffffc013d000
lzo_compress 12288 1 btrfs, Live 0xffffffffc0139000
raid6_pq 98304 1 btrfs, Live 0xffffffffc011e000
pata_acpi 12288 0 - Live 0xffffffffc0118000
ubuntu@zeppo:~$ cat /proc/version_signature
Ubuntu 4.4.0-1022.27-kvm 4.4.128
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1022-kvm 4.4.0-1022.27
ProcVersionSignature: User Name 4.4.0-1022.27-kvm 4.4.128
Uname: Linux 4.4.0-1022-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
Date: Fri May 4 06:22:06 2018
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: qa-regression-testing
Importance: Undecided
Status: New
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
** Affects: linux-kvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug package-from-proposed uec-images xenial
** Also affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Also affects: qa-regression-testing
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1769054
Title:
test_095_kernel_symbols_missing_proc_modules failed with 4.4 KVM
To manage notifications about this bug go to:
https://bugs.launchpad.net/qa-regression-testing/+bug/1769054/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs