Re: [PATCH] mm/page-writeback: document folio_mark_dirty() locking more explicitly

From: Christoph Hellwig

Date: Mon Aug 10 2026 - 13:37:06 EST


On Mon, Aug 10, 2026 at 06:02:36PM +0200, Jann Horn wrote:
> I have found two out-of-tree driver bugs in the past where set_page_dirty()
> was used on a page from GUP without appropriate locking, leading to UAF:

More documentation is always good, but out of tree drivers are totally
irrelevant for upstream, so please reword your commit message to be
relevant for the kernel itself and drop these references.