An use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in usbredirparser_serialize() in usbredirparser/usbredirparser.c when serializing large amounts of buffered write data in case of a slow or blocked destination. Reference and upstream patch: https://gitlab.freedesktop.org/spice/usbredir/-/commit/03c519ff5831ba
Created mingw-usbredir tracking bugs for this issue: Affects: fedora-all [bug 1992832] Created usbredir tracking bugs for this issue: Affects: fedora-all [bug 1992831]
This use after free vulnerability is caused by serializing large amounts of write data. The pointer for a necessary buffer will briefly point to a location outside the buffer. During heavy load, or blocks the data is serialized. An attacker can not control the state while this is occurring. The attacker would also have to ensure that the write buffers are primed for this exploit to work. After the extensive setup, there is a small window of time where a possibly useful value could be written. Depending on the value written, this could lead to affects on Confidentiality, Integrity and Availability of the system.