Description
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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
5033091de814ab4b5623faed2755f3064e19e2d2 to < 686b4283f82cd630fafd7ca9b03dfc080b3ec8faaffected5033091de814ab4b5623faed2755f3064e19e2d2 to < ce60d9452a0f2effa72fd20ea270c59ca691d455affected5033091de814ab4b5623faed2755f3064e19e2d2 to < 24840b3139d7415144b81e4f9f4c44670d15bed9affected5033091de814ab4b5623faed2755f3064e19e2d2 to < 8502e2c2d0633f99d94d22ae8dabc10caae1fc2aaffected5033091de814ab4b5623faed2755f3064e19e2d2 to < 03a2cc1756a0570f887d624cd6c535ea0cbd4951affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.142 to ≤ 6.6.*unaffected6.12.92 to ≤ 6.12.*unaffected6.18.34 to ≤ 6.18.*unaffected7.0.11 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/686b4283f82cd630fafd7ca9b03dfc080b3ec8fa ↗
- https://git.kernel.org/stable/c/ce60d9452a0f2effa72fd20ea270c59ca691d455 ↗
- https://git.kernel.org/stable/c/24840b3139d7415144b81e4f9f4c44670d15bed9 ↗
- https://git.kernel.org/stable/c/8502e2c2d0633f99d94d22ae8dabc10caae1fc2a ↗
- https://git.kernel.org/stable/c/03a2cc1756a0570f887d624cd6c535ea0cbd4951 ↗