{"id":"CVE-2022-47940","aliases":["CVE-2022-47940"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18.","summary":"An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the non-padding case in smb2_write.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the non-padding case in smb2_write.","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en ksmbd en el kernel de Linux 5.15 a 5.18 anterior a 5.18.18. fs/ksmbd/smb2pdu.c carece de validación de longitud en el caso sin relleno en smb2_write.","source":"nvd"}],"published":"2022-12-23T00:00:00.000Z","modified":"2026-06-17T05:14:29.343Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.145"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18","tags":["mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6","tags":["mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/12/23/10","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-14T17:56:12.651Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-47940","url":"https://www.cve.org/CVERecord?id=CVE-2022-47940","licence":"CVE Terms of Use","modified":"2025-04-14T18:37:29.993Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-47940","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47940","licence":"Public domain","modified":"2026-06-17T05:14:29.343Z"}],"updatedAt":"2026-11-25T22:58:17.840Z","epss":{"score":0.01575,"percentile":0.76177,"date":"2026-12-01T12:00:22.000Z"}}