{"id":"CVE-2026-99747","aliases":[],"title":"ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00187,"percentile":0.08696},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=7.2.8, <7.3","fixed":"7.3"},{"ecosystem":"Linux","name":"Kernel","range":">=7.3.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=1f7dd03a88a8405143aab195f6fa9ed2243494b1, <33782daeb2ef6f620b08d41f1a15785676370c78","fixed":"33782daeb2ef6f620b08d41f1a15785676370c78"},{"ecosystem":"vendor","name":"Linux","range":">=1f7dd03a88a8405143aab195f6fa9ed2243494b1, <d13da43938d15b0b719827d8f2b32df8eaec5def","fixed":"d13da43938d15b0b719827d8f2b32df8eaec5def"},{"ecosystem":"vendor","name":"Linux","range":">=7.2.8, <7.3","fixed":"7.3"}],"references":[{"url":"https://git.kernel.org/stable/c/33782daeb2ef6f620b08d41f1a15785676370c78","type":"other"},{"url":"https://git.kernel.org/stable/c/d13da43938d15b0b719827d8f2b32df8eaec5def","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99747.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99747","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-20T06:30:46.333Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99747","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.333Z"},{"name":"osv","at":"2026-11-20T21:22:46.961Z","url":"https://osv.dev/vulnerability/CVE-2026-99747","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:04.279Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:55.675Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99747","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:16.525Z"}],"firstSeenAt":"2026-11-20T06:28:16.525Z","publishedAt":"2026-11-20T05:51:18.278Z","modifiedAt":"2026-11-20T21:03:28.842Z"}