A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2022-09-09T00:00:00

Updated: 2024-08-03T00:39:08.031Z

Reserved: 2022-07-24T00:00:00

Link: CVE-2022-2526

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-09-09T15:15:10.107

Modified: 2024-11-21T07:01:11.383

Link: CVE-2022-2526

cve-icon Redhat

Severity : Important

Publid Date: 2022-08-19T00:00:00Z

Links: CVE-2022-2526 - Bugzilla