* [ptxdist] [PATCH] libpcap: Version bump. 1.10.6 -> 1.10.7
@ 2026-09-07 17:41 Christian Melki
2026-09-18 9:02 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2026-09-07 17:41 UTC (permalink / raw)
To: ptxdist
Fixes & security.
https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.10.7/CHANGES
Plugs CVEs:
CVE-2026-0799: Access M[] safely in the BPF interpreter.
CVE-2026-31912: Mind the program bounds in pcap_offline_filter().
CVE-2026-31911: Fail opcodes safely in the BPF interpreter.
CVE-2026-6244: Avoid division by zero via pcap_offline_filter().
CVE-2026-6554: Limit "ja L" looping in pcap_offline_filter().
CVE-2026-18313: Fix a memory leak in rpcapd.
CVE-2026-18238: Fix RPCAP_MSG_PACKET validation.
* Fix slight offset in patches, applies cleanly.
* Add y2038 global option.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
.../0100-build-and-install-share-lib-only.patch | 6 +++---
.../0101-pcap-config-add-SYSROOT-support.patch | 0
patches/{libpcap-1.10.6 => libpcap-1.10.7}/series | 0
rules/libpcap.make | 5 +++--
4 files changed, 6 insertions(+), 5 deletions(-)
rename patches/{libpcap-1.10.6 => libpcap-1.10.7}/0100-build-and-install-share-lib-only.patch (87%)
rename patches/{libpcap-1.10.6 => libpcap-1.10.7}/0101-pcap-config-add-SYSROOT-support.patch (100%)
rename patches/{libpcap-1.10.6 => libpcap-1.10.7}/series (100%)
diff --git a/patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch b/patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
similarity index 87%
rename from patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch
rename to patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
index 759ba91f3..b2bd2a9ed 100644
--- a/patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch
+++ b/patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
@@ -12,10 +12,10 @@ Signed-off-by: Alexander Aring <alex.aring@gmail.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
-index fe32c40cf62f..6e56b8fe3af8 100644
+index 310b9b5ea4a7..05e9b39de282 100644
--- a/Makefile.in
+++ b/Makefile.in
-@@ -420,7 +420,7 @@ RELEASE_FILES = $(COMMON_C_SRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \
+@@ -421,7 +421,7 @@ RELEASE_FILES = $(COMMON_C_SRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \
$(MAN3PCAP_NOEXPAND) $(MANFILE) $(MANMISC) $(EXTRA_DIST) \
$(TEST_DIST)
@@ -24,7 +24,7 @@ index fe32c40cf62f..6e56b8fe3af8 100644
libpcap.a: $(OBJ)
@rm -f $@
-@@ -606,7 +606,7 @@ testprogs: FORCE libpcap.a
+@@ -607,7 +607,7 @@ testprogs: FORCE libpcap.a
FORCE:
diff --git a/patches/libpcap-1.10.6/0101-pcap-config-add-SYSROOT-support.patch b/patches/libpcap-1.10.7/0101-pcap-config-add-SYSROOT-support.patch
similarity index 100%
rename from patches/libpcap-1.10.6/0101-pcap-config-add-SYSROOT-support.patch
rename to patches/libpcap-1.10.7/0101-pcap-config-add-SYSROOT-support.patch
diff --git a/patches/libpcap-1.10.6/series b/patches/libpcap-1.10.7/series
similarity index 100%
rename from patches/libpcap-1.10.6/series
rename to patches/libpcap-1.10.7/series
diff --git a/rules/libpcap.make b/rules/libpcap.make
index 468e77e22..42102cc5f 100644
--- a/rules/libpcap.make
+++ b/rules/libpcap.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBPCAP) += libpcap
#
# Paths and names
#
-LIBPCAP_VERSION := 1.10.6
-LIBPCAP_SHA256 := 872dd11337fe1ab02ad9d4fee047c9da244d695c6ddf34e2ebb733efd4ed8aa9
+LIBPCAP_VERSION := 1.10.7
+LIBPCAP_SHA256 := 0b394ac90dbc0a9838ff97468e05c9c9a3e873dec2514cd58db65d859d296e31
LIBPCAP := libpcap-$(LIBPCAP_VERSION)
LIBPCAP_SUFFIX := tar.gz
LIBPCAP_URL := https://www.tcpdump.org/release/$(LIBPCAP).$(LIBPCAP_SUFFIX)
@@ -57,6 +57,7 @@ LIBPCAP_CONF_OPT := \
--$(call ptx/endis, PTXCONF_LIBPCAP_BLUETOOTH)-bluetooth \
--disable-dbus \
--disable-rdma \
+ --$(call ptx/endis, PTXDIST_Y2038)-year2038 \
--with-pcap=linux \
--with-libnl \
--without-dag \
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] libpcap: Version bump. 1.10.6 -> 1.10.7
2026-09-07 17:41 [ptxdist] [PATCH] libpcap: Version bump. 1.10.6 -> 1.10.7 Christian Melki
@ 2026-09-18 9:02 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-09-18 9:02 UTC (permalink / raw)
To: ptxdist; +Cc: Christian Melki
Thanks, applied as 13cee4ce7b04b72368431cb07a9961286c71c5d3.
Michael
[sent from post-receive hook]
On Fri, 18 Sep 2026 11:02:16 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> Fixes & security.
> https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.10.7/CHANGES
>
> Plugs CVEs:
> CVE-2026-0799: Access M[] safely in the BPF interpreter.
> CVE-2026-31912: Mind the program bounds in pcap_offline_filter().
> CVE-2026-31911: Fail opcodes safely in the BPF interpreter.
> CVE-2026-6244: Avoid division by zero via pcap_offline_filter().
> CVE-2026-6554: Limit "ja L" looping in pcap_offline_filter().
> CVE-2026-18313: Fix a memory leak in rpcapd.
> CVE-2026-18238: Fix RPCAP_MSG_PACKET validation.
>
> * Fix slight offset in patches, applies cleanly.
>
> * Add y2038 global option.
>
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20260907174147.3055872-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch b/patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
> similarity index 87%
> rename from patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch
> rename to patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
> index 759ba91f32aa..b2bd2a9edccd 100644
> --- a/patches/libpcap-1.10.6/0100-build-and-install-share-lib-only.patch
> +++ b/patches/libpcap-1.10.7/0100-build-and-install-share-lib-only.patch
> @@ -12,10 +12,10 @@ Signed-off-by: Alexander Aring <alex.aring@gmail.com>
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile.in b/Makefile.in
> -index fe32c40cf62f..6e56b8fe3af8 100644
> +index 310b9b5ea4a7..05e9b39de282 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> -@@ -420,7 +420,7 @@ RELEASE_FILES = $(COMMON_C_SRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \
> +@@ -421,7 +421,7 @@ RELEASE_FILES = $(COMMON_C_SRC) $(HDR) $(MAN1) $(MAN3PCAP_EXPAND) \
> $(MAN3PCAP_NOEXPAND) $(MANFILE) $(MANMISC) $(EXTRA_DIST) \
> $(TEST_DIST)
>
> @@ -24,7 +24,7 @@ index fe32c40cf62f..6e56b8fe3af8 100644
>
> libpcap.a: $(OBJ)
> @rm -f $@
> -@@ -606,7 +606,7 @@ testprogs: FORCE libpcap.a
> +@@ -607,7 +607,7 @@ testprogs: FORCE libpcap.a
>
> FORCE:
>
> diff --git a/patches/libpcap-1.10.6/0101-pcap-config-add-SYSROOT-support.patch b/patches/libpcap-1.10.7/0101-pcap-config-add-SYSROOT-support.patch
> similarity index 100%
> rename from patches/libpcap-1.10.6/0101-pcap-config-add-SYSROOT-support.patch
> rename to patches/libpcap-1.10.7/0101-pcap-config-add-SYSROOT-support.patch
> diff --git a/patches/libpcap-1.10.6/series b/patches/libpcap-1.10.7/series
> similarity index 100%
> rename from patches/libpcap-1.10.6/series
> rename to patches/libpcap-1.10.7/series
> diff --git a/rules/libpcap.make b/rules/libpcap.make
> index 468e77e229c2..42102cc5f0e5 100644
> --- a/rules/libpcap.make
> +++ b/rules/libpcap.make
> @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBPCAP) += libpcap
> #
> # Paths and names
> #
> -LIBPCAP_VERSION := 1.10.6
> -LIBPCAP_SHA256 := 872dd11337fe1ab02ad9d4fee047c9da244d695c6ddf34e2ebb733efd4ed8aa9
> +LIBPCAP_VERSION := 1.10.7
> +LIBPCAP_SHA256 := 0b394ac90dbc0a9838ff97468e05c9c9a3e873dec2514cd58db65d859d296e31
> LIBPCAP := libpcap-$(LIBPCAP_VERSION)
> LIBPCAP_SUFFIX := tar.gz
> LIBPCAP_URL := https://www.tcpdump.org/release/$(LIBPCAP).$(LIBPCAP_SUFFIX)
> @@ -57,6 +57,7 @@ LIBPCAP_CONF_OPT := \
> --$(call ptx/endis, PTXCONF_LIBPCAP_BLUETOOTH)-bluetooth \
> --disable-dbus \
> --disable-rdma \
> + --$(call ptx/endis, PTXDIST_Y2038)-year2038 \
> --with-pcap=linux \
> --with-libnl \
> --without-dag \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-18 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07 17:41 [ptxdist] [PATCH] libpcap: Version bump. 1.10.6 -> 1.10.7 Christian Melki
2026-09-18 9:02 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox