# CVE-2026-138837: dm-snapshot: fix crash if dm_io_client_create fails

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:26.750Z
- Modified: 2026-11-30T14:17:38.590Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d1941a047ab477ace3ae3b22c4e552cff86d6661; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5598210206d061f1c4c5a220f0f73ada7821a388; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0b2a42b46f9341f1750179440cacaaf41cbd4500; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e233fc4f76029af00004f7a37d11627bbfa1de6d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 202187569441cf41663f5352288bc338839c8307; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e7729f8e7f7773604b8b3003101f9fa392109a71; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 829c4d21148a205eca864429e06530319e1f92d5; before 5.10.275; before 5.15.226; before 6.1.193; before 6.6.163; and 3 more (not affected: from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/d1941a047ab477ace3ae3b22c4e552cff86d6661>
- <https://git.kernel.org/stable/c/5598210206d061f1c4c5a220f0f73ada7821a388>
- <https://git.kernel.org/stable/c/0b2a42b46f9341f1750179440cacaaf41cbd4500>
- <https://git.kernel.org/stable/c/e233fc4f76029af00004f7a37d11627bbfa1de6d>
- <https://git.kernel.org/stable/c/202187569441cf41663f5352288bc338839c8307>
- <https://git.kernel.org/stable/c/6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2>
- <https://git.kernel.org/stable/c/e7729f8e7f7773604b8b3003101f9fa392109a71>
- <https://git.kernel.org/stable/c/829c4d21148a205eca864429e06530319e1f92d5>

## Sources

- CVE List: [CVE-2026-138837](https://www.cve.org/CVERecord?id=CVE-2026-138837), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138837](https://nvd.nist.gov/vuln/detail/CVE-2026-138837), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138837 · Whole record: https://cve.day/CVE-2026-138837.json · Rebuilt by cve.day 2026-11-30T14:32:31.296Z
