{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99747","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.432Z","datePublished":"2026-11-20T05:51:18.278Z","dateUpdated":"2026-11-20T05:51:18.278Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T05:51:18.278Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()\n\nsession_user_name() and session_account_type() dereference\nsession->user without checking for NULL. A session can be published\nand exposed via the procfs session interface before authentication\ncompletes, during which session->user is NULL:\n\n  show_proc_session() -> session_user_name(sess)\n    -> user_guest(session->user) -> NULL->flags -> oops\n\nGuard both functions by treating a NULL session->user as an explicit\nnot-yet-authenticated state rather than dereferencing it."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/mgmt/user_session.c"],"versions":[{"version":"1f7dd03a88a8405143aab195f6fa9ed2243494b1","lessThan":"33782daeb2ef6f620b08d41f1a15785676370c78","status":"affected","versionType":"git"},{"version":"1f7dd03a88a8405143aab195f6fa9ed2243494b1","lessThan":"d13da43938d15b0b719827d8f2b32df8eaec5def","status":"affected","versionType":"git"},{"version":"f0d3dba61b365cc278d650a5546a7d0bfe050ac8","status":"affected","versionType":"git"},{"version":"7.2.8","lessThan":"7.3","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/smb/server/mgmt/user_session.c"],"versions":[{"version":"7.3","status":"affected"},{"version":"0","lessThan":"7.3","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.4-rc2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2.8"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/33782daeb2ef6f620b08d41f1a15785676370c78"},{"url":"https://git.kernel.org/stable/c/d13da43938d15b0b719827d8f2b32df8eaec5def"}],"title":"ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()","x_generator":{"engine":"bippy-1.2.0"}}}}