dm-snapshot: fix crash if dm_io_client_create fails

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d1941a047ab477ace3ae3b22c4e552cff86d6661 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5598210206d061f1c4c5a220f0f73ada7821a388 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0b2a42b46f9341f1750179440cacaaf41cbd4500 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e233fc4f76029af00004f7a37d11627bbfa1de6d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 202187569441cf41663f5352288bc338839c8307 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6b84be6acf4a1e0bc33bbe13faa36ac768e7e1e2 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e7729f8e7f7773604b8b3003101f9fa392109a71 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 829c4d21148a205eca864429e06530319e1f92d5 Affectedbefore 5.10.275 Affectedbefore 5.15.226 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected
Linux Linux5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.