From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Buildroot List <buildroot@buildroot.org>
Cc: Clement Ramirez <clement@clementramirez.fr>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 0/4] Fix Busybox CVEs and bump to 1.37.0
Date: Mon, 3 Feb 2025 15:27:39 +0100 [thread overview]
Message-ID: <20250203142748.1135655-1-thomas.petazzoni@bootlin.com> (raw)
Hello,
This series started from the proposed Busybox 1.37.0 bump from Clément
Ramirez, and was expanded to address other Busybox issues.
First, we fix the remaining CVEs that affect 1.36.1. Since the
backport from upstreaming was a bit tedious, we took advantage of the
backports that OpenEmbedded had already done. This will allow those
security fixes to be easily backport to 2024.02.x, without having to
bump to 1.37.0.
We also fix a build issue on RISC-V 32-bit musl configurations, by
using another patch from meta-riscv.
And finally, we do the bump to 1.37.0. Compared to Clément's previous
submission, we adjusted on top of the previous patches, we added a fix
for the syslogd issue reported by Bernd, and we improved the commit
log.
The Busybox CI tests are passing:
15:02:43 TestInitSystemBusyboxRwNet Starting
15:02:44 TestInitSystemBusyboxRwNet Building
15:05:58 TestInitSystemBusyboxRwNet Building done
15:06:04 TestInitSystemBusyboxRwNet Cleaning up
.15:06:04 TestInitSystemBusyboxRw Starting
15:06:05 TestInitSystemBusyboxRw Building
15:09:19 TestInitSystemBusyboxRw Building done
15:09:25 TestInitSystemBusyboxRw Cleaning up
.15:09:25 TestInitSystemBusyboxRoNet Starting
15:09:26 TestInitSystemBusyboxRoNet Building
15:12:29 TestInitSystemBusyboxRoNet Building done
15:12:35 TestInitSystemBusyboxRoNet Cleaning up
.15:12:35 TestInitSystemBusyboxRo Starting
15:12:36 TestInitSystemBusyboxRo Building
15:15:38 TestInitSystemBusyboxRo Building done
15:15:44 TestInitSystemBusyboxRo Cleaning up
.
Ran 4 tests in 781.049s
OK
Clement Ramirez (1):
package/busybox bump version to 1.37.0
Thomas Petazzoni (3):
package/busybox: fix patch 0009 formatting
package/busybox: fix pending CVEs
package/busybox: fix hwclock build issue on RISC-V 32-bit musl configs
...route-use-linux-if_packet.h-instead-.patch | 10 +-
...trip-non-l-arguments-returned-by-pkg.patch | 15 ++-
...tr-ensure-only-printable-characters-.patch | 4 +-
...e-all-printed-strings-with-printable.patch | 16 +--
...r-glibc-2.24-not-providing-getrandom.patch | 39 -------
...random-detection-for-non-glibc-libc.patch} | 30 +----
...failing-saying-ncurses-is-not-found.patch} | 18 +--
...glibc-2.24-not-providing-random-head.patch | 60 ----------
...Fix-compilation-with-Linux-v6.8-rc1.patch} | 4 +-
...8-awk.c-fix-CVE-2023-42366-bug-15874.patch | 43 ++++++++
...CH-and-SIGCHLD-in-hush-interrupting-.patch | 103 ------------------
...r-SYS_settimeofday-before-calling-sy.patch | 54 +++++++++
...0-libbb-sha-add-missing-sha-NI-guard.patch | 54 +++++++++
...ix-wrong-OPT_locallog-flag-detection.patch | 37 +++++++
package/busybox/busybox.hash | 4 +-
package/busybox/busybox.mk | 12 +-
16 files changed, 240 insertions(+), 263 deletions(-)
delete mode 100644 package/busybox/0005-seedrng-fix-for-glibc-2.24-not-providing-getrandom.patch
rename package/busybox/{0007-seedrng-fix-getrandom-detection-for-non-glibc-libc.patch => 0005-seedrng-fix-getrandom-detection-for-non-glibc-libc.patch} (81%)
rename package/busybox/{0009-menuconfig-gcc-failing-saying-ncurses-is-not-found.patch => 0006-menuconfig-GCC-failing-saying-ncurses-is-not-found.patch} (79%)
delete mode 100644 package/busybox/0006-seedrng-fix-for-glibc-2.24-not-providing-random-head.patch
rename package/busybox/{0010-Linux-v6.8-rc1-removed-the-definitions-related-to-CB.patch => 0007-tc-Fix-compilation-with-Linux-v6.8-rc1.patch} (96%)
create mode 100644 package/busybox/0008-awk.c-fix-CVE-2023-42366-bug-15874.patch
delete mode 100644 package/busybox/0008-shell-fix-SIGWINCH-and-SIGCHLD-in-hush-interrupting-.patch
create mode 100644 package/busybox/0009-hwclock-Check-for-SYS_settimeofday-before-calling-sy.patch
create mode 100644 package/busybox/0010-libbb-sha-add-missing-sha-NI-guard.patch
create mode 100644 package/busybox/0011-syslogd-fix-wrong-OPT_locallog-flag-detection.patch
--
2.48.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2025-02-03 14:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-03 14:27 Thomas Petazzoni via buildroot [this message]
2025-02-03 14:27 ` [Buildroot] [PATCH 1/4] package/busybox: fix patch 0009 formatting Thomas Petazzoni via buildroot
2025-02-04 8:52 ` Peter Korsgaard
2025-02-04 14:58 ` Peter Korsgaard
2025-02-03 14:27 ` [Buildroot] [PATCH 2/4] package/busybox: fix pending CVEs Thomas Petazzoni via buildroot
2025-02-04 8:53 ` Peter Korsgaard
2025-02-04 14:59 ` Peter Korsgaard
2025-02-03 14:27 ` [Buildroot] [PATCH 3/4] package/busybox: fix hwclock build issue on RISC-V 32-bit musl configs Thomas Petazzoni via buildroot
2025-02-04 8:55 ` Peter Korsgaard
2025-02-04 14:59 ` Peter Korsgaard
2025-02-03 14:27 ` [Buildroot] [PATCH 4/4] package/busybox bump version to 1.37.0 Thomas Petazzoni via buildroot
2025-02-04 8:56 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250203142748.1135655-1-thomas.petazzoni@bootlin.com \
--to=buildroot@buildroot.org \
--cc=clement@clementramirez.fr \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.