CVEvulnerability
CVE-2022-47940
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-12-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125
Description
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.
Affected configurations
• linux linux kernel (>= 5.15 < 5.15.145)
• linux linux kernel (>= 5.16 < 5.18.18)
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- http://www.openwall.com/lists/oss-security/2022/12/23/10 Mailing List, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 Mailing List, Patch, Vendor Advisory
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6 Mailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6 Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/12/23/10 Mailing List, Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 Mailing List, Patch, Vendor Advisory
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6 Mailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6 Patch, Third Party Advisory