Bug 2576684 (CVE-2026-99389) - CVE-2026-99389 kernel: kernel: ksmbd: Denial of Service via out-of-bounds write during directory name conversion
Summary: CVE-2026-99389 kernel: kernel: ksmbd: Denial of Service via out-of-bounds wri...
Keywords:
Status: NEW
Alias: CVE-2026-99389
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 14:33 UTC by OSIDB Bzimport
Modified: 2026-11-19 15:51 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-19 14:33:35 UTC
In the Linux kernel, the following vulnerability has been resolved:

smb: server: size directory name conversion buffer correctly

A 2048-byte ASCII directory name needs 4098 bytes when converted to
UTF-16, including the terminator. ksmbd_convert_dir_info_name() caps
its allocation at PATH_MAX and writes past the end of that buffer.

Allocate space for one UTF-16 code unit per input byte plus the
terminator. Use kmalloc_array() to check the size calculation.


Note You need to log in before you can comment on or make changes to this bug.