Skip to contentSkip to conversation

dhcpcd: patch CVE-2026-56113

PATCH Superseded [email protected] 1 participant 4 messages Jul 1

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 dhcpcd: patch CVE-2026-56113

From: "Theo Gaige (Schneider Electric)" <[email protected]>

Backport patch [1] mentionned in [2]

[1] https://github.com/NetworkConfiguration/dhcpcd/commit/5733d3c59a5651f64357ac11c98b4f39895c8d25

[2] https://security-tracker.debian.org/tracker/CVE-2026-56113

---
 .../dhcpcd/dhcpcd_10.0.6.bb                   |  1 +
 .../dhcpcd/files/CVE-2026-56113.patch         | 92 +++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcpcd/files/CVE-2026-56113.patch
meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb +1 -0
index 6bde9b1f51..65dcbe52ec 100644
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
            file://dhcpcd.service \
            file://[email protected] \
            file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \
+           file://CVE-2026-56113.patch \
            "
 
 SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862"
meta/recipes-connectivity/dhcpcd/files/CVE-2026-56113.patch new file +92 -0

92 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 dhcpcd: patch CVE-2026-56114

From: "Theo Gaige (Schneider Electric)" <[email protected]>

Backport patch [1] mentionned in [2]

[1] https://github.com/NetworkConfiguration/dhcpcd/commit/2f00c7bfc408b6582d331932dfa47829c4819029

[2] https://security-tracker.debian.org/tracker/CVE-2026-56114

---
 .../dhcpcd/dhcpcd_10.0.6.bb                   |  1 +
 .../dhcpcd/files/CVE-2026-56114.patch         | 34 +++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcpcd/files/CVE-2026-56114.patch
meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb +1 -0
index 65dcbe52ec..bc87b91503 100644
@@ -16,6 +16,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
            file://[email protected] \
            file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \
            file://CVE-2026-56113.patch \
+           file://CVE-2026-56114.patch \
            "
 
 SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862"
meta/recipes-connectivity/dhcpcd/files/CVE-2026-56114.patch new file +34 -0
new file mode 100644
index 0000000000..748dc1ee8c
@@ -0,0 +1,34 @@
+From fd86ded940524f60174582faa96f583c168589ef Mon Sep 17 00:00:00 2001
+From: Roy Marples <[email protected]>
+Date: Tue, 23 Jun 2026 02:06:55 +0100
+Subject: [PATCH] DHCPv6: Prefix exclude option can be 17 octets (#671)
+
+Well that's a simple off by one error
+
+Reported-by: CuB3y0nd <[email protected]>
+
+(cherry picked from commit 2f00c7bfc408b6582d331932dfa47829c4819029)
+
+CVE: CVE-2026-56114
+Upstream-Status: Backport [https://github.com/NetworkConfiguration/dhcpcd/commit/2f00c7bfc408b6582d331932dfa47829c4819029]
+Signed-off-by: Theo Gaige (Schneider Electric) <[email protected]>
+---
+ src/dhcp6.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/dhcp6.c b/src/dhcp6.c
+index 5154bf41..1eac9f23 100644
+--- a/src/dhcp6.c
++++ b/src/dhcp6.c
+@@ -1006,7 +1006,7 @@ dhcp6_makemessage(struct interface *ifp)
+ 
+ 				/* RFC6603 Section 4.2 */
+ 				if (ap->prefix_exclude_len) {
+-					uint8_t exb[16], *ep, u8;
++					uint8_t exb[17], *ep, u8;
+ 					const uint8_t *pp;
+ 
+ 					n = (size_t)((ap->prefix_exclude_len -
+-- 
+2.43.0
+
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 dhcpcd: patch CVE-2026-56116

In reply to [email protected]

From: "Theo Gaige (Schneider Electric)" <[email protected]>

Backport patch [1] mentionned in [2] and commit [3] which is dependency of [1]

[1] https://github.com/NetworkConfiguration/dhcpcd/commit/708b4a56bae080a5b18c2e0c4c6fbe103131a2b0

[2] https://security-tracker.debian.org/tracker/CVE-2026-56116

[3] https://github.com/NetworkConfiguration/dhcpcd/commit/f1cf924ad691bc1e6bf33013407fbf838fa40fbe

---
 .../dhcpcd/dhcpcd_10.0.6.bb                   |   2 +
 .../dhcpcd/files/CVE-2026-56116-pre.patch     | 482 ++++++++++++++++++
 .../dhcpcd/files/CVE-2026-56116.patch         |  31 ++
 3 files changed, 515 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcpcd/files/CVE-2026-56116-pre.patch
 create mode 100644 meta/recipes-connectivity/dhcpcd/files/CVE-2026-56116.patch
meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb +2 -0
index bc87b91503..4a031cefea 100644
@@ -17,6 +17,8 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
            file://0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch \
            file://CVE-2026-56113.patch \
            file://CVE-2026-56114.patch \
+           file://CVE-2026-56116-pre.patch \
+           file://CVE-2026-56116.patch \
            "
 
 SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862"
meta/recipes-connectivity/dhcpcd/files/CVE-2026-56116-pre.patch new file +482 -0

482 lines not on this page · raw message

meta/recipes-connectivity/dhcpcd/files/CVE-2026-56116.patch new file +31 -0
new file mode 100644
index 0000000000..52d4eb5aa7
@@ -0,0 +1,31 @@
+From 6d1a9c5118dc7910667888ef69c3f79379f427ee Mon Sep 17 00:00:00 2001
+From: Roy Marples <[email protected]>
+Date: Tue, 23 Jun 2026 00:34:58 +0100
+Subject: [PATCH 2/2] IPv6ND: Free routeinfo when it expires (#670)
+
+Reported-by: CuB3y0nd <[email protected]>
+
+(cherry picked from commit 708b4a56bae080a5b18c2e0c4c6fbe103131a2b0)
+
+CVE: CVE-2026-56116
+Upstream-Status: Backport [https://github.com/NetworkConfiguration/dhcpcd/commit/708b4a56bae080a5b18c2e0c4c6fbe103131a2b0]
+Signed-off-by: Theo Gaige (Schneider Electric) <[email protected]>
+---
+ src/ipv6nd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ipv6nd.c b/src/ipv6nd.c
+index 9264dce7..75655ab1 100644
+--- a/src/ipv6nd.c
++++ b/src/ipv6nd.c
+@@ -1953,6 +1953,7 @@ ipv6nd_expirera(void *arg)
+ 				logwarnx("%s: expired route %s",
+ 				    rap->iface->name, rinfo->sprefix);
+ 				TAILQ_REMOVE(&rap->rinfos, rinfo, next);
++				free(rinfo);
+ 			}
+ 		}
+ 
+-- 
+2.43.0
+
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 dhcpcd: patch CVE-2026-56117

In reply to [email protected]

From: "Theo Gaige (Schneider Electric)" <[email protected]>

Backport patch [1] mentionned in [2]

[1] https://github.com/NetworkConfiguration/dhcpcd/commit/78ea09ed1633a583dbcde6e7bab9df4639ec8a34

[2] https://security-tracker.debian.org/tracker/CVE-2026-56117

---
 .../dhcpcd/dhcpcd_10.0.6.bb                   |   1 +
 .../dhcpcd/files/CVE-2026-56117.patch         | 167 ++++++++++++++++++
 2 files changed, 168 insertions(+)
 create mode 100644 meta/recipes-connectivity/dhcpcd/files/CVE-2026-56117.patch
meta/recipes-connectivity/dhcpcd/dhcpcd_10.0.6.bb +1 -0
index 4a031cefea..afe504c251 100644
@@ -19,6 +19,7 @@ SRC_URI = "git://github.com/NetworkConfiguration/dhcpcd;protocol=https;branch=ma
            file://CVE-2026-56114.patch \
            file://CVE-2026-56116-pre.patch \
            file://CVE-2026-56116.patch \
+           file://CVE-2026-56117.patch \
            "
 
 SRCREV = "1c8ae59836fa87b4c63c598087f0460ec20ed862"
meta/recipes-connectivity/dhcpcd/files/CVE-2026-56117.patch new file +167 -0

167 lines not on this page · raw message

Signature · 1 line
2.43.0