← VULNERABILITIES

DEBIAN-CVE-2026-99382

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-19
Age
15d old
Modified
2026-11-22
Product
Debian:13 linux

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: reject FIND data areas that run past the received response CIFSFindFirst() and CIFSFindNext() take the directory entries of a TRANS2_FIND_FIRST2 or TRANS2_FIND_NEXT2 response from DataOffset for DataCount bytes. validate_t2() bounds DataOffset at 1024 and ParameterCount + DataCount by the byte count, and nothing compares DataOffset + DataCount with the number of bytes SendReceive() copied into the buffer. smb_init() places the request and the response in the same cifs_request allocation and cifs_buf_get() clears only the start of it, so a short response whose data area extends past its end has srch_entries_start point at bytes of the request that was just sent, or at whatever the allocation held before, and those bytes are parsed as directory entries. cifs_readdir() and find_cifs_entry() walk the entries with nxt_dir_entry(), which checks every entry but the first of a response against the end of the SMB; cifs_query_path_info() and cifs_backup_query_path_info() read the first entry with no check at all. Those reads stay inside the allocation, but what they return is not part of the response. The last e

Fixed in

6.12.118-1 · 7.3.3-1

Affected packages

EcosystemPackageRangeFixed
Debian:13linux>=0, <6.12.118-16.12.118-1
Debian:14linux>=0, <7.3.3-17.3.3-1

Sources

  • OSV · first seen 12d ago · CC-BY 4.0

References

JSON