Re: [PATCH] mm/page-writeback: document folio_mark_dirty() locking more explicitly
Jann Horn <[email protected]>
| Newsgroups | org.kernel.vger.linux-kernel,org.kernel.vger.linux-fsdevel,org.kvack.linux-mm |
|---|---|
| Message-ID | <CAG48ez3ZSX5hN2wXSf-GWXH7eZ9Zu=S0eVfTyzNw5F4j17kOsw@mail.gmail.com> |
On Mon, Aug 10, 2026 at 7:36 PM Christoph Hellwig <[email protected]> wrote: > 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. Ack, I've reworded the commit message and added some more examples I found in mainline history.