CVE-2025-40084 ksmbd: transport_ipc: validate payload size before reading handle
설명
In the Linux kernel, the following vulnerability has been resolved: ksmbd: transport_ipc: validate payload size before reading handle handle_response() dereferences the payload as a 4-byte handle without verifying that the declared payload size is at least 4 bytes. A malformed or truncated message from ksmbd.mountd can lead to a 4-byte read past the declared payload size. Validate the size before dereferencing. This is a minimal fix to guard the initial handle read.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15
해결 버전
- 5.15 미만
- 6.1.158 이상
- 6.6.115 이상
- 6.12.56 이상
- 6.17.6 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/2dc125f5da134c0915a840b62565c60a595673dd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/867ffd9d67285612da3f0498ca618297f8e41f01 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/898d527ed94c19980a4d848f10057f1fed578ffb (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a02e432d5130da4c723aabe1205bac805889fdb2 (새 창)