Skip to main content
VulnerabilityPublished

CVE-2026-139615: Linux kernel · vfio: Reject a second cdev open before mutating shared device state

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139615

Not known to be exploited · fixed in e5026289a555bc89647dd6476b8ab86556cf7adc : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in e5026289a555bc89647dd6476b8ab86556cf7adc, 52478ef75b37c264991119612ca06cb5217e4189, 258ba46543abdd36844f04bba8b4022a5731d873

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to e5026289a555bc89647dd6476b8ab86556cf7adc, 52478ef75b37c264991119612ca06cb5217e4189 or 258ba46543abdd36844f04bba8b4022a5731d873.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 839e692fa4eb7da5c541a65155f1dbc237d8afaa, < e5026289a555bc89647dd6476b8ab86556cf7adc
Fixed in
  • e5026289a555bc89647dd6476b8ab86556cf7adc
LinuxLinuxAffected
  • ≥ 839e692fa4eb7da5c541a65155f1dbc237d8afaa, < 52478ef75b37c264991119612ca06cb5217e4189
Fixed in
  • 52478ef75b37c264991119612ca06cb5217e4189
LinuxLinuxAffected
  • ≥ 839e692fa4eb7da5c541a65155f1dbc237d8afaa, < 258ba46543abdd36844f04bba8b4022a5731d873
Fixed in
  • 258ba46543abdd36844f04bba8b4022a5731d873
LinuxLinuxAffected
  • =6.6
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: vfio: Reject a second cdev open before mutating shared device state The cdev single-open check lives in vfio_df_open(), which runs at the end of the bind ioctl, after vfio_df_ioctl_bind_iommufd() has already updated state shared across all opens: vfio_df_check_token() can set the PF vf_token and vfio_df_get_kvm_safe() records the caller's KVM pointer in device->kvm and takes a reference. A second cdev bind of an already-open device runs both, only to be rejected in vfio_df_open(). The error path clears device->kvm and drops the reference, tearing down the current opener's KVM association and potentially resulting in an unbalanced reference on close or premature release, while the vf_token remains clobbered. Move the single-open check into vfio_df_ioctl_bind_iommufd() ahead of both mutations, so a bind that cannot complete leaves the current opener's state untouched. df->group is NULL on this path, so a non-zero open_count is exactly what vfio_df_open() rejected. The test in vfio_df_open() becomes redundant and is removed. Return -EBUSY rather than -EINVAL here. The arguments are not invalid, the device is in use, which could be a transient condition due to a delayed fput if the prior user is terminated. This provides compatibility with the group path, where a group open returns -EBUSY, and users may choose bounded polling to detect such a transient condition.

References

Community reviews

Loading reviews…