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

exploitDog

redhat логотип

CVE-2026-99273

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

Описание

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.

A flaw was found in the Linux kernel's ksmbd Server Message Block (SMB) server. When preparing file stream information, the server does not account for a terminating character during response buffer size checks, leading to a two-byte out-of-bounds write. A remote attacker could exploit this flaw by issuing file stream queries that fill the response buffer, causing memory corruption that may result in a system crash (Denial of Service) or potential arbitrary code execution.

Отчет

This vulnerability is rated as Moderate severity because exploitation requires an authenticated remote user to query file stream metadata on an active SMB share, and the resulting out-of-bounds write predominantly triggers a kernel crash causing a denial of service. The in-kernel SMB server (ksmbd) is not enabled by default in Red Hat Enterprise Linux, where file sharing deployments typically rely on the userspace Samba daemon instead. Systems that do not explicitly configure or run ksmbd are not exposed to this flaw.

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

To mitigate this vulnerability, prevent the ksmbd kernel module from loading on the system:

  1. Create a configuration file to disable the module:

echo "install ksmbd /bin/true" > /etc/modprobe.d/disable-ksmbd.conf

  1. If the service is running and the module is currently loaded, stop the service and unload the module:

systemctl stop ksmbd.service

modprobe -r ksmbd

Caveats and Warning: Disabling or unloading the ksmbd module terminates any active SMB connections hosted via the in-kernel SMB server and prevents the service from operating. If active processes or dependencies prevent the module from being unloaded dynamically, a system restart is required to apply the change.

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

ПлатформаПакетСостояниеРекомендацияРелиз
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-787
https://bugzilla.redhat.com/show_bug.cgi?id=2568620kernel: kernel: ksmbd: Denial of Service via out-of-bounds write in get_file_stream_info()

EPSS

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

6.5 Medium

CVSS3

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

ubuntu
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.

nvd
13 дней назад

In the Linux kernel, the following vulnerability has been resolved: ksmbd: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.

msrc
8 дней назад

ksmbd: reserve space for the UTF-16 terminator in stream info

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: reserve space for the UTF-16 terminator in stream info smb_strtoUTF16() always writes a terminating zero UTF-16 unit after the converted characters, but get_file_stream_info() budgets only sizeof(struct smb2_file_stream_info) + streamlen * 2 for a stream entry and sizeof(struct smb2_file_stream_info) + 7 * 2 for the trailing "::$DATA" entry. When an entry exactly fills the 448-byte small response buffer, the terminator is written two bytes past the allocation. Reserve one extra UTF-16 unit in both budget checks. The terminator is not part of the wire format, so the reported lengths are unchanged.

EPSS

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

6.5 Medium

CVSS3