Re: [PATCH net] rxrpc: Fix RxGK server to reject an expired ticket

From: Andrew Stellman

Date: Fri Nov 20 2026 - 16:44:39 EST


On Fri, 20 Nov 2026 19:05:24 +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> This check only works when the ticket's expirationtime turns into a
> positive number of seconds in key->expiry. Two cases get past it.

Both cases are real. I reproduced them under QEMU with v1 applied: a
ticket with an end time half a second before or after the start of 1970
gets a connection and a reply, and one with an end time a day before
1970 gets no abort, so the client times out.

v2 compares the ticket's end time with the current time before the key
is built, as rxkad does. One check covers both cases and a normal
expiry, and rxrpc_preparse_xdr_yfs_rxgk() is left alone. I'll send it
as a new thread.

pw-bot: cr