[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1018226: marked as done (bullseye-pu: package dlt-daemon/2.18.6-1+deb11u1)



Your message dated Sat, 10 Sep 2022 13:36:19 +0100
with message-id <92fe43e7805e82e43100a6471ccbf91cd9a12944.camel@adam-barratt.org.uk>
and subject line Closing requests for updates in 11.5
has caused the Debian Bug report #1018226,
regarding bullseye-pu: package dlt-daemon/2.18.6-1+deb11u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1018226: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018226
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: Aigars Mahinovs <aigarius@debian.org>

  * CVE-2022-31291: Double free in dlt_config_file_set_section().
    (Closes: #1014534)
diff -Nru dlt-daemon-2.18.6/debian/changelog dlt-daemon-2.18.6/debian/changelog
--- dlt-daemon-2.18.6/debian/changelog	2021-01-09 15:18:44.000000000 +0200
+++ dlt-daemon-2.18.6/debian/changelog	2022-08-27 14:59:10.000000000 +0300
@@ -1,3 +1,11 @@
+dlt-daemon (2.18.6-1+deb11u1) bullseye; urgency=medium
+
+  * Non-maintainer upload.
+  * CVE-2022-31291: Double free in dlt_config_file_set_section().
+    (Closes: #1014534)
+
+ -- Adrian Bunk <bunk@debian.org>  Sat, 27 Aug 2022 14:59:10 +0300
+
 dlt-daemon (2.18.6-1) unstable; urgency=medium
 
   * Update to new release
diff -Nru dlt-daemon-2.18.6/debian/patches/0001-Fix-a-double-free-bug.patch dlt-daemon-2.18.6/debian/patches/0001-Fix-a-double-free-bug.patch
--- dlt-daemon-2.18.6/debian/patches/0001-Fix-a-double-free-bug.patch	1970-01-01 02:00:00.000000000 +0200
+++ dlt-daemon-2.18.6/debian/patches/0001-Fix-a-double-free-bug.patch	2022-08-18 19:36:47.000000000 +0300
@@ -0,0 +1,29 @@
+From 6a3bd901d825c7206797e36ea98e10a218f5aad2 Mon Sep 17 00:00:00 2001
+From: Safe-BCY <512234783@qq.com>
+Date: Thu, 5 May 2022 06:47:17 +0800
+Subject: Fix a double-free bug.
+
+In the dlt_config_file_set_section function of dlt_config_file_parser.c:
+  s-name is not set to null after free.
+  It will be freed again in the dlt_config_file_release function.
+
+Signed-off-by: Zhongyang.Bao <Zhongyang.Bao@zeekrlife.com>
+---
+ src/shared/dlt_config_file_parser.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/shared/dlt_config_file_parser.c b/src/shared/dlt_config_file_parser.c
+index 009a093..fc2d516 100644
+--- a/src/shared/dlt_config_file_parser.c
++++ b/src/shared/dlt_config_file_parser.c
+@@ -148,6 +148,7 @@ static int dlt_config_file_set_section(DltConfigFile *file, char *name)
+ 
+     if (s->keys == NULL) {
+         free(s->name);
++        s->name = NULL;
+         dlt_log(LOG_ERR, "Cannot allocate memory for internal data structure\n");
+         return -1;
+     }
+-- 
+2.20.1
+
diff -Nru dlt-daemon-2.18.6/debian/patches/series dlt-daemon-2.18.6/debian/patches/series
--- dlt-daemon-2.18.6/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ dlt-daemon-2.18.6/debian/patches/series	2022-08-27 14:59:10.000000000 +0300
@@ -0,0 +1 @@
+0001-Fix-a-double-free-bug.patch

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.5

Hi,

The updates referred to in each of these bugs were included in today's
11.5 point release.

Regards,

Adam

--- End Message ---

Reply to: