CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's device mapper (dm) subsystem, where a race condition can occur if the resume and remove ioctls are issued simultaneously. This can lead to improper device state management, potentially resulting in misbehavior such as use-after-free errors in targets like dm-integrity. System administrators and developers managing Linux environments should prioritize this issue to prevent instability and ensure proper device handling.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: dm: fix resume-vs-remove race If the user issues the resume ioctl and the remove ioctl at the same time, it may be possible that the device is resumed after it is suspended in __dm_destroy. The result is that the table is destroyed without calling the postsuspend method. Dm targets expect that they may be removed only after the postsuspend method method was called. If we break this expectation, it can cause misbehavior in various targets. For example - in the dm-integrity target, the reboot notifier is not unregistered, leading to use-after-free. Fix this bug by refusing to resume if the device is being destroyed.