{"id":"CVE-2025-22042","aliases":["CVE-2025-22042"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: add bounds check for create lease context","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: agregar verificación de los límites para el contexto de creación de arrendamiento. Agregar verificación de los límites faltante para el contexto de creación de arrendamiento.","source":"nvd"}],"published":"2025-04-16T14:12:03.896Z","modified":"2026-08-05T11:56:15.350Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"629dd37acc336ad778979361c351e782053ea284","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"60b7207893a8a06c78441934931a08fdad63f18e","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"800c482c9ef5910f05e3a713943c67cc6c1d4939","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"a41cd52f00907a040ca22c73d4805bb79b0d0972","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"9a1b6ea955e6c7b29939a6d98701202f9d9644ec","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"bab703ed8472aa9d109c5f8c1863921533363dae","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.134","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.87","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"6.1.134"},{"status":"affected","introduced":"6.2","fixed":"6.6.87"},{"status":"affected","introduced":"6.7","fixed":"6.12.23"},{"status":"affected","introduced":"6.13","fixed":"6.13.11"},{"status":"affected","introduced":"6.14","fixed":"6.14.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/629dd37acc336ad778979361c351e782053ea284","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60b7207893a8a06c78441934931a08fdad63f18e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/800c482c9ef5910f05e3a713943c67cc6c1d4939","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a41cd52f00907a040ca22c73d4805bb79b0d0972","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a1b6ea955e6c7b29939a6d98701202f9d9644ec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bab703ed8472aa9d109c5f8c1863921533363dae","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22042","url":"https://www.cve.org/CVERecord?id=CVE-2025-22042","licence":"CVE Terms of Use","modified":"2026-08-05T11:56:15.350Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22042","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22042","licence":"Public domain","modified":"2026-07-30T06:22:05.410Z"}],"updatedAt":"2026-11-25T22:58:56.579Z","epss":{"score":0.00538,"percentile":0.46736,"date":"2026-12-01T12:00:22.000Z"}}