drivers/base/memory: fix memory block reference leak in poison accounting
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 95% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
drivers/base/memory: fix memory block reference leak in poison accounting
memblk_nr_poison_inc() and memblk_nr_poison_sub() look up a memory block
via find_memory_block_by_id(), which acquires a reference to the memory
block device.
Both helpers use the returned memory block without dropping that
reference, leaking the device reference on each successful lookup. Drop
the reference after updating nr_hwpoison.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/03a2cc1756a0570f887d624cd6c535ea0cbd4951https://git.kernel.org/stable/c/24840b3139d7415144b81e4f9f4c44670d15bed9https://git.kernel.org/stable/c/686b4283f82cd630fafd7ca9b03dfc080b3ec8fahttps://git.kernel.org/stable/c/8502e2c2d0633f99d94d22ae8dabc10caae1fc2ahttps://git.kernel.org/stable/c/ce60d9452a0f2effa72fd20ea270c59ca691d455