code in rpc.svcgssd treats date as signed 32-bit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Upstream patch eb3a145789b9eed
The code should use data_t, not int32_t.
This is complicated by the fact that it gets the date from a Kerberos ticket. Kerberos declares date as int32. For historical reaosns, they have decided to retain it as int32, but whenever there's a comparison or arithemtic that would break, they cast it (date_t)
THis is actually a problem upstream. But it's not clear that upstream has any reason to fix it. Redhat is no longer using rpc.svcgssd. They're using gssproxy to handle the upcall from the kernel. So it's not clear that there's any significant use of svcgssd other than Ubuntu.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nfs-common 1:1.3.4-
ProcVersionSign
Uname: Linux 5.4.0-65-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Tue Mar 9 12:46:12 2021
InstallationDate: Installed on 2020-03-25 (348 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
ProcEnviron:
TERM=vt100
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/tcsh
SourcePackage: nfs-utils
UpgradeStatus: Upgraded to focal on 2020-12-21 (78 days ago)
modified.
mtime.conffile.
mtime.conffile.