Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #59121

Bug#877760: linux: KEYS: request_key() does not update/replace expired keys

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#877760: linux: KEYS: request_key() does not update/replace expired keys
Date 2017-10-05 21:10 +0200
Message-ID <uxjGV-727-11@gated-at.bofh.it> (permalink)
References <ux8sa-16a-1@gated-at.bofh.it> <ux8sa-16a-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: tags -1 + patch

Hi

On Thu, Oct 05, 2017 at 09:06:33AM +0200, Salvatore Bonaccorso wrote:
> Source: linux
> Version: 3.16.7-ckt7-1
> Severity: normal
> 
> Hi 
> 
> In 3.16.7-ckt7-1 we applied a backport of "EYS: request_key() should
> reget expired keys rather than give EKEYEXPIRED", adressing #758870,
> 0b0a84154eff56913e91df29de5c3a03a0029e38.
[...]
> Are we potentially miss any relevant needed commits between v3.16..v3.18?
> (054f6180d8b5602b431b5924976c956e760488b1, "KEYS: Simplify
> KEYRING_SEARCH_{NO,DO}_STATE_CHECK flags"?).

I did some bisecting, and indeed it seems we were missing the second
change as mentioned as well in the merge:

https://git.kernel.org/linus/23c836ce5c1e1e0bb942f58a3cbc2f7fc05a08b5

> The second and third fix a bug in NFS idmapper handling whereby a key
> representing a mapping between an id and a name expires and causing
> EKEYEXPIRED to be seen internally in NFS (which prevents the mapping
> from happening) rather than re-looking up the mapping"

With attached patch on top of the (current) jessie branch in git, the
problem is solved.

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#877760: linux: KEYS: request_key() does not update/replace expired keys Salvatore Bonaccorso <carnil@debian.org> - 2017-10-05 09:10 +0200
  Bug#877760: linux: KEYS: request_key() does not update/replace expired keys Salvatore Bonaccorso <carnil@debian.org> - 2017-10-05 21:10 +0200
  Processed: Re: Bug#877760: linux: KEYS: request_key() does not  update/replace expired keys owner@bugs.debian.org (Debian Bug Tracking System) - 2017-10-05 21:10 +0200

csiph-web