[RFC PATCH v2 00/11] KEYS: Sanitize the garbage collector

Jarkko Sakkinen jarkko at kernel.org
Tue Nov 3 12:03:27 UTC 2026


On Tue, Nov 03, 2026 at 10:03:07AM +0000, David Howells wrote:
> Jarkko Sakkinen <jarkko at kernel.org> wrote:
> 
> > The first change has user space visible effect: rmmod semantics will change
> > from always succeeding into returning -EBUSY when keys or restrictions have
> > the LKM pinned.
> 
> Please don't do that.  That will cause the AF_RXRPC module to get pinned in
> place by outstanding connections that haven't timed out yet.

Despite the changes I think it hits wall also with DNS resolver.

This spinned up from [1]. I'll figure out some other angle or have
some ideas but please tell if you have suggestion.

The chunk based processing is available as an independent patch [2]
without prepending changes and is pretty much done, or waiting for
feedback.

> 
> David
> 

[1 https://lore.kernel.org/keyrings/20261101221519.GB2689@quark/
[2 https://lore.kernel.org/keyrings/20261030205412.3138975-1-jarkko@kernel.org/

Br, Jarkko



More information about the Linux-security-module-archive mailing list