Lucene search

K
osvGoogleOSV:GHSA-2F5J-3MHQ-XV58
HistoryAug 25, 2021 - 8:58 p.m.

Double free in sys-info

2021-08-2520:58:15
Google
osv.dev
7
sys-info double free vulnerability multithreaded environment.

EPSS

0.002

Percentile

61.8%

Affected versions of sys-info use a static, global, list to store temporary disk information while running. The function that cleans up this list, DFCleanup, assumes a single threaded environment and will try to free the same memory twice in a multithreaded environment. This results in consistent double-frees and segfaults when calling sys_info::disk_info from multiple threads at once. The issue was fixed by moving the global variable into a local scope.

EPSS

0.002

Percentile

61.8%

Related for OSV:GHSA-2F5J-3MHQ-XV58