CVE-2026-99747

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

No CVSS score yet EPSS 0.19%

Published 20 Nov 2026 Updated 20 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99747

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99747 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.82% of all scored CVEs. Scores of 27 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1f7dd03a88a8405143aab195f6fa9ed2243494b1, before 33782daeb2ef6f620b08d41f1a15785676370c78
affected from 1f7dd03a88a8405143aab195f6fa9ed2243494b1, before d13da43938d15b0b719827d8f2b32df8eaec5def
affected f0d3dba61b365cc278d650a5546a7d0bfe050ac8
affected from 7.2.8, before 7.3
Other versions: unaffected
Linux
affected 7.3
unaffected before 7.3
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99747 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99747

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99747
trivy image --scanners vuln IMAGE | grep CVE-2026-99747

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99747 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.