CVE-2022-47940
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.54% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 74.7% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Critical. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-12-23 00:00Z3 YR AGO
- Last updated
- 2025-04-14 18:37Z1 YR AGO
- Reserved
- 2022-12-23
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.1
- Document digest
- f1a0ae3f12a018ad4d0eb7e4a580825b2f7610377be84cfe209d788130fcfeaa
05 Affected products
06 References
- cdn.kernel.orghttps://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18
- github.comhttps://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6
- git.kernel.orghttps://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2022/12/23/10
07 Fixed in
Arch Linux
- linux Fixed in 6.2-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- linux Fixed in 5.19.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- linux Fixed in 5.19.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- linux Fixed in 5.19.6-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- linux-hwe-edge No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- linux-aws-5.0 No fix yet
- linux-aws-5.3 No fix yet
- linux-azure No fix yet
- linux-azure-5.3 No fix yet
- linux-azure-edge No fix yet
- linux-gcp No fix yet
- linux-gcp-5.3 No fix yet
- linux-gke-4.15 No fix yet
- linux-gke-5.4 No fix yet
- linux-gkeop-5.4 No fix yet
- linux-hwe No fix yet
- linux-oem No fix yet
- linux-oracle-5.0 No fix yet
- linux-oracle-5.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- linux-aws-5.11 No fix yet
- linux-aws-5.13 No fix yet
- linux-aws-5.15 Fixed in 5.15.0-1030.34~20.04.1
- linux-aws-5.8 No fix yet
- linux-azure-5.11 No fix yet
- linux-azure-5.13 No fix yet
- linux-azure-5.15 Fixed in 5.15.0-1033.40~20.04.1
- linux-azure-5.8 No fix yet
- linux-azure-fde-5.15 Fixed in 5.15.0-1033.40~20.04.1.1
- linux-gcp-5.11 No fix yet
- linux-gcp-5.13 No fix yet
- linux-gcp-5.15 Fixed in 5.15.0-1029.36~20.04.1
- linux-gcp-5.8 No fix yet
- linux-gke-5.15 Fixed in 5.15.0-1027.32~20.04.1
- linux-gkeop-5.15 Fixed in 5.15.0-1015.19~20.04.1
- linux-hwe-5.11 No fix yet
- linux-hwe-5.13 No fix yet
- linux-hwe-5.15 Fixed in 5.15.0-60.66~20.04.1
- linux-hwe-5.8 No fix yet
- linux-intel-5.13 No fix yet
- linux-intel-iotg-5.15 Fixed in 5.15.0-1025.30~20.04.1
- linux-lowlatency-hwe-5.15 Fixed in 5.15.0-60.66~20.04.1
- linux-oem-5.10 No fix yet
- linux-oem-5.13 No fix yet
- linux-oem-5.6 No fix yet
- linux-oracle-5.11 No fix yet
- linux-oracle-5.13 No fix yet
- linux-oracle-5.15 Fixed in 5.15.0-1029.35~20.04.1
- linux-oracle-5.8 No fix yet
- linux-raspi2 No fix yet
- linux-riscv No fix yet
- linux-riscv-5.11 No fix yet
- linux-riscv-5.15 Fixed in 5.15.0-1029.33~20.04.1
- linux-riscv-5.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- linux Fixed in 5.15.0-60.66
- linux-aws Fixed in 5.15.0-1030.34
- linux-azure Fixed in 5.15.0-1033.40
- linux-azure-fde Fixed in 5.15.0-1033.40.1
- linux-gcp Fixed in 5.15.0-1029.36
- linux-gke Fixed in 5.15.0-1027.32
- linux-gkeop Fixed in 5.15.0-1015.19
- linux-ibm Fixed in 5.15.0-1025.28
- linux-intel-iot-realtime No fix yet
- linux-intel-iotg Fixed in 5.15.0-1025.30
- linux-kvm Fixed in 5.15.0-1028.33
- linux-lowlatency Fixed in 5.15.0-60.66
- linux-nvidia Fixed in 5.15.0-1017.17
- linux-oem-5.17 No fix yet
- linux-oracle Fixed in 5.15.0-1029.35
- linux-raspi Fixed in 5.15.0-1024.26
- linux-realtime No fix yet
- linux-riscv No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- linux-raspi-realtime No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Nvidia-BlueField 22.04 LTS
- linux-bluefield Fixed in 5.15.0-1014.16
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.