CVE-2026-143024: dm-sysfs: fix misbehavior if kobject_init_and_add fails
dm-sysfs: fix misbehavior if kobjectinitandadd fails
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.276 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
Zero the kobject before calling kobject_init_and_add, and call kobject_put if kobject_init_and_add fails.
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The issue requires kobject_init_and_add to fail during dm_sysfs_init, followed by another call to dm_sysfs_init. The subsequent call can encounter an uninitialized kobject.
What does the resolved fix do?
The fix zeros the kobject before calling kobject_init_and_add. If that call fails, it also calls kobject_put as required by the kobject_init_and_add contract.