Compute service fails to restart if the vnic_type of a bound port changed from direct to macvtap (CVE-2022-37394)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Balazs Gibizer | ||
OpenStack Security Advisory |
In Progress
|
Undecided
|
David Wilde |
Bug Description
We have a downstream bug report with the following reproduction steps:
1) create a neutron port with vnic_type "direct"
2) create an instance with that port
3) after the instance is created successfully change the vnic_type of the bound port from "direct" to "macvtap". This is accepted by Neutron
4) wait until the nova instance info caches is healed by the periodic task in nova-compute
5) restart the nova-compute service.
Actual behavior
---------------
The nova-compute service fails to start with PciDeviceNotFou
Expected behavior
-----------------
The nova-compute service should start up successfully.
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
Jul 15 06:39:14 dell-r640-020 nova-compute[
CVE References
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
tags: | added: neutron pci |
tags: | added: compute |
information type: | Public → Public Security |
Changed in ossa: | |
status: | Incomplete → In Progress |
assignee: | nobody → David Wilde (dave-wilde) |
summary: |
Compute service fails to restart if the vnic_type of a bound port - changed from direct to macvtap + changed from direct to macvtap (CVE-2022-37394) |
Related fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /849985
Review: https:/