diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/fio')
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio/0001-fix-musl-builds.patch | 38 | ||||
| -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.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 @@ | |||
| 1 | From ccce76d2850d6e52da3d7986c950af068fbfe0fd Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Arthur Gautier <arthur.gautier@arista.com> | ||
| 3 | Date: Sat, 13 Dec 2025 20:07:11 -0800 | ||
| 4 | Subject: [PATCH] fix musl builds | ||
| 5 | |||
| 6 | This commit fixes the build on musl which fails with the following | ||
| 7 | error: | ||
| 8 | ``` | ||
| 9 | oslib/linux-blkzoned.c: In function 'blkzoned_move_zone_wp': | ||
| 10 | oslib/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 | | ^~~~~~~~~~~~~~~~~~~~ | ||
| 13 | oslib/linux-blkzoned.c:389:37: note: each undeclared identifier is reported only once for each function it appears in | ||
| 14 | make: *** [Makefile:501: oslib/linux-blkzoned.o] Error 1 | ||
| 15 | make: *** Waiting for unfinished jobs.... | ||
| 16 | ``` | ||
| 17 | |||
| 18 | Upstream-Status: Backport [https://github.com/axboe/fio/commit/ccce76d2850d6e52da3d7986c950af068fbfe0fd] | ||
| 19 | Signed-off-by: Arthur Gautier <arthur.gautier@arista.com> | ||
| 20 | --- | ||
| 21 | oslib/linux-blkzoned.c | 1 + | ||
| 22 | 1 file changed, 1 insertion(+) | ||
| 23 | |||
| 24 | diff --git a/oslib/linux-blkzoned.c b/oslib/linux-blkzoned.c | ||
| 25 | index 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 | -- | ||
| 37 | 2.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 @@ | |||
| 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.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 | ||
| 25 | SRC_URI = " \ | 25 | SRC_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 | " |
| 29 | SRCREV = "ed675d3477a70a42d2e757b713f6c7125a27cdca" | 28 | SRCREV = "ab77643023f5d7e3c1b71a7576a564f368bf577a" |
| 30 | |||
| 31 | SRC_URI += "file://CVE-2025-10823.patch" | ||
| 32 | 29 | ||
| 33 | UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" | 30 | UPSTREAM_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 |
| 37 | DISABLE_STATIC = "" | 33 | DISABLE_STATIC = "" |
| 38 | 34 | ||
| @@ -50,3 +46,4 @@ do_install() { | |||
| 50 | } | 46 | } |
| 51 | 47 | ||
| 52 | CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." | 48 | CVE_STATUS[CVE-2025-10824] = "disputed: Maintainer could not reproduce the issue, issue is closed without change." |
| 49 | CVE_STATUS[CVE-2026-30656] = "fixed-version: fixed in 3.42" | ||
