CVE-2026-138837
dm-snapshot: fix crash if dm_io_client_create fails
Description
In the Linux kernel, the following vulnerability has been resolved: dm-snapshot: fix crash if dm_io_client_create fails If dm_io_client_create() fails, it stores error into the ps->io_client variable. The code would try to free it later with dm_io_client_destroy(ps->io_client), causing an invalid pointer dereference. Fix this by setting ps->io_client = NULL.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Dec. 2, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the kernel patch for dm-snapshot.
- Ensure io_client is NULL on dm_io_client_create failure.
- Test the fix to confirm stability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138837.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138837 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138837
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138837 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138837 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 02, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138837.json">CVE-2026-138837</a> -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: dm-snapshot: fix crash if dm_io_client_create fails If dm_io_client_create() fails, it stores error into the ps->io_client variable. The code would try to free it later with dm_io_client_destroy(ps->io_client), causing an invalid pointer dereference. Fix this by setting ps->io_client = NULL. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138837.json">CVE-2026-138837</a> Added Reference https://git.kernel.org/stable/c/0b2a42b46f9341f1750179440cacaaf41cbd4500 Added Reference https://git.kernel.org/stable/c/202187569441cf41663f5352288bc338839c8307 Added Reference https://git.kernel.org/stable/c/5598210206d061f1c4c5a220f0f73ada7821a388 Added Reference https://git.kernel.org/stable/c/6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2 Added Reference https://git.kernel.org/stable/c/829c4d21148a205eca864429e06530319e1f92d5 Added Reference https://git.kernel.org/stable/c/d1941a047ab477ace3ae3b22c4e552cff86d6661 Added Reference https://git.kernel.org/stable/c/e233fc4f76029af00004f7a37d11627bbfa1de6d Added Reference https://git.kernel.org/stable/c/e7729f8e7f7773604b8b3003101f9fa392109a71