Public bug reported:
This issue can be reproduced with 4.15.0-12-generic in -released, it
will fail with "ValueError: invalid literal for int() with base 16:
'(null)'"
======================================================================
ERROR: test_095_kernel_symbols_missing (__main__.KernelSecurityTest)
kernel addresses in kallsyms and modules are zeroed out
----------------------------------------------------------------------
Traceback (most recent call last):
File "./test-kernel-security.py", line 1521, in
test_095_kernel_symbols_missing
self._check_pK_files(expected)
File "./test-kernel-security.py", line 1440, in _check_pK_files
expected)
File "./test-kernel-security.py", line 1401, in _read_twice
self.assertEqual(expected, 0 == int(address, 16), "%s: user saw %s" %
(filename, address))
ValueError: invalid literal for int() with base 16: '(null)'
----------------------------------------------------------------------
With 4.15.0-13 and 4.15.0-1002.2, the error was a bit different, it will
fail with: "AssertionError: /proc/self/stack: root saw 0"
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-12-generic 4.15.0-12.13
ProcVersionSignature: User Name 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Mar 23 03:56 seq
crw-rw---- 1 root audio 116, 33 Mar 23 03:56 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CurrentDmesg:
Date: Fri Mar 23 04:14:33 2018
Ec2AMI: ami-266cf15e
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2a
Ec2InstanceType: x1e.xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
JournalErrors:
-- Logs begin at Fri 2018-03-23 03:56:35 UTC, end at Fri 2018-03-23 04:12:28
UTC. --
Mar 23 03:56:35 username kernel: Cannot get hvm parameter CONSOLE_EVTCHN (18):
-22!
Mar 23 03:56:35 username kernel: Cannot get hvm parameter CONSOLE_EVTCHN (18):
-22!
Mar 23 03:56:56 hostname iscsid[980]: iSCSI daemon with pid=984 started!
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Xen HVM domU
PciMultimedia:
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-12-generic
root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
nvme_core.io_timeout=255
RelatedPackageVersions:
linux-restricted-modules-4.15.0-12-generic N/A
linux-backports-modules-4.15.0-12-generic N/A
linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/24/2006
dmi.bios.vendor: Xen
dmi.bios.version: 4.2.amazon
dmi.chassis.type: 1
dmi.chassis.vendor: Xen
dmi.modalias:
dmi:bvnXen:bvr4.2.amazon:bd08/24/2006:svnXen:pnHVMdomU:pvr4.2.amazon:cvnXen:ct1:cvr:
dmi.product.name: HVM domU
dmi.product.version: 4.2.amazon
dmi.sys.vendor: Xen
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
** Tags: amd64 apport-bug bionic ec2-images
** Summary changed:
- kernel security test failed on AWS Bionic kernel
+ test_095_kernel_symbols_missing in kernel security test failed on AWS Bionic
kernel
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1758242
Title:
test_095_kernel_symbols_missing in kernel security test failed on AWS
Bionic kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1758242/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs