From: Linus Torvalds Date: Tue, 21 Mar 2023 18:38:58 +0000 (-0700) Subject: Merge tag 'keys-fixes-20230321' of git://git.kernel.org/pub/scm/linux/kernel/git... X-Git-Tag: v6.6.7~3252 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2faac9a98f010cf5b342fa89ac489c4586364e6e;p=platform%2Fkernel%2Flinux-starfive.git Merge tag 'keys-fixes-20230321' of git://git./linux/kernel/git/dhowells/linux-fs Pull keyrings fixes from David Howells: - Fix request_key() so that it doesn't cache a looked up key on the current thread if that thread is a kernel thread. The cache is cleared during notify_resume - but that doesn't happen in kernel threads. This is causing cifs DNS keys to be un-invalidateable. - Fix a wrapper check in verify_pefile() to not round up the length. - Change asymmetric_keys code to log errors to make it easier for users to work out why failures occurred. * tag 'keys-fixes-20230321' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs: asymmetric_keys: log on fatal failures in PE/pkcs7 verify_pefile: relax wrapper length check keys: Do not cache key in task struct if key is requested from kernel thread --- 2faac9a98f010cf5b342fa89ac489c4586364e6e