mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-20 19:58:34 +00:00
mtr: patch CVE-2026-14461
Details: https://nvd.nist.gov/vuln/detail/cve-2026-14461 (cherry picked from commit a5e913980f0107c4fe1ccde6a5e4a10780bd60a9) Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
8afa1293bd
commit
92c0310db4
2 files changed
+35
-1
No files matched your search
@@ -0,0 +1,32 @@
|
||||
From 4c75fae93d9515f3ecdfecc966b8c6471efb7ea5 Mon Sep 17 00:00:00 2001
|
||||
From: "R.E. Wolff" <R.E.Wolff@BitWizard.nl>
|
||||
Date: Tue, 16 Jun 2026 11:03:39 +0200
|
||||
Subject: [PATCH] =?UTF-8?q?Fixed=20possible=20buffer=20overrun=20in=20asn?=
|
||||
=?UTF-8?q?=20code--=20Micha=C5=82=20Majchrowicz?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
(cherry picked from commit 48e1794414d338ce47abc0f27c25ade8788af9c3)
|
||||
|
||||
CVE: CVE-2026-14461
|
||||
Upstream-Status: Backport [https://github.com/traviscross/mtr/commit/48e1794414d338ce47abc0f27c25ade8788af9c3]
|
||||
|
||||
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
|
||||
---
|
||||
ui/asn.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/ui/asn.c b/ui/asn.c
|
||||
index 111c394..487d9e8 100644
|
||||
--- a/ui/asn.c
|
||||
+++ b/ui/asn.c
|
||||
@@ -94,6 +94,8 @@ static char *ipinfo_lookup(
|
||||
DEB_syslog(LOG_INFO, "Malloc-txt: %s", UNKN);
|
||||
return xstrdup(UNKN);
|
||||
}
|
||||
+ // Clip len to PACKETSZ. -- Michał Majchrowicz
|
||||
+ if (len > PACKETSZ) len = PACKETSZ;
|
||||
|
||||
pt = answer + sizeof(HEADER);
|
||||
|
||||
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
file://ui/mtr.c;beginline=5;endline=16;md5=00a894a39d53726a27386534d1c4e468"
|
||||
|
||||
SRCREV = "f392168771570b0fdc104c38dea6bbc2ce585710"
|
||||
SRC_URI = "git://github.com/traviscross/mtr;branch=master;protocol=https;tag=v${PV}"
|
||||
SRC_URI = "git://github.com/traviscross/mtr;branch=master;protocol=https;tag=v${PV} \
|
||||
file://CVE-2026-14461.patch \
|
||||
"
|
||||
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
Reference in new issue
Block a user