CVE-2026-68318

Source
https://cve.org/CVERecord?id=CVE-2026-68318
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68318.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68318
Downstream
Published
2026-08-10T12:02:53.197Z
Modified
2026-08-12T04:18:47.903683633Z
Summary
pds_core: fix use-after-free on workqueue during remove
Details

In the Linux kernel, the following vulnerability has been resolved:

pds_core: fix use-after-free on workqueue during remove

In pdscremove(), the workqueue is destroyed before pdscteardown() is called. This ordering allows two paths to queue work on the destroyed workqueue:

  1. If pdscteardown() -> pdscdevcmdreset() times out, the error path in pdscdevcmdlocked() queues healthwork.

  2. A NotifyQ event can trigger the ISR and queue work before freeirq() is called in pdscteardown().

Fix by moving destroyworkqueue() after pdscteardown() so the workqueue outlives every queuer; destroy_workqueue() then flushes any work still pending.

Draining the queued work also requires ordering the teardown so the resources that work touches are freed last:

  • In pdscqcqfree(), after freeing the interrupt, cancelworksync() the queue's work and only then clear qcq->intx, so pdscprocessadminq()'s read of qcq->intx for interrupt-credit return cannot race with the clear.

  • Free adminqcq before notifyqcq: the shared adminq ISR is released when adminqcq is freed, and the adminq work accesses notifyqcq, so both must be stopped before notifyqcq is freed.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68318.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
01ba61b55b2041a39c54aefb3153c770dd59a0ef
Fixed
224214eb4182ff20a665b615a90b66017539dd75
Fixed
9e0f80fac50ab95dd75537c8ecaf5051d01f19b5
Fixed
ecc7a7d7569ec1d6a61e18372696b9de97635156
Fixed
0ad134881508c36b65c1a8864f8bec53adbd3327

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68318.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68318.json"