Skip to content
Medium 5.5

ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()

CVE-2026-99747 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 7.2.8, < 7.3→ 7.3
≥ 7.3.0, < 7.3.5→ 7.3.5

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()

session_user_name() and session_account_type() dereference
session->user without checking for NULL. A session can be published
and exposed via the procfs session interface before authentication
completes, during which session->user is NULL:

show_proc_session() -> session_user_name(sess)
-> user_guest(session->user) -> NULL->flags -> oops

Guard both functions by treating a NULL session->user as an explicit
not-yet-authenticated state rather than dereferencing it.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details