lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 2 Oct 2021 18:08:41 +0100
From:   Matthew Wilcox <>
To:     Yang Shi <>
Cc:     Hugh Dickins <>, Song Liu <>,
        Rongwei Wang <>,
        Andrew Morton <>,
        Linux MM <>,
        Linux Kernel Mailing List <>,
        William Kucharski <>
Subject: Re: [PATCH v2 1/2] mm, thp: check page mapping when truncating page

On Thu, Sep 30, 2021 at 10:39:14AM -0700, Yang Shi wrote:
> On Thu, Sep 30, 2021 at 9:49 AM Hugh Dickins <> wrote:
> > I assume you're thinking of one of the fuzzer blkdev ones:
> >
> > or
> >
> >
> > I haven't started on those ones yet: yes, I imagine one or both of those
> > will need a further fix (S_ISREG() check somewhere if we're lucky; but
> > could well be nastier); but for the bug in this thread, I expect
> Makes sense to me. We should be able to check S_ISREG() in khugepaged,
> if it is not a regular file, just bail out. Sounds not that nasty to
> me AFAIU.

I don't see why we should have an S_ISREG() check.  I agree it's not the
intended usecase, but it ought to work fine.  Unless there's something
I'm missing?

Powered by blists - more mailing lists