A use-after-free vulnerability was found in usbredir in versions prior to 0.11.0 in the usbredirparser_serialize() in usbredirparser/usbredirparser.c. This issue occurs when serializing large amounts of buffered write data in the case of a slow or blocked destination.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1992830 | issue tracking third party advisory patch |
https://gitlab.freedesktop.org/spice/usbredir/-/commit/03c519ff5831ba | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2022/03/msg00030.html | third party advisory mailing list |