oss-sec mailing list archives
Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation
From: Justin Swartz <justin.swartz () risingedge co za>
Date: Sat, 2 May 2026 20:56:08 +0200
On Fri, May 1, 2026 at 20:25:17 -0400, Reid Sutherland wrote:
Why is userspace allowed to load modules in any capacity?
It's potentially useful for autoloading driver modules when PnP devices are connected, which could be considered deadweight if they were loaded, or baked into the kernel itself, when the respective devices aren't present.
Why do we need kernel modules for math?
To interact with cryptographic acceleration hardware, if present or desired, and to provide support for kernel subsystems that rely on encryption, like IPSec or WireGuard.
I'm assuming any thoroughly qualified platform engineer compiles the host kernel without module support. At least, that needs to make a comeback, bring back applying grsec patches and make menuconfig..
I'm thoroughly unqualified, so take my opinion with a bag of salt: If you have a use case that allows you to avoid loadable kernel modules indefinitely in a completely monolithic kernel then, by all means, roll your kernel as such and you'll be slightly safer than those who don't. Kernel configuration minification doesn't seem to be spoken of much anymore except by those who have fairly resource constrained embedded systems that run Linux on some application processor. If you're prepared to go that far, why not roll your own distro? LFS is a potentially good starting point, but you can get by with even less. For example: Linux, musl, busybox, just the applications (and mandatory dependencies) you need, and some init scripts to tie it all together.
Current thread:
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation, (continued)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation cyber security (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Greg KH (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Solar Designer (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Greg KH (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Alan Coopersmith (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Reid Sutherland (May 01)
- Re: [EXTERNAL] Re: [oss-security] CVE-2026-31431: CopyFail: linux local privilege scalation Shrader, David Lee (May 01)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Justin Swartz (May 01)
- Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation cyber security (May 01)
- Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Reid Sutherland (May 02)
- Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Justin Swartz (May 02)
- Re: Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Eric Biggers (May 02)
- Re: Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Alexander Bochmann (May 02)
- Re: Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Collin Funk (May 02)
- Re: Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Malik, Vaibhav (May 02)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Reid Sutherland (May 02)
- Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Brian May (May 02)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation nightmare . yeah27 (May 02)
- Re: Re: CVE-2026-31431: CopyFail: linux local privilege scalation Reid Sutherland (May 03)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Sam James (Apr 30)
- Re: CVE-2026-31431: CopyFail: linux local privilege scalation Eric Biggers (Apr 30)
