{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53597","id":"CVE-2023-53597","title":"cifs: fix mid leak during reconnection after timeout threshold","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix mid leak during reconnection after timeout threshold\n\nWhen the number of responses with status of STATUS_IO_TIMEOUT\nexceeds a specified threshold (NUM_STATUS_IO_TIMEOUT), we reconnect\nthe connection. But we do not return the mid, or the credits\nreturned for the mid, or reduce the number of in-flight requests.\n\nThis bug ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix mid leak during reconnection after timeout threshold\n\nWhen the number of responses with status of STATUS_IO_TIMEOUT\nexceeds a specified threshold (NUM_STATUS_IO_TIMEOUT), we reconnect\nthe connection. But we do not return the mid, or the credits\nreturned for the mid, or reduce the number of in-flight requests.\n\nThis bug could result in the server->in_flight count to go bad,\nand also cause a leak in the mids.\n\nThis change moves the check to a few lines below where the\nresponse is decrypted, even of the response is read from the\ntransform header. This way, the code for returning the mids\ncan be reused.\n\nAlso, the cifs_reconnect was reconnecting just the transport\nconnection before. In case of multi-channel, this may not be\nwhat we want to do after several timeouts. Changed that to\nreconnect the session and the tree too.\n\nAlso renamed NUM_STATUS_IO_TIMEOUT to a more appropriate name\nMAX_STATUS_IO_TIMEOUT.","published":"2025-10-04T15:44:09.616Z","updated":"2026-11-17T07:02:50.724563115Z","reserved":"2025-10-04T15:40:38.479Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e670f77c4a55013db6d23b962f9bf6673a5e7b6","lessThan":"df31d05f0678cdd0796ea19983a2b93edca18bb0","status":"affected","versionType":"git"},{"version":"8e670f77c4a55013db6d23b962f9bf6673a5e7b6","lessThan":"c55901d381a22300c9922170e59704059f50977b","status":"affected","versionType":"git"},{"version":"8e670f77c4a55013db6d23b962f9bf6673a5e7b6","lessThan":"57d25e9905c71133e201f6d06b56a3403d4ad433","status":"affected","versionType":"git"},{"version":"8e670f77c4a55013db6d23b962f9bf6673a5e7b6","lessThan":"69cba9d3c1284e0838ae408830a02c4a063104bc","status":"affected","versionType":"git"},{"version":"fa6d7a5853f93efb088aba36af12cb1944156411","status":"affected","versionType":"git"},{"version":"5.9.5","lessThan":"5.10","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"5.15.150","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.42","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.7","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/df31d05f0678cdd0796ea19983a2b93edca18bb0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c55901d381a22300c9922170e59704059f50977b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/57d25e9905c71133e201f6d06b56a3403d4ad433","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/69cba9d3c1284e0838ae408830a02c4a063104bc","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53597.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53597","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00286,"epssPercentile":0.21516,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53597","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53597","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53597","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53597","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}