From: "Lorenzo Stoakes (ARM)" <ljs@kernel.org>
To: vova tokarev <vladimirelitokarev@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>,
Matthew Wilcox <willy@infradead.org>,
Pedro Falcato <pfalcato@suse.de>,
akpm@linux-foundation.org, security@kernel.org,
linux-mm@kvack.org, Alexander Viro <viro@zeniv.linux.org.uk>,
Jan Kara <jack@suse.cz>, Kees Cook <kees@kernel.org>,
linux-fsdevel@vger.kernel.org
Subject: Re: Fwd: BadBunny: UFFDIO_COPY shmem killpriv bypass leading to local privilege escalation
Date: Tue, 11 Aug 2026 17:12:05 +0100 [thread overview]
Message-ID: <antHw-EHZL1erVTH@gremlin> (raw)
In-Reply-To: <CAGBKPgPanzn8WuHK1hm44FLCXwJcnk7W=J6b17D9UzScWW7SJQ@mail.gmail.com>
On Tue, Aug 11, 2026 at 02:16:31PM +0300, vova tokarev wrote:
> Matthew, Christian, Pedro,
>
> Lol - fair point, I'll keep the reggaeton references out of future
> commit messages.
>
> Agreed on severity - but this is a
> killpriv invariant violation, and the kernel has treated those as
> security fixes worth backporting before.
>
> 1. The fallocate killpriv fixes (XFS fbe7e5200365, ext4, f2fs) are
> exact precedent: same reasoning ("can change the file contents [...]
> should drop file privileges like suid just like we do for a regular
> write()"), same one-line fix, and they went through the security fix
> process with CVE assignment and stable backports.
>
> 2. CVE-2023-0386 (overlayfs SUID preservation) -- same bug class,
> CVSS 7.8, CISA KEV.
>
> 3. If permissions alone protected SUID, write() wouldn't strip it.
> killpriv exists for POSIX ACLs granting write to non-owners,
> group-writable SUID, container shared mounts, and chaining with
> other write-access bugs.
>
> 4. This path is reachable unprivileged even with
> vm.unprivileged_userfaultfd=0 (UFFD_USER_MODE_ONLY bypasses it).
>
> 5. Pedro's point that MAP_SHARED faults also skip killpriv isn't a
> counterargument -- it's another instance of the same class. We can
> fix them independently.
>
> Given that the fallocate killpriv fixes went through the security fix
> process (CVE + stable backport), should this follow the same path?
> Happy to send the patch either way.
>
> Thanks,
> Vladimir
Please don't send what sounds exactly like an undisclosed AI-generated
'summary' type email.
https://docs.kernel.org/process/coding-assistants.html
https://docs.kernel.org/process/generated-content.html
I really wonder if this summary email trend (never ever saw it before LLMs
came into being) is just there to workslop people into providing the next
LLM prompt...
Please don't send top-posted email quoting everything below it - at least
put in the bare minimum effort required to see how kernel discussions have
functioned for the past 3+ decades.
Especially if you are looking to assign some silly name to an alleged
vulnerability.
I _hate_ how this stuff has impacted the mailing list.
--
Cheers, Lorenzo
prev parent reply other threads:[~2026-08-11 16:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGBKPgOm8q-8_rwyRPEmSj8JXdh_GaK1Q8vpJ=j-+yA0SgcNQw@mail.gmail.com>
[not found] ` <CAGBKPgPPALX_5CQJAKUNjwi2fD28pBeS5pRuwQgePU93pOy8EA@mail.gmail.com>
[not found] ` <anXnHMInq_JLYbWc@pedro-suse.lan>
[not found] ` <CAGBKPgOfbMJruqcegJca6BBpEtpd91s5ASF_VU+gucWsjwp8WA@mail.gmail.com>
2026-08-08 12:17 ` Fwd: BadBunny: UFFDIO_COPY shmem killpriv bypass leading to local privilege escalation Pedro Falcato
2026-08-10 4:05 ` Matthew Wilcox
2026-08-11 9:21 ` Christian Brauner
[not found] ` <CAGBKPgPanzn8WuHK1hm44FLCXwJcnk7W=J6b17D9UzScWW7SJQ@mail.gmail.com>
2026-08-11 15:56 ` Pedro Falcato
2026-08-11 16:12 ` Lorenzo Stoakes (ARM) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=antHw-EHZL1erVTH@gremlin \
--to=ljs@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=brauner@kernel.org \
--cc=jack@suse.cz \
--cc=kees@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pfalcato@suse.de \
--cc=security@kernel.org \
--cc=viro@zeniv.linux.org.uk \
--cc=vladimirelitokarev@gmail.com \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox