Vulnerability · Published Dec 23, 2022 · Assigned by mitre
CVE-2022-47940
High 8.1
In plain English
A high-severity out-of-bounds read in the linux package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.5%top 24.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.19.6-1 | DEBIAN-CVE-2022-47940 |
| Debian:13 | linux | 5.19.6-1 | DEBIAN-CVE-2022-47940 |
| Debian:14 | linux | 5.19.6-1 | DEBIAN-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux | 5.15.0-60.66 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-60.66 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1030.34 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1030.34 | USN-5876-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1033.40 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1033.40 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1033.40.1 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1033.40.1 | USN-5876-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1029.36 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1029.36 | USN-5876-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1027.32 | USN-5860-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1027.32 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1015.19 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1015.19 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1025.28 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1025.28 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1025.30 | USN-5876-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1025.30 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1028.33 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1028.33 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-60.66 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-60.66 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1017.17 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1029.35 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1029.35 | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1024.26 | USN-5851-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1024.26 | UBUNTU-CVE-2022-47940 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-47940 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-47940 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
References
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18
- https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6
- http://www.openwall.com/lists/oss-security/2022/12/23/10