{"id":"CVE-2025-22042","summary":"ksmbd: add bounds check for create lease context","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: add bounds check for create lease context\n\nAdd missing bounds check for create lease context.","modified":"2026-03-20T12:41:17.801581Z","published":"2025-04-16T14:12:03.896Z","related":["MGASA-2025-0142","MGASA-2025-0146"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22042.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284"},{"type":"WEB","url":"https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22042.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22042"},{"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":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"629dd37acc336ad778979361c351e782053ea284"},{"fixed":"60b7207893a8a06c78441934931a08fdad63f18e"},{"fixed":"800c482c9ef5910f05e3a713943c67cc6c1d4939"},{"fixed":"a41cd52f00907a040ca22c73d4805bb79b0d0972"},{"fixed":"9a1b6ea955e6c7b29939a6d98701202f9d9644ec"},{"fixed":"bab703ed8472aa9d109c5f8c1863921533363dae"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22042.json"}}],"schema_version":"1.7.5"}