diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/fio')
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch | 37 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio_3.42.bb (renamed from meta-oe/recipes-benchmark/fio/fio_3.39.bb) | 11 |
3 files changed, 39 insertions, 42 deletions
diff --git a/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch b/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch new file mode 100644 index 0000000000..9019e06f26 --- /dev/null +++ b/meta-oe/recipes-benchmark/fio/fio/0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 82688fff1241549177ed4d55c27c93117d738947 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lucas Hecht <lucas.hecht@agdsn.de> | ||
| 3 | Date: Tue, 26 May 2026 18:49:48 +0200 | ||
| 4 | Subject: [PATCH] backend: remove linux/prctl.h include to fix musl conflict | ||
| 5 | |||
| 6 | Building with musl fails due to a duplicate definition of prctl_mm_map. | ||
| 7 | This is because musl redefines linux/prctl.h in sys/prctl.h. | ||
| 8 | |||
| 9 | This commit removes the linux/prctl.h include. | ||
| 10 | |||
| 11 | Fixes: #2096 | ||
| 12 | |||
| 13 | Upstream-Status: Backport [a84eece62edd46c1f4c8047f1052ac6181fc8b3e] | ||
| 14 | Signed-off-by: Lucas Hecht <lucas.hecht@agdsn.de> | ||
| 15 | --- | ||
| 16 | backend.c | 1 - | ||
| 17 | 1 file changed, 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/backend.c b/backend.c | ||
| 20 | index 230d7fd07965..cfc411531818 100644 | ||
| 21 | --- a/backend.c | ||
| 22 | +++ b/backend.c | ||
| 23 | @@ -32,7 +32,6 @@ | ||
| 24 | #include <pthread.h> | ||
| 25 | |||
| 26 | #ifdef CONFIG_LINUX | ||
| 27 | -#include <linux/prctl.h> | ||
| 28 | #include <sys/prctl.h> | ||
| 29 | #endif | ||
| 30 | |||
| 31 | -- | ||
| 32 | 2.51.0 | ||
| 33 | |||
diff --git a/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch b/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch deleted file mode 100644 index c5813273c7..0000000000 --- a/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | From 6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jens Axboe <axboe@kernel.dk> | ||
| 3 | Date: Tue, 23 Sep 2025 11:50:46 -0600 | ||
| 4 | Subject: [PATCH] options: check for NULL input string and fail | ||
| 5 | |||
| 6 | Waste of time busy work. | ||
| 7 | |||
| 8 | Link: https://github.com/axboe/fio/issues/1982 | ||
| 9 | |||
| 10 | CVE: CVE-2025-10823 | ||
| 11 | |||
| 12 | Upstream-Status: Backport | ||
| 13 | https://github.com/axboe/fio/commit/6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025 | ||
| 14 | |||
| 15 | Signed-off-by: Jens Axboe <axboe@kernel.dk> | ||
| 16 | Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com> | ||
| 17 | --- | ||
| 18 | options.c | 3 +++ | ||
| 19 | 1 file changed, 3 insertions(+) | ||
| 20 | |||
| 21 | diff --git a/options.c b/options.c | ||
| 22 | index c35878f..562c5bc 100644 | ||
| 23 | --- a/options.c | ||
| 24 | +++ b/options.c | ||
| 25 | @@ -1616,6 +1616,9 @@ static int str_buffer_pattern_cb(void *data, const char *input) | ||
| 26 | struct thread_data *td = cb_data_to_td(data); | ||
| 27 | int ret; | ||
| 28 | |||
| 29 | + if (!input) | ||
| 30 | + return 1; | ||
| 31 | + | ||
| 32 | /* FIXME: for now buffer pattern does not support formats */ | ||
| 33 | ret = parse_and_fill_pattern_alloc(input, strlen(input), | ||
| 34 | &td->o.buffer_pattern, NULL, NULL, NULL); | ||
| 35 | -- | ||
| 36 | 2.48.1 | ||
| 37 | |||
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.39.bb b/meta-oe/recipes-benchmark/fio/fio_3.42.bb index 2ca52aaecf..966ae644b4 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.39.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.42.bb | |||
| @@ -22,14 +22,14 @@ PACKAGECONFIG_NUMA:armeb = "" | |||
| 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" | 22 | PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" |
| 23 | PACKAGECONFIG[numa] = ",--disable-numa,numactl" | 23 | PACKAGECONFIG[numa] = ",--disable-numa,numactl" |
| 24 | 24 | ||
| 25 | SRC_URI = "git://git.kernel.dk/fio.git;branch=master" | 25 | SRC_URI = " \ |
| 26 | SRCREV = "a6e474c9e896e4ba1eb40066a03402afb040710a" | 26 | git://git.kernel.dk/fio.git;branch=master;tag=${BP} \ |
| 27 | 27 | file://0001-backend-remove-linux-prctl.h-include-to-fix-musl-con.patch \ | |
| 28 | SRC_URI += "file://CVE-2025-10823.patch" | 28 | " |
| 29 | SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a" | ||
| 29 | 30 | ||
| 30 | UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" | 31 | UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" |
| 31 | 32 | ||
| 32 | |||
| 33 | # avoids build breaks when using no-static-libs.inc | 33 | # avoids build breaks when using no-static-libs.inc |
| 34 | DISABLE_STATIC = "" | 34 | DISABLE_STATIC = "" |
| 35 | 35 | ||
| @@ -47,3 +47,4 @@ do_install() { | |||
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." | 49 | CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." |
| 50 | CVE_STATUS[CVE-2026-30656] = "fixed-version: fixed in 3.42" | ||
