Re: [PATCH] mm: Decline to manipulate the refcount on a slab page

From
Matthew Wilcox <willy@infradead.org>
Date
2025-03-10 14:50:30
Also in
linux-mm
Reply to
Vlastimil Babka, 2025-03-10
On Mon, Mar 10, 2025 at 03:37:51PM +0100, Vlastimil Babka wrote:
Note it's a 6.14 hotfix for kernel oopses due to page refcount overflow.
Not actually overflow ... without VM_DEBUG enabled, networking increases
the refcount from 0 to 1, then decrements it from 1 to 0, causing the
slab to be freed.  So it's a UAF bug induced by a messed-up refcount.
Thread (14 messages) 14 messages, 5 authors, last reply 2025-03-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help