SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Zero-day: Server Message Block (SMB) Server in Linux Kernel 5.15 Has a Critical Vulnerability!

Zero-day: Server Message Block (SMB) Server in Linux Kernel 5.15 Has a Critical Vulnerability!

Dec 25, 2022By Shwetha G2 min read

A critical Linux kernel vulnerability 5.15 was found in SMB servers with KSMBD enabled. KSMBD is a Linux kernel server that implements SMB3 protocol in kernel space for sharing files over the network. The vulnerability is assigned with CVE-2022-47939. Remote attackers are able to execute code on vulnerable Linux Kernel systems without any authentication. This can be prevented by using a Vulnerability Management tool.

The vulnerability was discovered on July 26, 2022, by Zero Day Initiative (ZDI), a zero-day security research firm and the flaw was publicly disclosed on December 22, 2022.

ZDI says SMB2 TREE DISCONNECT command processing is where the exact fault is located. The problem arises from the failure to confirm an object’s existence before conducting actions on it. This flaw allows an attacker to run code within the kernel context.

What is KSMBD?

In 2021, the Linux kernel version 5.15 (CVE-2022-47939) released a new module called “KSMBD“, which was developed by Samsung that provides an SMB server. It is intended to be a low overhead, low footprint, a performant file server that can handle many common use cases and run on smaller devices with constrained resources.

KSMBD claims to have improved performance on a variety of benchmarks, as discussed in the article KSMBD: a new in-kernel SMB server.  The below graph demonstrates a doubling of the performance test. There was also the idea that an in-kernel server is probably a simpler place to enable SMB Direct, which employs RDMA to transport data between systems.

KSMBD vs samba performance comparison using fileop (Linux Client)

–GitHub

Is SMBD also affected?

As per Jeremy Allison, Samba’s co-creator, KSMBD was built entirely from scratch and has no code in common with production Samba. In other words, the Samba file server you could be running on your PCs has nothing to do with the current scenario. Overall, the team notes KSMBD will eventually integrate with Samba. The Samba developers at SerNet are eager to work on and with KSMBD.

Impact

Successful exploitation allows attackers to execute arbitrary code.

Affected Product

Any distribution using the Linux kernel 5.15 or above is potentially at risk. For example, Ubuntu 22.04, and its descendants, Deepin Linux 20.3 and Slackware 15, use this kernel. On the contrary, the Red Hat Enterprise Linux (RHEL) family does not use the 5.15 kernel.

Solution

Linux Kernel 5.15.61 or later versions

Therefore, use SanerNow and keep your systems updated and secure. 

Featured Posts

Open Squidbleed: A 29-Year-Old Squid Proxy Flaw That Leaks Cleartext HTTP Requests
Squidbleed: A 29-Year-Old Squid Proxy Flaw That Leaks Cleartext HTTP Requests

CVE Research

Squidbleed: A 29-Year-Old Squid Proxy Flaw That Leaks Cleartext HTTP Requests

Jun 23, 2026

Open AryStinger Malware Leverages 4,300+ Legacy Routers to Establish Persistent Spy Infrastructure
AryStinger Malware Leverages 4,300+ Legacy Routers to Establish Persistent Spy Infrastructure

CVE Research

AryStinger Malware Leverages 4,300+ Legacy Routers to Establish Persistent Spy Infrastructure

AryStinger represents a calculated shift in IoT threat methodology, abandoning noisy, destructive payloads in favor of silent, long-term reconnaissance infrastructure. By exploiting unpatched, end-of-life routers and NAS devices through decade-old vulnerabilities, the threat operator has assembled a distributed fleet of over 4,300 Executor nodes capable of conducting parallelized DNS enumeration, port scanning, and service fingerprinting at scale, all while masking origin behind residential IP addresses. With active development ongoing and a potential operational timeline stretching back to 2024, AryStinger underscores a growing and underappreciated risk: forgotten edge hardware is not merely a compliance gap but exploitable infrastructure.

Jun 23, 2026

Open From Emergence to Dominance: INC Ransomware Surpasses 830 Victims and Strengthens Its RaaS Operations
From Emergence to Dominance: INC Ransomware Surpasses 830 Victims and Strengthens Its RaaS Operations

CVE Research

From Emergence to Dominance: INC Ransomware Surpasses 830 Victims and Strengthens Its RaaS Operations

INC Ransomware has rapidly evolved into one of the most active ransomware-as-a-service (RaaS) operations in 2026, claiming responsibility for more than 830 victims worldwide since its emergence in August 2023. Security researchers attribute its growth to a combination of aggressive affiliate recruitment, opportunistic targeting, and the disruption of major ransomware groups such as ALPHV/BlackCat and LockBit, which created opportunities for newer actors to expand their influence within the cybercrime ecosystem.

Jun 19, 2026

Open AI Assisted CTF: Same Systems. Two Scans. Before and After Saner
AI attack surface reduction using Saner

CVE Research

AI Assisted CTF: Same Systems. Two Scans. Before and After Saner

What changed when AI tested the lab before and after Saner reduced the usable attack surface

Jun 12, 2026