Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-99277

Опубликовано: 07 нояб. 2026
Источник: redhat
CVSS3: 5.3
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.

A flaw was found in the Linux kernel's ksmbd, an in-kernel Server Message Block (SMB) server. A remote attacker could exploit this flaw to cause a denial of service (DoS) or potentially corrupt kernel memory. The issue occurs due to improper reference counting during session channel management, where a connection structure can be freed while still in use by an active session channel. By triggering concurrent SMB operations, an attacker can induce a use-after-free condition leading to a system crash.

Отчет

This vulnerability is rated as Moderate because successful exploitation requires authenticated network access to establish SMB session channels and primarily leads to a denial of service via a kernel crash. In Red Hat Enterprise Linux, the in-kernel SMB server (ksmbd) is not loaded or configured by default, as standard installations rely on user-space Samba for SMB file sharing. Only systems where administrators have explicitly enabled and deployed ksmbd are exposed to this flaw.

Меры по смягчению последствий

Disable the ksmbd kernel module to prevent it from loading:

  1. Create a configuration file in /etc/modprobe.d to disable module loading:
echo "install ksmbd /bin/true" > /etc/modprobe.d/ksmbd.conf
  1. If the module is currently loaded, unload it:
modprobe -r ksmbd

Caveats: Disabling the ksmbd module prevents the system from running the in-kernel SMB server. If the module is actively in use by SMB sessions, dependent services must be stopped prior to unloading, or a system restart may be required to apply the changes.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-825
https://bugzilla.redhat.com/show_bug.cgi?id=2568638kernel: kernel: ksmbd: Denial of Service via use-after-free in session channel handling

EPSS

Процентиль: 16%
0.00246
Низкий

5.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.

CVSS3: 7.5
nvd
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.

CVSS3: 7.5
debian
13 дней назад

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

CVSS3: 7.5
github
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: hold a connection reference for each session channel ksmbd_session_unregister() removes a session from the global and per- connection tables before dropping the table reference. A concurrent reference holder can keep the session and its channel list alive after those removals. Connection cleanup can no longer find the unpublished session to remove its channels. Since a channel only stores a raw conn pointer, the connection can be freed while another session reference holder is still accessing it, for example during SMB3.1.1 binding or a procfs read. Take a connection reference when registering a channel and release it on insertion failure, channel removal, or final session destruction. Keep the channels and signing keys until the session is destroyed so a response can still be signed after the session has been unregistered.

EPSS

Процентиль: 16%
0.00246
Низкий

5.3 Medium

CVSS3