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

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

ProductVersions
Linux Linuxfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before d4fca47b80e5534b44a74cc23d29e6cb78afcc84 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before 52675cc732ba1bfbb9647d69a71b1d17eabfb079 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before 33f564592a1a3b99df582214f2ba7751db101fd0 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before c89e3605e9d3d15b584ee99076acd5acfc5b5fb0 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before 659148924f05cfc453cca39b885d76b25b84cc29 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before 9b75ba374fe03e3650d86fe9cf7fcec117389516 Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before d5993c6146ad74a3dab2d9cbd09106d644d761cb Affectedfc94cdb94462e71a4a974bc9bc1f483189ae7805 to before 8fc9af68c57156ff64769f30e831553cd03b3000 Affected
Linux Linux2.6.17 Affectedbefore 2.6.17 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.