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-fix-musl-builds.patch38
-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.41.bb)7
3 files changed, 2 insertions, 80 deletions
diff --git a/meta-oe/recipes-benchmark/fio/fio/0001-fix-musl-builds.patch b/meta-oe/recipes-benchmark/fio/fio/0001-fix-musl-builds.patch
deleted file mode 100644
index 6c0d69d6e8..0000000000
--- a/meta-oe/recipes-benchmark/fio/fio/0001-fix-musl-builds.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From ccce76d2850d6e52da3d7986c950af068fbfe0fd Mon Sep 17 00:00:00 2001
2From: Arthur Gautier <arthur.gautier@arista.com>
3Date: Sat, 13 Dec 2025 20:07:11 -0800
4Subject: [PATCH] fix musl builds
5
6This commit fixes the build on musl which fails with the following
7error:
8```
9oslib/linux-blkzoned.c: In function 'blkzoned_move_zone_wp':
10oslib/linux-blkzoned.c:389:37: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function)
11 389 | ret = fallocate(fd, FALLOC_FL_ZERO_RANGE, z->wp, length);
12 | ^~~~~~~~~~~~~~~~~~~~
13oslib/linux-blkzoned.c:389:37: note: each undeclared identifier is reported only once for each function it appears in
14make: *** [Makefile:501: oslib/linux-blkzoned.o] Error 1
15make: *** Waiting for unfinished jobs....
16```
17
18Upstream-Status: Backport [https://github.com/axboe/fio/commit/ccce76d2850d6e52da3d7986c950af068fbfe0fd]
19Signed-off-by: Arthur Gautier <arthur.gautier@arista.com>
20---
21 oslib/linux-blkzoned.c | 1 +
22 1 file changed, 1 insertion(+)
23
24diff --git a/oslib/linux-blkzoned.c b/oslib/linux-blkzoned.c
25index 78e25fca..c45ef623 100644
26--- a/oslib/linux-blkzoned.c
27+++ b/oslib/linux-blkzoned.c
28@@ -25,6 +25,7 @@
29 #ifndef BLKFINISHZONE
30 #define BLKFINISHZONE _IOW(0x12, 136, struct blk_zone_range)
31 #endif
32+#include <linux/falloc.h>
33
34 /*
35 * If the uapi headers installed on the system lacks zone capacity support,
36--
372.51.0
38
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.41.bb b/meta-oe/recipes-benchmark/fio/fio_3.42.bb
index 3f03c41f22..dac7548d08 100644
--- a/meta-oe/recipes-benchmark/fio/fio_3.41.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_3.42.bb
@@ -24,15 +24,11 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl"
24 24
25SRC_URI = " \ 25SRC_URI = " \
26 git://git.kernel.dk/fio.git;branch=master;tag=${BP} \ 26 git://git.kernel.dk/fio.git;branch=master;tag=${BP} \
27 file://0001-fix-musl-builds.patch \
28" 27"
29SRCREV = "ed675d3477a70a42d2e757b713f6c7125a27cdca" 28SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a"
30
31SRC_URI += "file://CVE-2025-10823.patch"
32 29
33UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" 30UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
34 31
35
36# avoids build breaks when using no-static-libs.inc 32# avoids build breaks when using no-static-libs.inc
37DISABLE_STATIC = "" 33DISABLE_STATIC = ""
38 34
@@ -50,3 +46,4 @@ do_install() {
50} 46}
51 47
52CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." 48CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change."
49CVE_STATUS[CVE-2026-30656] = "fixed-version: fixed in 3.42"