Skip to contentSkip to conversation

package/gpsd: security bump version to 3.27.2

PATCH In review Bernd Kuhls 2 participants 2 messages Dec 29, 2025 – Feb 3

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gpsd: security bump version to 3.27.2

https://gitlab.com/gpsd/gpsd/-/blob/release-3.27.2/NEWS

Removed all patches which are included in this release.

Fixes CVE-2025-67268 & CVE-2025-67269.

---
 ...ile-and-dumpfile-options-for-gpsprof.patch | 40 ----------
 ...02-gpsd-gpsd.c-Fix-empty-gst-in-POLL.patch | 78 -------------------
 ...t-force-_TIME_BITS-on-a-32-bit-syste.patch | 49 ------------
 ...e.c-Make-client-UDP-socket-non-block.patch | 32 --------
 package/gpsd/gpsd.hash                        |  2 +-
 package/gpsd/gpsd.mk                          |  2 +-
 6 files changed, 2 insertions(+), 201 deletions(-)
 delete mode 100644 package/gpsd/0001-Fix-the-logfile-and-dumpfile-options-for-gpsprof.patch
 delete mode 100644 package/gpsd/0002-gpsd-gpsd.c-Fix-empty-gst-in-POLL.patch
 delete mode 100644 package/gpsd/0003-SConscript-Do-not-force-_TIME_BITS-on-a-32-bit-syste.patch
 delete mode 100644 package/gpsd/0004-gpsd-libgpsd_core.c-Make-client-UDP-socket-non-block.patch
package/gpsd/0001-Fix-the-logfile-and-dumpfile-options-for-gpsprof.patch deleted +0 -40
deleted file mode 100644
index d466c9fc58..0000000000
@@ -1,40 +0,0 @@
-From f18e52dad4eeba2434a988bc899f6c7fe973f4ba Mon Sep 17 00:00:00 2001
-Message-Id: <f18e52dad4eeba2434a988bc899f6c7fe973f4ba.1749533625.git.yann.morin@orange.com>
-From: Richard Lindsley <[email protected]>
-Date: Fri, 23 May 2025 18:48:57 -0700
-Subject: [PATCH] Fix the --logfile and --dumpfile options for gpsprof
-
-The open() function requires that the "encoding" argument is a str or
-None.
-
-Upstream: https://gitlab.com/gpsd/gpsd/-/commit/bad9973b8e73e9e2cc0af2555edc9c8a0855d203
-Signed-off-by: Yann E. MORIN <[email protected]>
----
- clients/gpsprof.py.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/clients/gpsprof.py.in b/clients/gpsprof.py.in
-index 8b1a5234b..e5e448a53 100644
---- a/clients/gpsprof.py.in
-+++ b/clients/gpsprof.py.in
-@@ -1208,7 +1208,7 @@ if __name__ == '__main__':
-     options = parser.parse_args()
- 
-     if options.logfile:
--        options.logfp = open(options.logfile, "w", encoding=ascii)
-+        options.logfp = open(options.logfile, "w", encoding="ascii")
-     else:
-         options.logfp = None
- 
-@@ -1255,7 +1255,7 @@ if __name__ == '__main__':
-         plot.postprocess()
-         # Save the timing data (only) for post-analysis if required.
-         if options.dumpfile:
--            with open(options.dumpfile, "w", encoding=ascii) as fp:
-+            with open(options.dumpfile, "w", encoding="ascii") as fp:
-                 fp.write(plot.dump())
-         if options.logfp:
-             options.logfp.close()
--- 
-2.34.1
-
package/gpsd/0002-gpsd-gpsd.c-Fix-empty-gst-in-POLL.patch deleted +0 -78

78 lines not on this page · raw message

package/gpsd/0003-SConscript-Do-not-force-_TIME_BITS-on-a-32-bit-syste.patch deleted +0 -49

49 lines not on this page · raw message

package/gpsd/0004-gpsd-libgpsd_core.c-Make-client-UDP-socket-non-block.patch deleted +0 -32
deleted file mode 100644
index 73ecce5b8b..0000000000
@@ -1,32 +0,0 @@
-From 0b1769a3abe386c139a8b4d4967b57a00f0f286a Mon Sep 17 00:00:00 2001
-Message-Id: <0b1769a3abe386c139a8b4d4967b57a00f0f286a.1749533625.git.yann.morin@orange.com>
-In-Reply-To: <f18e52dad4eeba2434a988bc899f6c7fe973f4ba.1749533625.git.yann.morin@orange.com>
-References: <f18e52dad4eeba2434a988bc899f6c7fe973f4ba.1749533625.git.yann.morin@orange.com>
-From: Miroslav Lichvar <[email protected]>
-Date: Tue, 10 Jun 2025 00:21:52 +0200
-Subject: [PATCH] gpsd/libgpsd_core.c: Make client UDP socket non-blocking.
-
-Resolving issue #337
-
-Upstream: https://gitlab.com/gpsd/gpsd/-/commit/992a90e6a50b4d3dcb091fff4658e7892c985c7f
-Signed-off-by: Yann E. MORIN <[email protected]>
----
- gpsd/libgpsd_core.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/gpsd/libgpsd_core.c b/gpsd/libgpsd_core.c
-index f328648f7..6b77e2b97 100644
---- a/gpsd/libgpsd_core.c
-+++ b/gpsd/libgpsd_core.c
-@@ -614,7 +614,7 @@ int gpsd_open(struct gps_device_t *session)
-                  "CORE: opening UDP feed at %s, port %s.\n", host,
-                  port);
-         if (0 > (dsock = netlib_connectsock1(AF_UNSPEC, host, port, "udp",
--                                             0, true, NULL, 0))) {
-+                                             1, true, NULL, 0))) {
-             // cast for 32-bit ints.
-             GPSD_LOG(LOG_ERROR, &session->context->errout,
-                      "CORE: UDP device open error %s(%ld).\n",
--- 
-2.34.1
-
package/gpsd/gpsd.hash +1 -1
index 984ddab125..a7b76afbc6 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  dc7e465968c1540e61bc57c7586d6a57a0047212a014efdad348f907bc2e0990  gpsd-3.26.1.tar.gz
+sha256  ebb66ed92018b79cec88efb60e35a596925eef46502cf03d6ff0aea636ee7461  gpsd-3.27.2.tar.gz
 sha256  fdf339997bbca9eaf507476b82fbcac608fc39a3d89b86b51e16db4c9f933716  COPYING
package/gpsd/gpsd.mk +1 -1
index c5c4dad296..f52c00ee17 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GPSD_VERSION = 3.26.1
+GPSD_VERSION = 3.27.2
 GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd
 GPSD_LICENSE = BSD-2-Clause
 GPSD_LICENSE_FILES = COPYING
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Bernd,

Quoted 7 lines · Bernd Kuhls

https://gitlab.com/gpsd/gpsd/-/blob/release-3.27.2/NEWS

Removed all patches which are included in this release.

Fixes CVE-2025-67268 & CVE-2025-67269.

As usual, when possible we try to minimize the impact on the LTS branches. So I've split this into two steps:

1. Backport the security fixes
2. Bump

This helps our LTS maintainers by reducing their workload.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot