Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 5.15.145 |
Related Weaknesses (CWE)
References
- http://www.openwall.com/lists/oss-security/2022/12/23/10Mailing ListThird Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18Mailing ListPatchVendor Advisory
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a6Mailing ListPatchVendor Advisory
- https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8ePatchThird Party Advisory
- http://www.openwall.com/lists/oss-security/2022/12/23/10Mailing ListThird Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18Mailing ListPatchVendor Advisory
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a6Mailing ListPatchVendor Advisory
- https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8ePatchThird Party Advisory
FAQ
What is CVE-2022-47940?
CVE-2022-47940 is a vulnerability with a CVSS score of 8.1 (HIGH). 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.
How severe is CVE-2022-47940?
CVE-2022-47940 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-47940?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.