In drivers/media/dvb-core/dmxdev.c in the Linux kernel through 5.19.10, there is a use-after-free caused by refcount races, affecting dvb_demux_open and dvb_dmxdev_release.
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://lore.kernel.org/all/20220908132754.30532-1-tiwai%40suse.de/ | |
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/dvb-core/dmxdev.c | vendor advisory |
http://www.openwall.com/lists/oss-security/2022/09/23/4 | exploit third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2022/09/24/2 | third party advisory mailing list |
http://www.openwall.com/lists/oss-security/2022/09/24/1 | exploit third party advisory mailing list |
https://www.debian.org/security/2023/dsa-5324 | vendor advisory third party advisory |
https://lists.debian.org/debian-lts-announce/2023/03/msg00000.html | mailing list |
https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html | mailing list |
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fd3d91ab1c6ab0628fe642dd570b56302c30a792 |