← Vulnerability feed

Vulnerability record · CVE-2022-47938 · published 23 December 2022

CVE-2022-47938: Linux ksmbd SMB2_TREE_CONNECT out-of-bounds read and OOPS

Linux · Linux Kernel

ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2 has an out-of-bounds read in fs/ksmbd/smb2misc.c when handling SMB2_TREE_CONNECT, leading to a kernel OOPS. The flaw is remotely reachable over the network by an authenticated SMB client and can crash the kernel, disrupting the SMB service and the host.

6.5 CVSS 3.1 Medium EPSS 60% · top 0.9% CWE-125 · Out-of-bounds read
6.5CVSS 3.1 base score
60%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2. fs/ksmbd/smb2misc.c has an out-of-bounds read and OOPS for SMB2_TREE_CONNECT.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

medium priorityCVSS rates it medium (6.5) with availability-only impact, but the high EPSS score and remote network reachability warrant prompt patching.

What it is

ksmbd in the Linux kernel 5.15 through 5.19 before 5.19.2 has an out-of-bounds read in fs/ksmbd/smb2misc.c when handling SMB2_TREE_CONNECT, leading to a kernel OOPS. The flaw is remotely reachable over the network by an authenticated SMB client and can crash the kernel, disrupting the SMB service and the host.

Impact

An attacker with valid SMB credentials can trigger an out-of-bounds read that causes a kernel OOPS, resulting in denial of service on the affected system. The CVSS vector indicates no confidentiality or integrity impact, only availability.

Attack surface

Reached over the network via SMB2 TREE_CONNECT requests to a ksmbd server; the CVSS vector (AV:N/AC:L/PR:L/UI:N) indicates low attack complexity, required low privileges (authenticated SMB session), and no user interaction.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented; EPSS is high (0.60016, 99.09th percentile), and references include patch commits and a ZDI advisory but no public exploit tag.

What to do

  • Upgrade the Linux kernel to 5.19.2 or later, which contains the fix commit 824d4f64c20093275f72fc8101394d75ff6a249e.
  • If immediate patching is not possible, disable or stop the ksmbd service where SMB file sharing is not required.
  • Restrict SMB access to trusted networks and accounts, since exploitation requires an authenticated session.
  • Monitor kernel logs for OOPS or crash reports referencing fs/ksmbd/smb2misc.c and SMB2_TREE_CONNECT.

Detection

  • Search kernel logs (dmesg, journalctl -k) for OOPS or BUG messages referencing ksmbd, smb2misc.c, or SMB2_TREE_CONNECT.
  • Monitor for repeated or malformed SMB2 TREE_CONNECT requests against ksmbd hosts, especially from unusual clients.
  • Track unexpected ksmbd service restarts or host reboots that coincide with SMB traffic.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-47938 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2023-3079Google Chrome V8 type confusion enables heap corruptionCVE-2023-3079 is a type confusion flaw in the V8 JavaScript engine in Google Chrome before 114.0.5735.110. A crafted HTML page can trigger the confus…KEVEPSS 32%analysed8.8CVE-2013-6282Linux kernel ARM get_user/put_user missing address validationThe get_user and put_user API functions in the Linux kernel before 3.5.5 on v6k and v7 ARM platforms fail to validate certain addresses, allowing cra…KEVEPSS 40%analysed8.4CVE-2022-0185Linux Kernel Filesystem Context Heap Buffer OverflowThe legacy_parse_param function in the Linux kernel's Filesystem Context functionality fails to properly verify supplied parameter lengths, causing a…KEVEPSS 25%analysed8.4CVE-2013-2094Linux Kernel perf_swevent_init Integer Type Flaw Enables Local Privilege EscalationThe perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, allowing a local user to…KEVEPSS 48%analysed7.8CVE-2026-53362Linux kernel IPv6 UDP paged allocation out-of-bounds write__ip6_append_data() in the Linux kernel mis-accounts fraggap on the paged-allocation path, leaving the linear skb area undersized while pagedlen is o…KEVEPSS 0.71%analysed7.8CVE-2026-31431Linux kernel algif_aead in-place crypto operation flawThe Linux kernel's algif_aead AF_ALG AEAD interface operated in-place on buffers that come from different mappings, a flaw the fix resolves by revert…KEVEPSS 3.4%analysed

Source: NIST National Vulnerability Database (record CVE-2022-47938), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.