{"id":"CVE-2024-35868","state":"PUBLISHED","title":"smb: client: fix potential UAF in cifs_stats_proc_write()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in cifs_stats_proc_write()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF.","publishedAt":"2024-05-19T08:34:26.806Z","updatedAt":"2026-05-23T15:44:18.821Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"8fefd166fcb368c5fcf48238e3f7c8af829e0a72","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"cf03020c56d3ed28c4942280957a007b5e9544f7","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"5b5475ce69f02ecc1b13ea23106e5b89c690429b","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"d3da25c5ac84430f89875ca7485a3828150a7e0a","versionType":"git"},{"version":"a67172a013953664b1dad03c648200c70b90506c","status":"affected","versionType":"git"},{"version":"3.12.48","status":"affected","lessThan":"3.13","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifs_debug.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.1.85","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.26","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.5","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifs_debug.c"]}],"references":["https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72","https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7","https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b","https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:30.303Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/35xxx/CVE-2024-35868.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35868","state":"PUBLISHED","datePublished":"2024-05-19T08:34:26.806Z","dateUpdated":"2026-05-23T15:44:18.821Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-17T13:50:33.108Z"},"containers":{"cna":{"title":"smb: client: fix potential UAF in cifs_stats_proc_write()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in cifs_stats_proc_write()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"8fefd166fcb368c5fcf48238e3f7c8af829e0a72","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"cf03020c56d3ed28c4942280957a007b5e9544f7","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"5b5475ce69f02ecc1b13ea23106e5b89c690429b","versionType":"git"},{"version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","status":"affected","lessThan":"d3da25c5ac84430f89875ca7485a3828150a7e0a","versionType":"git"},{"version":"a67172a013953664b1dad03c648200c70b90506c","status":"affected","versionType":"git"},{"version":"3.12.48","status":"affected","lessThan":"3.13","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifs_debug.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"6.1.85","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.26","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.8.5","status":"unaffected","lessThanOrEqual":"6.8.*","versionType":"semver"},{"version":"6.9","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/client/cifs_debug.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72"},{"url":"https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7"},{"url":"https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b"},{"url":"https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:44:18.821Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.1.85"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.6.26"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.8.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12.48"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-35868","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-28T19:41:39.676254Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:34:13.203Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/8fefd166fcb368c5fcf48238e3f7c8af829e0a72","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/cf03020c56d3ed28c4942280957a007b5e9544f7","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5b5475ce69f02ecc1b13ea23106e5b89c690429b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d3da25c5ac84430f89875ca7485a3828150a7e0a","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T03:21:48.077Z"}}]}}}