CVE-2026-99387

Source
https://cve.org/CVERecord?id=CVE-2026-99387
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99387.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99387
Downstream
Published
2026-11-19T14:23:26Z
Modified
2026-11-19T17:00:43Z
Summary
smb: client: bound POSIX lock data area by response length
Details

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

smb: client: bound POSIX lock data area by response length

CIFSSMBPosixLock() receives a TRANS2 response whose server-provided DataOffset and DataCount are not required by validate_t2() to describe an interval inside the response. A server can therefore make the client read a cifs_posix_lock beyond the response buffer and return those kernel bytes through F_GETLK.

Use smbCalcSize() to obtain the full response length after any multipart TRANS2 reassembly, then reject data areas that extend past it before dereferencing them.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99387.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fc94cdb94462e71a4a974bc9bc1f483189ae7805
Fixed
659148924f05cfc453cca39b885d76b25b84cc29
Fixed
9b75ba374fe03e3650d86fe9cf7fcec117389516
Fixed
d5993c6146ad74a3dab2d9cbd09106d644d761cb
Fixed
8fc9af68c57156ff64769f30e831553cd03b3000

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99387.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.17
Fixed
6.12.118
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99387.json"