Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139615

published

vfio: Reject a second cdev open before mutating shared device state

Published
30 Nov 2026, 13:36:23 UTC
Updated
30 Nov 2026, 13:36:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux839e692fa4eb7da5c541a65155f1dbc237d8afaa to < e5026289a555bc89647dd6476b8ab86556cf7adc · 839e692fa4eb7da5c541a65155f1dbc237d8afaa to < 52478ef75b37c264991119612ca06cb5217e4189 · 839e692fa4eb7da5c541a65155f1dbc237d8afaa to < 258ba46543abdd36844f04bba8b4022a5731d873 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 839e692fa4eb7da5c541a65155f1dbc237d8afaa to < e5026289a555bc89647dd6476b8ab86556cf7adc (affected · git)839e692fa4eb7da5c541a65155f1dbc237d8afaa to < 52478ef75b37c264991119612ca06cb5217e4189 (affected · git)839e692fa4eb7da5c541a65155f1dbc237d8afaa to < 258ba46543abdd36844f04bba8b4022a5731d873 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.6 (affected)0 to < 6.6 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

vfio: Reject a second cdev open before mutating shared device state

Provenance

Schema
5.2
Searchable
yes
Content hash
341a5470bb360e70520047d64b2f60ac7053d73fbd195420e326ce9bb4131791
Ingested
30 Nov 2026, 13:42:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected