smb: client: bound POSIX lock data area by response length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d5993c6146ad74a3dab2d9cbd09106d644d761cb, Kernel 659148924f05cfc453cca39b885d76b25b84cc29, Kernel 8fc9af68c57156ff64769f30e831553cd03b3000 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=fc94cdb94462e71a4a974bc9bc1f483189ae7805 <d5993c6146ad74a3dab2d9cbd09106d644d761cb, >=fc94cdb94462e71a4a974bc9bc1f483189ae7805 <659148924f05cfc453cca39b885d76b25b84cc29, >=fc94cdb94462e71a4a974bc9bc1f483189ae7805 <8fc9af68c57156ff64769f30e831553cd03b3000, >=fc94cdb94462e71a4a974bc9bc1f483189ae7805 <9b75ba374fe03e3650d86fe9cf7fcec117389516, =2.6.17 | d5993c6146ad74a3dab2d9cbd09106d644d761cb, 659148924f05cfc453cca39b885d76b25b84cc29, 8fc9af68c57156ff64769f30e831553cd03b3000, 9b75ba374fe03e3650d86fe9cf7fcec117389516 |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.2, >=2.6.17 <6.12.118 | 6.18.64, 7.3.2, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket