CVE-2026-98450
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-98450",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:16:55.333",
"lastModified": "2026-10-30T13:21:13.967",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: close completed creates on compound wait errors\n\ncompound_send_recv() waits for responses in order. If a later wait is\ninterrupted, or if a later MID fails during response synchronization, an\nearlier CREATE may already have opened a remote handle. The earlier mid\nis then released without invoking handle_cancelled_mid(), leaving the\nremote handle open because no FID was copied to the caller.\n\nMark completed earlier mids as cancelled when a compound wait or MID\nsynchronization aborts. Keep their response buffers attached while the\nMIDs are synchronized, and transfer them only after synchronization of\nthe processed responses, so the release path can inspect successful\nCREATE responses and queue SMB2_close() after a later failure. Account for\na remote open only after the close work is allocated and before it is\nqueued, since the caller has not yet updated num_remote_opens. Mark the\ncreate+close compound used by smb2_unlink() so it is not closed again.\nNon-CREATE responses and compounds that already include a close keep their\nexisting behavior."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"fs/smb/client/smb2inode.c",
"fs/smb/client/smb2misc.c",
"fs/smb/client/transport.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "da83fed81241b03fd0e7ccf0091b051cf420d8d2",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "e94370cf2b76e913a997e9a633ab521a45029284",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "c8c6c7e665af4dba75a02f4c9bad3ae2ce341619",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "8afc80156b1d9e2cfd02d42c255305fad95b59fc",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "2cb07d1a6a30283dbfc809c8036bc1fd103d59fa",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "224b56b7c02b2bfb1f5bee18d5f56ae6b052be44",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "253612499ce9b4cd7bb922fe507ec204bddd9313",
"versionType": "git",
"status": "affected"
},
{
"version": "e0bba0b8548179b696e86c158ea8f45f2ef6ad14",
"lessThan": "6c5c547f037bc18f0b8d0b5db5a648f8f630ce85",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"fs/smb/client/smb2inode.c",
"fs/smb/client/smb2misc.c",
"fs/smb/client/transport.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4.19",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.19",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.10.273",
"lessThanOrEqual": "5.10.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.224",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.9",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/224b56b7c02b2bfb1f5bee18d5f56ae6b052be44",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/253612499ce9b4cd7bb922fe507ec204bddd9313",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2cb07d1a6a30283dbfc809c8036bc1fd103d59fa",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6c5c547f037bc18f0b8d0b5db5a648f8f630ce85",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8afc80156b1d9e2cfd02d42c255305fad95b59fc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c8c6c7e665af4dba75a02f4c9bad3ae2ce341619",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/da83fed81241b03fd0e7ccf0091b051cf420d8d2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e94370cf2b76e913a997e9a633ab521a45029284",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}