Thread (9 messages) 9 messages, 4 authors, 2025-03-20

Re: [PATCH v2] keys: Fix UAF in key_put()

From: David Howells <dhowells@redhat.com>
Date: 2025-03-19 18:47:48
Also in: keyrings, lkml, stable

Linus Torvalds [off-list ref] wrote:
We really should have "test_bit_acquire()" and "set_bit_release()".
I considered using test_bit_acquire() but, as you say, there's no
set_bit_release() as yet.  I could switch things to initialise the flag to set
on key creation and clear the flag instead.

David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help