summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch37
-rw-r--r--meta-oe/recipes-benchmark/fio/fio_3.39.bb2
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch b/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch
new file mode 100644
index 0000000000..c5813273c7
--- /dev/null
+++ b/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch
@@ -0,0 +1,37 @@
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.39.bb
index 345c7f08e7..4a94aadf42 100644
--- a/meta-oe/recipes-benchmark/fio/fio_3.39.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_3.39.bb
@@ -25,6 +25,8 @@ PACKAGECONFIG[numa] = ",--disable-numa,numactl"
25SRC_URI = "git://git.kernel.dk/fio.git;branch=master" 25SRC_URI = "git://git.kernel.dk/fio.git;branch=master"
26SRCREV = "a6e474c9e896e4ba1eb40066a03402afb040710a" 26SRCREV = "a6e474c9e896e4ba1eb40066a03402afb040710a"
27 27
28SRC_URI += "file://CVE-2025-10823.patch"
29
28UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)" 30UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
29 31
30 32