Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 day ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
vfio/pci: Release the VGA arbiter client on register_device() failure

In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Release the VGA arbiter client on register_device() failure The re-order in the Fixes commit below displaced vfio_pci_vga_init() as the last failure point of what is now vfio_pci_core_register_device() without introducing an unwind for the VGA arbiter registration. In current kernels this is mostly benign because vfio_pci_set_decode() only uses pci_dev state, but the original failure path could leave a callback with a freed vdev cookie. The stale registration also becomes unsafe again once the callback follows drvdata to the vfio device. Add the required VGA unwind callout.

Affected products

Linux
  • <5.10.261
  • <278a5659c391fe5afe5f9ce1bad1fd24e90144f1
  • =<7.1.*
  • <5.13
  • =<6.1.*
  • =<5.15.*
  • =<5.10.*
  • <5.13
  • <daedde7f024ecf88bc8e832ed40cf2c795f0796a
  • <5.12
  • ==d62dccb417cf972c978bf3c68a7d5e846bcf953e
  • <ef4c38d30b3744e89eb5048218904bb629ea8d47
  • =<6.6.*
  • <0f2a35a0c7ea7da347b814750eaa78adf3582381
  • ==6694b8daffac5a8661071f085608afc78f7acd08
  • =<6.18.*
  • <9e0a3f642e607848669235f5069f35640abbfc88
  • <42d758a09d2c46c42357ecde9a5492f015bde2e5
  • =<6.12.*
  • =<*
  • <52adb2dff7ce3d8430e2bdc5988b618a430def85
  • ==5.13
  • <8d65decde9afd2bd78bcfffdc0df73b82a0b5509