Kernel oops in kvm host if using vhost_net in guest (18.04 HWE)

Bug #1888324 reported by Luke Jurgs
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

If I run a KVM guest with a network using the vhost_net driver, I get a kernel oops with a NULL reference error. It happens randomly. I run a GPU passthrough setup with windows 10 but I can leave that up 24/7 as I am passing through a raw ethernet card. Any other virtual machine using the vhost_net driver will result in a crash in 12 hours or less. I've attached the dmesg that I captured with kdump. I am not sure when this bug was introduced.
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.15
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: luke 3876 F.... pulseaudio
 /dev/snd/controlC1: luke 3876 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-10-30 (629 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-62-generic root=UUID=a5c9f5ef-18ed-4f8b-a213-2cec2e0bb4a5 ro iommu=1 amd_iommu=on kvm.ignore_msrs=1 kvm.report_ignored_msrs=0 kvm.allow_unsafe_assigned_interrupts=1 vfio_iommu_type1.allow_unsafe_interrupts=1 default_hugepagesz=1G hugepagesz=1G crashkernel=768M
ProcVersionSignature: Ubuntu 5.3.0-62.56~18.04.1-generic 5.3.18
RelatedPackageVersions:
 linux-restricted-modules-5.3.0-62-generic N/A
 linux-backports-modules-5.3.0-62-generic N/A
 linux-firmware 1.173.19
Tags: bionic
Uname: Linux 5.3.0-62-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dialout dip kvm libvirt lpadmin plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 08/27/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.70
dmi.board.name: X399 Professional Gaming
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP3.70:bd08/27/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX399ProfessionalGaming:rvr:cvnDefaultstring:ct3:cvrDefaultstring:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Luke Jurgs (lukejurgs) wrote :
Luke Jurgs (lukejurgs)
summary: - Kernel oops in host if using vhost_net in guest
+ Kernel oops in kvm host if using vhost_net in guest
Luke Jurgs (lukejurgs)
summary: - Kernel oops in kvm host if using vhost_net in guest
+ Kernel oops in kvm host if using vhost_net in guest (18.04 HWE)
Luke Jurgs (lukejurgs)
tags: added: bionic
affects: linux-hwe (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1888324

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: eoan
Revision history for this message
Luke Jurgs (lukejurgs) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Luke Jurgs (lukejurgs) wrote : CRDA.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : IwConfig.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : Lspci.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : Lsusb.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : ProcModules.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : PulseList.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : RfKill.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : UdevDb.txt

apport information

Revision history for this message
Luke Jurgs (lukejurgs) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Janåke Rönnblom (jan-ake) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.