CVE-2026-139395

accel/qaic: Protect perf stats BO state with bo->lock

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

accel/qaic: Protect perf stats BO state with bo->lock

qaic_perf_stats_bo_ioctl() validates each BO by checking bo->sliced and
bo->dbc before returning its perf stats. These fields are changed by the
detach paths while holding bo->lock, but the perf stats ioctl reads them
without that lock.

A concurrent detach can clear bo->dbc and mark the BO unsliced while the
perf stats ioctl is validating the BO. Take bo->lock while checking the
BO state and copying the per-BO stats into the temporary result buffer.

Analysis

AI-generated

Technical impact

The Linux kernel’s qaic performance statistics ioctl checks per‑buffer object (BO) fields bo->sliced and bo->dbc while the detach paths update these fields only under the bo->lock lock. Because the ioctl reads the fields without acquiring the lock, a concurrent detach can clear bo->dbc and mark the BO as unsliced during the ioctl’s validation. This timing issue can lead to incorrect statistics, possible crashes, or inconsistent internal state.

Affected Systems

All Linux kernel installations that include the accel/qaic module contain this flaw. No specific version information is supplied, so any kernel revision that has the vulnerable code path should be considered affected.

Risk and Exploitability

The flaw represents a classic race condition (CWE‑362) and could be exploited by an attacker who can trigger detach operations while a stat request is in flight. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, so the current exploitation probability cannot be quantified. Nonetheless, the lack of proper synchronization introduces a tangible risk of service disruption or data corruption if the race is successfully triggered.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel patch that protects the perf stats ioctl with bo->lock
  • Upgrade all affected systems to a kernel version that includes the fix
  • If an immediate update is not feasible, restrict user privileges so that only trusted users can perform qaic detach operations or otherwise limit concurrent detachment while statistics are requested
  • Enable logging or monitoring to detect abnormal perf stats or kernel faults that may indicate a race condition execution

Generated by OpenCVE AI on November 30, 2026 at 21:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Protect perf stats BO state with bo->lock qaic_perf_stats_bo_ioctl() validates each BO by checking bo->sliced and bo->dbc before returning its perf stats. These fields are changed by the detach paths while holding bo->lock, but the perf stats ioctl reads them without that lock. A concurrent detach can clear bo->dbc and mark the BO unsliced while the perf stats ioctl is validating the BO. Take bo->lock while checking the BO state and copying the per-BO stats into the temporary result buffer.
Title accel/qaic: Protect perf stats BO state with bo->lock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM