psock_tpacket from the net test in ubuntu_kernel_selftests failed on KVM kernels
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | |||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
Xenial |
Fix Released
|
Undecided
|
Po-Hsu Lin | |||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin | |||
Disco |
Won't Fix
|
Undecided
|
Po-Hsu Lin | |||
linux-kvm (Ubuntu) | ||||||
Xenial |
Fix Released
|
Undecided
|
Unassigned | |||
Bionic |
Fix Released
|
Undecided
|
Unassigned | |||
Disco |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The psock_tpacket in the net test from ubuntu_
$ sudo ./psock_tpacket
test: TPACKET_V1 with PACKET_RX_RING open: No such file or directory
Look into the code, it seems that this file not found error is caused by the attempt to access /proc/kallsyms in test_kernel_
static int test_kernel_
{
char in[512], *ptr;
int num = 0, fd;
ssize_t ret;
fd = open("/
if (fd == -1) {
perror("open");
exit(1);
}
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1028-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Thu Jan 17 08:05:47 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
tags: | added: linux-kvm sru-20190603 |
Changed in linux-kvm (Ubuntu): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
no longer affects: | linux-kvm (Ubuntu Cosmic) |
no longer affects: | ubuntu-kernel-tests |
tags: | added: sru-20200406 |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux-kvm (Ubuntu Disco): | |
status: | New → Won't Fix |
Changed in linux-kvm (Ubuntu Disco): | |
status: | Won't Fix → In Progress |
Changed in linux-kvm (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in linux-kvm (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in linux (Ubuntu Disco): | |
status: | New → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
no longer affects: | linux-kvm (Ubuntu) |
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu): | |
status: | New → Fix Released |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
Changed in linux-kvm (Ubuntu Disco): | |
status: | In Progress → Won't Fix |
Changed in linux (Ubuntu Disco): | |
status: | Fix Committed → Won't Fix |
To enable this kallsyms symbol, CONFIG_KALLSYMS must be enabled in the kernel.
And this config is not enabled in:
X-KVM
B-KVM
C-KVM