From d89e903ab0590825994213c978c7b4f970916d98 Mon Sep 17 00:00:00 2001 From: Ankur Tyagi Date: Sun, 27 Sep 2026 13:39:14 +1300 Subject: [PATCH] unbound: patch CVE-2026-77860 Details: https://nvd.nist.gov/vuln/detail/cve-2026-77860 Signed-off-by: Ankur Tyagi Signed-off-by: Anuj Mittal --- .../unbound/unbound/CVE-2026-77860.patch | 31 +++++++++++++++++++ .../recipes-support/unbound/unbound_1.24.2.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-networking/recipes-support/unbound/unbound/CVE-2026-77860.patch diff --git a/meta-networking/recipes-support/unbound/unbound/CVE-2026-77860.patch b/meta-networking/recipes-support/unbound/unbound/CVE-2026-77860.patch new file mode 100644 index 0000000000..266166b729 --- /dev/null +++ b/meta-networking/recipes-support/unbound/unbound/CVE-2026-77860.patch @@ -0,0 +1,31 @@ +From 46671c9294ef76e2056a447eca8a561f3f48719e Mon Sep 17 00:00:00 2001 +From: "W.C.A. Wijngaards" +Date: Wed, 16 Sep 2026 09:29:04 +0200 +Subject: [PATCH] - Fix CVE-2026-77860, 'serve-expired' can bypass Unbound + 'wait-limit'. Thanks to Xuanchao Xie, Lutong Chen, and Kaiping Xue from the + University of Science and Technology of China (USTC) for the report. + +(cherry picked from commit bd71e3b8a6dd87682bf454dc3687fc9e70b1bb78) + +CVE: CVE-2026-77860 +Upstream-Status: Backport [https://github.com/NLnetLabs/unbound/commit/bd71e3b8a6dd87682bf454dc3687fc9e70b1bb78] + +Signed-off-by: Ankur Tyagi +--- + services/mesh.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/services/mesh.c b/services/mesh.c +index a6798953e..20e4f1a26 100644 +--- a/services/mesh.c ++++ b/services/mesh.c +@@ -2563,8 +2563,7 @@ mesh_serve_expired_callback(void* arg) + if(r->query_reply.c->tcp_req_info) + tcp_req_info_remove_mesh_state(r->query_reply.c->tcp_req_info, mstate); + /* mesh_send_reply removed mesh state from http2_stream. */ +- infra_wait_limit_dec(mstate->s.env->infra_cache, +- &r->query_reply, mstate->s.env->cfg); ++ /* mesh_send_reply decremented wait_limit. */ + prev = r; + prev_buffer = r_buffer; + } diff --git a/meta-networking/recipes-support/unbound/unbound_1.24.2.bb b/meta-networking/recipes-support/unbound/unbound_1.24.2.bb index 1ab81879f2..1d810fba6c 100644 --- a/meta-networking/recipes-support/unbound/unbound_1.24.2.bb +++ b/meta-networking/recipes-support/unbound/unbound_1.24.2.bb @@ -46,6 +46,7 @@ SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master;t file://CVE-2026-80225.patch \ file://CVE-2026-81642.patch \ file://CVE-2026-78227.patch \ + file://CVE-2026-77860.patch \ " SRCREV = "f6269baa605d31859f28770e01a24e3677e5f82c"