summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd_244.5.bb
diff options
context:
space:
mode:
authorRanjitsinh Rathod <ranjitsinh.rathod@kpit.com>2021-09-22 21:08:08 +0530
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-07 15:10:33 +0100
commitf3452bf99367ed2270a4deb47e6f03039af7d39d (patch)
tree4f843091972e2297f6f67809c7eec1c68dab761f /meta/recipes-core/systemd/systemd_244.5.bb
parent3d5a3e009a6ff92b16ab205ec9123f52fca23c77 (diff)
downloadpoky-f3452bf99367ed2270a4deb47e6f03039af7d39d.tar.gz
systemd: Add fix for systemd-networkd crash during free
We are observing systemd-network service crash during link down while freeing link->ifname pointer Backtrace: (gdb) bt 0 __GI_abort () at abort.c:107 1 0x0000007f861d32b4 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f8628d500 "%s\n") at ../sysdeps/posix/libc_fatal.c:155 2 0x0000007f861da51c in malloc_printerr (str=str@entry=0x7f86289070 "free(): invalid next size (fast)") at malloc.c:5347 3 0x0000007f861dbd58 in _int_free (av=0x7f862c9a28 <main_arena>, p=0x558aa28eb0, have_lock=0) at malloc.c:4249 4 0x0000005569249cf0 in link_free (link=0x558aa1c0d0) at ../git/src/network/networkd-link.c:715 5 link_unref (p=0x558aa1c0d0) at ../git/src/network/networkd-link.c:734 6 0x000000556920f34c in manager_rtnl_process_link (rtnl=<optimized out>, message=0x558aa2a430, userdata=0x558a9fc630) While checking upstream code change with regards to link->ifname memory allocation and free, we found below PR which also fixes random systemd-networkd crash: https://github.com/systemd/systemd/pull/19631 https://github.com/systemd/systemd/issues/19629 (From OE-Core rev: adca61c61d84f022fdedd2d616e7c2df00661af8) Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com> Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_244.5.bb')
-rw-r--r--meta/recipes-core/systemd/systemd_244.5.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_244.5.bb b/meta/recipes-core/systemd/systemd_244.5.bb
index 7a7eddcd45..bf33b8d6a1 100644
--- a/meta/recipes-core/systemd/systemd_244.5.bb
+++ b/meta/recipes-core/systemd/systemd_244.5.bb
@@ -22,6 +22,12 @@ SRC_URI += "file://touchscreen.rules \
22 file://0003-implment-systemd-sysv-install-for-OE.patch \ 22 file://0003-implment-systemd-sysv-install-for-OE.patch \
23 file://CVE-2021-33910.patch \ 23 file://CVE-2021-33910.patch \
24 file://CVE-2020-13529.patch \ 24 file://CVE-2020-13529.patch \
25 file://basic-pass-allocation-info-for-ordered-set-new-and-introd.patch \
26 file://introduce-ordered_set_clear-free-with-destructor.patch \
27 file://network-add-skeleton-of-request-queue.patch \
28 file://network-merge-link_drop-and-link_detach_from_manager.patch \
29 file://network-also-drop-requests-when-link-enters-linger-state.patch \
30 file://network-fix-Link-reference-counter-issue.patch \
25 " 31 "
26 32
27# patches needed by musl 33# patches needed by musl