CVE-2022-47940

Summary

CVECVE-2022-47940
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-12-23 16:15:00 UTC
Updated2022-12-30 15:52:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

References

ReferenceSourceLinkTags
ksmbd: validate length in smb2_write() · torvalds/linux@158a66b · GitHub MISC github.com
cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 MISC cdn.kernel.org
kernel/git/torvalds/linux.git - Linux kernel source tree MISC git.kernel.org
oss-security - Re: Details on this supposed Linux Kernel ksmbd RCE MLIST www.openwall.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183937 Debian Security Update for linux (CVE-2022-47940)
  • 199159 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5851-1)
  • 199160 Ubuntu Security Notification for Linux kernel (GKE) Vulnerabilities (USN-5860-1)
  • 199177 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5876-1)
  • 199179 Ubuntu Security Notification for Linux kernel (GKE) Vulnerabilities (USN-5877-1)
  • 904768 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (12095)
  • 904997 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.72.1-1.cm2 (12530)
  • 905002 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.86.1-1.cm2 (12559)
  • 905024 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.77.1-1.cm2 (12540)
  • 905051 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.80.1-1.cm2 (12547)
  • 905090 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.48.1-4.cm2 (12527)
  • 905091 Common Base Linux Mariner (CBL-Mariner) Security Update for hyperv-daemons (12498)
  • 905117 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.81.1-1.cm2 (12551)
  • 905125 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.74.1-1.cm2 (12536)
  • 905126 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.85.1-1.cm2 (12558)
  • 905146 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.79.1-1.cm2 (12544)
  • 905171 Common Base Linux Mariner (CBL-Mariner) Security Update for livepatch-5.15.82.1-1.cm2 (12555)
  • 905234 Common Base Linux Mariner (CBL-Mariner) Security Update for hyperv-daemons (12931)
  • 905546 Common Base Linux Mariner (CBL-Mariner) Security Update for hyperv-daemons (12931-1)
  • 906445 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (12095-2)
  • 906656 Common Base Linux Mariner (CBL-Mariner) Security Update for kernel (12095-4)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report