From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] libpcap: Version bump. 1.10.6 -> 1.10.7
Date: Mon, 7 Sep 2026 19:41:47 +0200 [thread overview]
Message-ID: <20260907174147.3055872-1-christian.melki@t2data.com> (raw)
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
reply other threads:[~2026-09-07 17:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260907174147.3055872-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox