In the Linux kernel, the following vulnerability has been resolved:
md/raid10: fix memleak for 'conf->bio_split'
In the error path of raid10run(), 'conf' need be freed, however, 'conf->biosplit' is missed and memory will be leaked.
Since there are 3 places to free 'conf', factor out a helper to fix the problem.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54123.json"
}