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

exploitDog

redhat логотип

CVE-2026-99279

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

Описание

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reclaim ended sessions on logoff and expiration LOGOFF and previous-session replacement leave sessions Expired with a zero credential expiry. Ended sessions can retain their memory and connection slots when no further setup arrives on the owning connection. Unpublish a logged-off session while the request reference keeps its response signing and encryption keys alive. Remove its procfs entry before dropping the table reference so a reader cannot remove its own entry on the last put. Clear proc_entry after removal to avoid removing it twice. Reclaim ended sessions from the global table in the existing expiration worker before it acquires conn_list_lock. Only select Expired sessions with zero credential expiry and no references beyond the table reference. Keep sessions whose Kerberos credentials expired available for reauthentication. Unlink the session from its setup connection and all channel connections, so SMB2 sessions and sessions with only secondary SMB3 channels are covered. The session already holds connection references, and sessions_table_lock prevents concurrent channel removal. Queue sessions on a separate disposal list, leaving their hash nodes unhashed, and remove procfs entries and drop table references outside the locks. Keep the pending setup check before allocating a new session so abandoned InProgress sessions can release their slots even at the connection limit. Retain the timeout and reference checks and dispose of those sessions outside the locks. Leave ended Expired sessions to the expiration worker.

A flaw was found in the Linux kernel's ksmbd (Server Message Block) server. Expired sessions resulting from logoff or session replacement are not properly reclaimed when no further setup requests arrive on the connection. A remote attacker can exploit this flaw to retain allocated memory and connection slots, leading to resource exhaustion and a Denial of Service (DoS).

Отчет

Ended ksmbd sessions can remain published after LOGOFF, previous session replacement, or expiration and can retain allocated memory, connection references, procfs state, and limited session slots when no later setup request reaches the owning connection. A remote SMB client with a valid session can repeat session creation and termination to accumulate retained resources and degrade service availability. For the CVSS the PR:L value is selected because the reliable LOGOFF trigger requires an established SMB session, while unauthenticated SessionId zero cleanup does not by itself establish reliable host wide exhaustion. The demonstrated primitive is persistent resource retention rather than memory corruption. Base availability impact is low because immediate host failure is not shown, while sustained abuse could potentially exhaust ksmbd resources and justify high availability impact in the paranoid case.

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

To mitigate this vulnerability, prevent the ksmbd kernel module from being loaded by adding a configuration file to /etc/modprobe.d:

echo "install ksmbd /bin/false" > /etc/modprobe.d/ksmbd.conf

If the module is currently loaded in memory, unload it:

modprobe -r ksmbd

If ksmbd is required for operations and cannot be disabled, restrict incoming network traffic to the SMB port (default TCP port 445) to trusted clients only using firewall rules. Warning: Unloading the kernel module will immediately terminate all active SMB sessions and disrupt file-sharing services for connected clients. Reloading firewall rules or restarting network services may cause temporary connection interruptions.

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

ПлатформаПакетСостояниеРекомендацияРелиз
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-772
https://bugzilla.redhat.com/show_bug.cgi?id=2568625kernel: kernel: ksmbd: Denial of Service via unreclaimed expired sessions

EPSS

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

8.1 High

CVSS3

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

ubuntu
11 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reclaim ended sessions on logoff and expiration LOGOFF and previous-session replacement leave sessions Expired with a zero credential expiry. Ended sessions can retain their memory and connection slots when no further setup arrives on the owning connection. Unpublish a logged-off session while the request reference keeps its response signing and encryption keys alive. Remove its procfs entry before dropping the table reference so a reader cannot remove its own entry on the last put. Clear proc_entry after removal to avoid removing it twice. Reclaim ended sessions from the global table in the existing expiration worker before it acquires conn_list_lock. Only select Expired sessions with zero credential expiry and no references beyond the table reference. Keep sessions whose Kerberos credentials expired available for reauthentication. Unlink the session from its setup connection and all channel connections, so ...

nvd
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reclaim ended sessions on logoff and expiration LOGOFF and previous-session replacement leave sessions Expired with a zero credential expiry. Ended sessions can retain their memory and connection slots when no further setup arrives on the owning connection. Unpublish a logged-off session while the request reference keeps its response signing and encryption keys alive. Remove its procfs entry before dropping the table reference so a reader cannot remove its own entry on the last put. Clear proc_entry after removal to avoid removing it twice. Reclaim ended sessions from the global table in the existing expiration worker before it acquires conn_list_lock. Only select Expired sessions with zero credential expiry and no references beyond the table reference. Keep sessions whose Kerberos credentials expired available for reauthentication. Unlink the session from its setup connection and all channel connections, s

debian
13 дней назад

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

github
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reclaim ended sessions on logoff and expiration LOGOFF and previous-session replacement leave sessions Expired with a zero credential expiry. Ended sessions can retain their memory and connection slots when no further setup arrives on the owning connection. Unpublish a logged-off session while the request reference keeps its response signing and encryption keys alive. Remove its procfs entry before dropping the table reference so a reader cannot remove its own entry on the last put. Clear proc_entry after removal to avoid removing it twice. Reclaim ended sessions from the global table in the existing expiration worker before it acquires conn_list_lock. Only select Expired sessions with zero credential expiry and no references beyond the table reference. Keep sessions whose Kerberos credentials expired available for reauthentication. Unlink the session from its setup connection and all channel connections...

EPSS

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

8.1 High

CVSS3