Impact
In libscap scap.c file, from the scap_open function, when calling scap_open_udig_int
, a double free may occur because the function that calls scap_close(handle)
will free the handle, and on the next line, the handle is freed again with free(handle)
. Removing the affected line solves the issue.
Patches
Upgrade to libs 0.10.4
Workarounds
No
References
Falco Security Audit report, 23-01-1097-LIV by Victor Houal, Laurent Laubin and Mahé Tardy
Impact
In libscap scap.c file, from the scap_open function, when calling
scap_open_udig_int
, a double free may occur because the function that callsscap_close(handle)
will free the handle, and on the next line, the handle is freed again withfree(handle)
. Removing the affected line solves the issue.libs/userspace/libscap/scap.c
Line 220 in 3e6aa6e
Patches
Upgrade to libs 0.10.4
Workarounds
No
References
Falco Security Audit report, 23-01-1097-LIV by Victor Houal, Laurent Laubin and Mahé Tardy