CVE-2026-99747 ksmbd: fix NULL pointer dereference in session_user_name() and session_account_type()

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-99747?

CVE-2026-99747 is a vulnerability in Linux, published on 20 Nov 2026.

Official description

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.

Which versions are affected by CVE-2026-99747?

Status by vendor 5
WhoReleaseStatusPackages
Red Hat8not affectedbpftool, kernel, kernel-abi-stablelists and 43 more
pkg:rpm/redhat/bpftool?distro=rhel-8
pkg:rpm/redhat/kernel?distro=rhel-8
pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8
Red Hat9not affectedbpftool, kernel, kernel-64k and 104 more
pkg:rpm/redhat/bpftool?distro=rhel-9
pkg:rpm/redhat/kernel?distro=rhel-9
pkg:rpm/redhat/kernel-64k?distro=rhel-9
Red Hat10not affectedkernel, kernel-64k, kernel-64k-core and 73 more
pkg:rpm/redhat/kernel?distro=rhel-10
pkg:rpm/redhat/kernel-64k?distro=rhel-10
pkg:rpm/redhat/kernel-64k-core?distro=rhel-10
Red Hatels/6not affectedkernel, kernel-abi-whitelists, kernel-bootwrapper and 10 more
pkg:rpm/redhat/kernel?distro=rhel-6
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6
pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6
Red Hatels/7not affectedbpftool, kernel, kernel-abi-whitelists and 23 more
pkg:rpm/redhat/bpftool?distro=rhel-7
pkg:rpm/redhat/kernel?distro=rhel-7
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7

How do I fix CVE-2026-99747?

Upgrade to a fixed version.

Is CVE-2026-99747 being exploited?

There is no known exploitation of CVE-2026-99747 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-99747, GHSA-7q5r-j4g2-7fvq, UBUNTU-CVE-2026-99747.

Is CVE-2026-99747 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free