CVE-2022-47940: High severity Linux Linux kernel vulnerability

Published Dec 23, 2022
·
Updated

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 smb2write.

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=5.15<5.18.8
Linux Linux kernel>=5.15<5.15.145
Linux Linux kernel>=5.16<5.18.18
debian/linux<5.19.6-1
5.19.6-1
debian/linux<5.19.6-1
5.19.6-1
debian/linux<5.19.6-1
5.19.6-1
debian/linux
5.19.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.19.6-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 5.18.18

Event History

Dec 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via OSV·04:15 PM
DescriptionAffected Software
Dec 30, 2022
Data Sourced
03:52 PM
Weakness
Data Sourced
via NVD·03:52 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·03:52 PM
Affected Software
Aug 21, 2024
Updated
via NVD·06:19 PM
Affected Software
Nov 21, 2024
Updated
via NVD·07:32 AM
RemedyAffected Software
Apr 14, 2025
Updated
via NVD·07:15 PM
SeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity

Frequently Asked Questions

1

What is the severity of CVE-2022-47940?

CVE-2022-47940 has been categorized as high severity due to the lack of length validation in the smb2_write function.

2

How do I fix CVE-2022-47940?

To fix CVE-2022-47940, upgrade your Linux kernel to version 5.18.18 or later.

3

Which Linux kernel versions are affected by CVE-2022-47940?

CVE-2022-47940 affects Linux kernel versions from 5.15 through 5.18 before 5.18.18.

4

What are the potential impacts of CVE-2022-47940?

Exploitation of CVE-2022-47940 could lead to data corruption or denial of service conditions in the affected systems.

5

Is CVE-2022-47940 related to SMB protocol vulnerabilities?

Yes, CVE-2022-47940 relates specifically to vulnerabilities in the SMB2 protocol implementation within the ksmbd module.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203