{"id":"CVE-2026-99387","summary":"smb: client: bound POSIX lock data area by response length","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: bound POSIX lock data area by response length\n\nCIFSSMBPosixLock() receives a TRANS2 response whose server-provided\nDataOffset and DataCount are not required by validate_t2() to describe an\ninterval inside the response. A server can therefore make the client read a\ncifs_posix_lock beyond the response buffer and return those kernel bytes\nthrough F_GETLK.\n\nUse smbCalcSize() to obtain the full response length after any multipart\nTRANS2 reassembly, then reject data areas that extend past it before\ndereferencing them.","modified":"2026-11-23T10:02:25.194725090Z","published":"2026-11-19T14:23:26.808Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99387.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/33f564592a1a3b99df582214f2ba7751db101fd0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52675cc732ba1bfbb9647d69a71b1d17eabfb079"},{"type":"WEB","url":"https://git.kernel.org/stable/c/659148924f05cfc453cca39b885d76b25b84cc29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8fc9af68c57156ff64769f30e831553cd03b3000"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b75ba374fe03e3650d86fe9cf7fcec117389516"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c89e3605e9d3d15b584ee99076acd5acfc5b5fb0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d4fca47b80e5534b44a74cc23d29e6cb78afcc84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5993c6146ad74a3dab2d9cbd09106d644d761cb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99387.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99387"},{"type":"PACKAGE","url":"https://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":"d4fca47b80e5534b44a74cc23d29e6cb78afcc84"},{"fixed":"52675cc732ba1bfbb9647d69a71b1d17eabfb079"},{"fixed":"33f564592a1a3b99df582214f2ba7751db101fd0"},{"fixed":"c89e3605e9d3d15b584ee99076acd5acfc5b5fb0"},{"fixed":"659148924f05cfc453cca39b885d76b25b84cc29"},{"fixed":"9b75ba374fe03e3650d86fe9cf7fcec117389516"},{"fixed":"d5993c6146ad74a3dab2d9cbd09106d644d761cb"},{"fixed":"8fc9af68c57156ff64769f30e831553cd03b3000"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-99387.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.17"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"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/osv-test-cve-osv-conversion/osv-output/CVE-2026-99387.json"}}],"schema_version":"1.9.2"}