Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-93787

published high CVSS 3.1 · 8.1

smb: client: bound dirent name against end of SMB response in cifs_filldir

Published
24 Sep 2026, 16:02:20 UTC
Updated
03 Oct 2026, 10:57:22 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4cb3d79beee0fecc739ce07af915d503f29ae557 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cf87ef1e62ed31a439064cef69d6eec38c68bd92 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6e3b965267b7313903baba2739992b1e2e92d540 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 03003506c86f90312b0966283662c42fcab66e4b · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f8cf09a53a0dc1da298e9dd0ba5f21710cf119d6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.189 through 6.1.* (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.111 through 6.12.* (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3192 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3193 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-3336 Fixed Not stated Amazon Linux assessment
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-211.72.1.el10_2 ALSA-2026:93413
AlmaLinux 10 kernel-doc Advisory build 6.12.0-211.72.1.el10_2 ALSA-2026:93413
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 bpftool Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.181.1.rt7.522.el8_10 ALSA-2026:93437
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 perf Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.181.1.el8_10 ALSA-2026:93436
AlmaLinux 9 kernel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.64.1.el9_8 ALSA-2026:93412

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: bound dirent name against end of SMB response in cifs_filldir cifs_filldir() copies the entry name out of an SMB1 TRANS2_FIND_FIRST / FIND_NEXT response using a length (de.namelen) supplied by the server. The kmalloc'd SMB response buffer is bounded, but nothing checks that de.name + de.namelen still lies inside that buffer before the eventual filldir64() -> verify_dirent_name() -> memchr() reads namelen bytes. A hostile SMB1 server that returns an oversized FileNameLength in a directory entry therefore causes memchr() to read past the end of the response slab buffer. Reachable from any user who can list a directory on a CIFS mount served by an attacker-controlled server (getdents64() on the mounted directory): BUG: KASAN: slab-out-of-bounds in memchr+0x71/0x80 Read of size 1 at addr ffff88800e0640cc by task poc/115 Call Trace: dump_stack_lvl+0x64/0x80 print_report+0xce/0x620 kasan_report+0xec/0x120 memchr+0x71/0x80 filldir64+0x4c/0x6a0 cifs_filldir.constprop.0+0x9bb/0x1e00 cifs_readdir+0x2101/0x3380 iterate_dir+0x19c/0x520 __x64_sys_getdents64+0x126/0x210 do_syscall_64+0x107/0x5a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f Pass the end-of-response pointer down to cifs_filldir() and reject entries whose name would extend past that boundary. This bug was discovered by Artiphishell's vTriage pipeline, which generated a userspace reproducer (an emulated hostile SMB1 server plus a getdents64() client) that reliably triggers the KASAN report on an unpatched kernel. The fix below was drafted with the Claude coding assistant; a userspace reproducer is available on request.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

61

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
Scenarios
en: AV:N - cifs_filldir() takes FileNameLength from an SMB1 TRANS2_FIND_FIRST/FIND_NEXT directory entry received over TCP/445; CIFSFindFirst() stores that PDU in srch_inf.ntwrk_buf_start and getdents64→iterate_dir→cifs_readdir() passes each entry to cifs_filldir(), so the oversized name length is protocol data from the remote SMB peer. AC:L - The hostile SMB1 server sets FileNameLength (cifs_fill_dirent_dir/full/search/both) and Flags2 unicode and can place FileName near the end of the CIFSFindFirst buffer so de.name+de.namelen exceeds end_of_smb; the old namelen>max_len check only compared against the whole SMB size, so the overread is deterministic with no race. PR:N - The attacker is the remote SMB1 server (or a MITM on an unsigned SMB1 session) that returns the FIND_FIRST/FIND_NEXT payload; CIFSFindFirst() and cifs_filldir() use the victim's existing tcon and impose no account or capability check on that peer. UI:R - cifs_filldir() is reached only from cifs_dir_ops.iterate_shared (cifs_readdir) on getdents64→iterate_dir; the SMB1 server cannot inject an unsolicited FIND response into that path, so a victim process must list a directory on the CIFS mount. S:U - The slab-out-of-bounds read in filldir64's verify_dirent_name()/memchr() stays inside the client kernel's CIFS response buffer on the same host; this is not a VM escape, IOMMU bypass, or sandbox boundary crossing. C:H - FileNameLength can be just under PATH_MAX while de.name sits at the end of the kmalloc'd FIND response, so memchr() and filldir64's unsafe_copy_dirent_name() read up to ~4095 bytes of adjacent kernel heap and copy them into the getdents64 userspace buffer. I:N - The defect is an over-read of the FIND entry name; cifs_filldir() does not write past the SMB buffer, and filldir64 only copies the over-read bytes to the caller's dirent buffer, giving no kernel write or control-flow primitive. A:H - KASAN reports a slab-out-of-bounds read in memchr() from filldir64←cifs_filldir on the hostile FileNameLength; walking those bytes off the cifs_request object into an unmapped page oopses or panics the client, and the server can retrigger it on every getdents64.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4cb3d79beee0fecc739ce07af915d503f29ae557 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cf87ef1e62ed31a439064cef69d6eec38c68bd92 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6e3b965267b7313903baba2739992b1e2e92d540 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 03003506c86f90312b0966283662c42fcab66e4b (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f8cf09a53a0dc1da298e9dd0ba5f21710cf119d6 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.189 through 6.1.* (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.111 through 6.12.* (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

1

Linux · cna

smb: client: bound dirent name against end of SMB response in cifs_filldir

Provenance

Schema
5.2
Searchable
yes
Content hash
9b87391ff5c48ce2febcb72099f8a40bf30bb67b6ba69e831031fc94f8590d19
Ingested
03 Oct 2026, 11:47:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected