summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/fio
diff options
context:
space:
mode:
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.patch33
-rw-r--r--meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch37
-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 @@
1From 82688fff1241549177ed4d55c27c93117d738947 Mon Sep 17 00:00:00 2001
2From: Lucas Hecht <lucas.hecht@agdsn.de>
3Date: Tue, 26 May 2026 18:49:48 +0200
4Subject: [PATCH] backend: remove linux/prctl.h include to fix musl conflict
5
6Building with musl fails due to a duplicate definition of prctl_mm_map.
7This is because musl redefines linux/prctl.h in sys/prctl.h.
8
9This commit removes the linux/prctl.h include.
10
11Fixes: #2096
12
13Upstream-Status: Backport [a84eece62edd46c1f4c8047f1052ac6181fc8b3e]
14Signed-off-by: Lucas Hecht <lucas.hecht@agdsn.de>
15---
16 backend.c | 1 -
17 1 file changed, 1 deletion(-)
18
19diff --git a/backend.c b/backend.c
20index 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--
322.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 @@
1From 6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025 Mon Sep 17 00:00:00 2001
2From: Jens Axboe <axboe@kernel.dk>
3Date: Tue, 23 Sep 2025 11:50:46 -0600
4Subject: [PATCH] options: check for NULL input string and fail
5
6Waste of time busy work.
7
8Link: https://github.com/axboe/fio/issues/1982
9
10CVE: CVE-2025-10823
11
12Upstream-Status: Backport
13https://github.com/axboe/fio/commit/6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025
14
15Signed-off-by: Jens Axboe <axboe@kernel.dk>
16Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com>
17---
18 options.c | 3 +++
19 1 file changed, 3 insertions(+)
20
21diff --git a/options.c b/options.c
22index 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--
362.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 = ""
22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" 22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}"
23PACKAGECONFIG[numa] = ",--disable-numa,numactl" 23PACKAGECONFIG[numa] = ",--disable-numa,numactl"
24 24
25SRC_URI = "git://git.kernel.dk/fio.git;branch=master" 25SRC_URI = " \
26SRCREV = "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 \
28SRC_URI += "file://CVE-2025-10823.patch" 28"
29SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a"
29 30
30UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" 31UPSTREAM_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
34DISABLE_STATIC = "" 34DISABLE_STATIC = ""
35 35
@@ -47,3 +47,4 @@ do_install() {
47} 47}
48 48
49CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." 49CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change."
50CVE_STATUS[CVE-2026-30656] = "fixed-version: fixed in 3.42"