Out-of-bounds read in Linux kernel - CVE-2022-47938

 

Out-of-bounds read in Linux kernel - CVE-2022-47938

Published: December 26, 2022


Vulnerability identifier: #VU70483
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-47938
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in SMB2_TREE_CONNECT in fs/ksmbd/smb2misc.c. A remote user can send specially crafted request to the ksmbd  daemon, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.


Affected software

Linux kernel
openEuler
kernel
kernel-headers
kernel-tools-devel
bpftool-debuginfo
kernel-debuginfo
python3-perf
kernel-source
bpftool
kernel-devel
python3-perf-debuginfo
perf-debuginfo
kernel-debugsource
kernel-tools-debuginfo
kernel-tools
perf

How to mitigate CVE-2022-47938

Install updates from vendor's website.

Linux kernel - update to 5.19.2
kernel - update to 5.10.0-60.74.0.98
kernel-headers - update to 5.10.0-60.74.0.98
kernel-tools-devel - update to 5.10.0-60.74.0.98
bpftool-debuginfo - update to 5.10.0-60.74.0.98
kernel-debuginfo - update to 5.10.0-60.74.0.98
python3-perf - update to 5.10.0-60.74.0.98
kernel-source - update to 5.10.0-60.74.0.98
bpftool - update to 5.10.0-60.74.0.98
kernel-devel - update to 5.10.0-60.74.0.98
python3-perf-debuginfo - update to 5.10.0-60.74.0.98
perf-debuginfo - update to 5.10.0-60.74.0.98
kernel-debugsource - update to 5.10.0-60.74.0.98
kernel-tools-debuginfo - update to 5.10.0-60.74.0.98
kernel-tools - update to 5.10.0-60.74.0.98
perf - update to 5.10.0-60.74.0.98

External References

Related Security Bulletins