Error in GPSD This Sunday will transfer to time shift 19 years ago

In the GPSD , used to extract exact time and data on coordinates from GPS devices, Critical problem , because of which October 24 will take place time offset by 1024 weeks ago, i.e. Time will be translated by March 2002. The problem is manifested in issues from 3.20 to 3.22 inclusive and eliminated in the release of GPSD 3.23 . All users in which the GPSD is used is to urgently install updates, or be prepared for a failure.

The error effect can lead to unpredictable failures on different systems, including directly using GPSD, since this application is applied to obtain the exact time data on some NTP servers used to synchronize time. When shifting the time in systems, there may be problems with authentication (for example, it will stop working out disposable passwords, Kerberos and other access check mechanisms that have a time of action), with certificate verification and with calculations that manipulate time ranges (for example, the user session calculation) . GPSD also comes on various embedded and mobile devices, for many of which are no longer available firmware updates.

GPS Protocol provides for The presence of a counter week of counting week starting January 5, 1980. The problem is that when broadcasting under this counters, only 10 bits are given, which implies its overflow every 1023 weeks (19.7 years). The first overflow occurred in 1999, the second in 2019, and the third will occur in 2038. These events are tracked by manufacturers and for them there are special handlers. At present, a new GPS message format (CNAV) is implemented in parallel, in which 13 bits are given for the counter (i.e., overflow is expected only in 2137).

In the GPSD in the logic of adjusting the appearance of an excess second (added to synchronize the reference world atomic watches with the astronomical time of the Earth) was allowed Error because of which on October 24, 2021, 1024 will be performed prematurely from the counter number of weeks. At the idea of ​​the author’s code, the shift was to happen on December 31, 2022, but the transfer of this date in the number of weeks was fulfilled not true and actually given in the audit number of weeks falling under October 2021 (indicated the value 2180 instead of 2600).

/Media reports.