A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/memory-tiers: unregister empty tiers outside memory_tier_lock
When offlining a node's last memory empties its tier, clear_node_memory_tier() calls device_unregister() while holding memory_tier_lock. A concurrent sysfs read can hold a kernfs active reference and block in nodelist_show() on that mutex. device_unregister() then waits in kernfs_drain() for the read to finish and release its active reference, while the reader waits for the offlining task to release the mutex.
Return the node's former tier from clear_node_memory_tier(), making the helper more similar to set_node_memory_tier(), which also returns a memory_tier pointer. Let the caller unlink an empty tier under memory_tier_lock before rebuilding demotion targets, then unregister its device after dropping the lock.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/4bbe0324ed925f55374dde24f27ac991c7d30c1f
- git.kernel.org /stable/c/500624f28eca441e35f978979ccfb373202fefd3
- git.kernel.org /stable/c/b93a1f2c709ca410dda586cf57500c6a8bce3c7c
- git.kernel.org /stable/c/c6b97a2688e01a6bd323a7d7db1566e7bbc0b424
- git.kernel.org /stable/c/d2e234d06d77fdaf8a7c1c2fd4effac861b8c9ec
- git.kernel.org /stable/c/f46708be38c3dba2d7f15a153ebb468e17d11652
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning