CVE-2026-138837
Not scored
dm-snapshot: fix crash if dm_io_client_create fails
- Severity
- Not scored
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 7 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.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138837 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138837 changed 2026-11-30 | Public domain |