# CVE-2026-99387: smb: client: bound POSIX lock data area by response length

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-19T14:23:26.808Z
- Modified: 2026-11-23T08:17:43.373Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before d4fca47b80e5534b44a74cc23d29e6cb78afcc84; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before 52675cc732ba1bfbb9647d69a71b1d17eabfb079; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before 33f564592a1a3b99df582214f2ba7751db101fd0; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before c89e3605e9d3d15b584ee99076acd5acfc5b5fb0; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before 659148924f05cfc453cca39b885d76b25b84cc29; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before 9b75ba374fe03e3650d86fe9cf7fcec117389516; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before d5993c6146ad74a3dab2d9cbd09106d644d761cb; from fc94cdb94462e71a4a974bc9bc1f483189ae7805 before 8fc9af68c57156ff64769f30e831553cd03b3000; 2.6.17 (not affected: before 2.6.17; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/d4fca47b80e5534b44a74cc23d29e6cb78afcc84>
- <https://git.kernel.org/stable/c/52675cc732ba1bfbb9647d69a71b1d17eabfb079>
- <https://git.kernel.org/stable/c/33f564592a1a3b99df582214f2ba7751db101fd0>
- <https://git.kernel.org/stable/c/c89e3605e9d3d15b584ee99076acd5acfc5b5fb0>
- <https://git.kernel.org/stable/c/659148924f05cfc453cca39b885d76b25b84cc29>
- <https://git.kernel.org/stable/c/9b75ba374fe03e3650d86fe9cf7fcec117389516>
- <https://git.kernel.org/stable/c/d5993c6146ad74a3dab2d9cbd09106d644d761cb>
- <https://git.kernel.org/stable/c/8fc9af68c57156ff64769f30e831553cd03b3000>

## Sources

- CVE List: [CVE-2026-99387](https://www.cve.org/CVERecord?id=CVE-2026-99387), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99387](https://nvd.nist.gov/vuln/detail/CVE-2026-99387), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99387 · Whole record: https://cve.day/CVE-2026-99387.json · Rebuilt by cve.day 2026-11-25T22:59:52.052Z
