Submit #654072: Jens Axboe Fio 3.41 / master commit 84787ad Use After Freeinfo

TitleJens Axboe Fio 3.41 / master commit 84787ad Use After Free
Descriptionfio version 3.41 (master commit 84787ad) contains a heap-use-after-free vulnerability in its option parsing logic. During jobfile parsing, the function __parse_jobs_ini() (init.c) allocates an options array (opts) that is later freed. However, the freed array is still passed into fio_options_parse() (options.c), which calls sort_options() to sort the options using qsort(). The qsort() comparator (opt_cmp() in parse.c:1139) dereferences entries from the freed memory, leading to a use-after-free (UAF).
Source⚠️ https://github.com/axboe/fio/issues/1981
User ahuo (UID 90189)
Submission09/14/2025 10:22 (7 months ago)
Moderation09/21/2025 18:05 (7 days later)
StatusAccepted
VulDB entry325181 [axboe fio up to 3.41 init.c __parse_jobs_ini use after free]
Points20

Do you know our Splunk app?

Download it now for free!