lgc.c in Lua 5.4.0 mishandles the interaction between barriers and the sweep phase, leading to a memory access violation involving collectgarbage.
The product attempts to return a memory resource to the system, but it calls the wrong release function or calls the appropriate release function incorrectly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Lua | Lua | 5.4.0 (including) | 5.4.0 (including) |
Lua5.1 | Ubuntu | trusty | * |
Lua5.2 | Ubuntu | trusty | * |
Lua5.3 | Ubuntu | trusty | * |
Lua5.4 | Ubuntu | groovy | * |
Lua5.4 | Ubuntu | trusty | * |
Lua50 | Ubuntu | trusty | * |
This weakness can take several forms, such as: