diff options
| author | Saravanan <saravanan.kadambathursubramaniyam@windriver.com> | 2025-10-15 11:59:54 +0530 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-17 10:51:27 +0200 |
| commit | bfc756c1e6e7051579f764acded0ea1396db5518 (patch) | |
| tree | b3a88221719c1f8ebf78a19b00ccca44a2d88e92 /meta-oe | |
| parent | 5bb71a5f0f089f933cb7803b665796afb8c554aa (diff) | |
| download | meta-openembedded-bfc756c1e6e7051579f764acded0ea1396db5518.tar.gz | |
fio: fix CVE-2025-10823
Reference:
https://nvd.nist.gov/vuln/detail/CVE-2025-10823
https://github.com/axboe/fio/issues/1982
Upstream-patch:
https://github.com/axboe/fio/commit/6a39dfaffdb8a6c2080eec0dc7fb1ee532d54025
Signed-off-by: Saravanan <saravanan.kadambathursubramaniyam@windriver.com>
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch | 37 | ||||
| -rw-r--r-- | meta-oe/recipes-benchmark/fio/fio_3.30.bb | 2 |
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..fc6b290a80 --- /dev/null +++ b/meta-oe/recipes-benchmark/fio/fio/CVE-2025-10823.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 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 e06d9b66..533d7145 100644 | ||
| 23 | --- a/options.c | ||
| 24 | +++ b/options.c | ||
| 25 | @@ -1487,6 +1487,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(input, strlen(input), td->o.buffer_pattern, | ||
| 34 | MAX_PATTERN_SIZE, NULL, NULL, NULL); | ||
| 35 | -- | ||
| 36 | 2.35.5 | ||
| 37 | |||
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.30.bb b/meta-oe/recipes-benchmark/fio/fio_3.30.bb index f97a1b899d..62b21339d0 100644 --- a/meta-oe/recipes-benchmark/fio/fio_3.30.bb +++ b/meta-oe/recipes-benchmark/fio/fio_3.30.bb | |||
| @@ -26,6 +26,8 @@ SRCREV = "a3e48f483db27d20e02cbd81e3a8f18c6c5c50f5" | |||
| 26 | SRC_URI = "git://git.kernel.dk/fio.git;branch=master \ | 26 | SRC_URI = "git://git.kernel.dk/fio.git;branch=master \ |
| 27 | " | 27 | " |
| 28 | 28 | ||
| 29 | SRC_URI += "file://CVE-2025-10823.patch" | ||
| 30 | |||
| 29 | S = "${WORKDIR}/git" | 31 | S = "${WORKDIR}/git" |
| 30 | 32 | ||
| 31 | # avoids build breaks when using no-static-libs.inc | 33 | # avoids build breaks when using no-static-libs.inc |
