CVE-2026-98450

Source
https://cve.org/CVERecord?id=CVE-2026-98450
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98450.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98450
Downstream
Published
2026-10-18T15:15:00Z
Modified
2026-10-20T02:31:08Z
Summary
smb: client: close completed creates on compound wait errors
Details

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

smb: client: close completed creates on compound wait errors

compound_send_recv() waits for responses in order. If a later wait is interrupted, or if a later MID fails during response synchronization, an earlier CREATE may already have opened a remote handle. The earlier mid is then released without invoking handle_cancelled_mid(), leaving the remote handle open because no FID was copied to the caller.

Mark completed earlier mids as cancelled when a compound wait or MID synchronization aborts. Keep their response buffers attached while the MIDs are synchronized, and transfer them only after synchronization of the processed responses, so the release path can inspect successful CREATE responses and queue SMB2_close() after a later failure. Account for a remote open only after the close work is allocated and before it is queued, since the caller has not yet updated num_remote_opens. Mark the create+close compound used by smb2_unlink() so it is not closed again. Non-CREATE responses and compounds that already include a close keep their existing behavior.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98450.json"
}
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
e0bba0b8548179b696e86c158ea8f45f2ef6ad14
Fixed
2cb07d1a6a30283dbfc809c8036bc1fd103d59fa
Fixed
224b56b7c02b2bfb1f5bee18d5f56ae6b052be44
Fixed
253612499ce9b4cd7bb922fe507ec204bddd9313
Fixed
6c5c547f037bc18f0b8d0b5db5a648f8f630ce85

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.19.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

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