CVE Vulnerabilities

CVE-2022-23090

Use After Free

Published: Feb 15, 2024 | Modified: Jun 04, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

The aio_aqueue function, used by the lio_listio system call, fails to release a reference to a credential in an error case.

An attacker may cause the reference count to overflow, leading to a use after free (UAF).

Weakness

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.

Affected Software

Name Vendor Start Version End Version
Freebsd Freebsd 12.3-beta1 (including) 12.3-beta1 (including)
Freebsd Freebsd 12.3-p1 (including) 12.3-p1 (including)
Freebsd Freebsd 12.3-p2 (including) 12.3-p2 (including)
Freebsd Freebsd 12.3-p3 (including) 12.3-p3 (including)
Freebsd Freebsd 12.3-p4 (including) 12.3-p4 (including)
Freebsd Freebsd 12.3-p5 (including) 12.3-p5 (including)
Freebsd Freebsd 13.0-beta1 (including) 13.0-beta1 (including)
Freebsd Freebsd 13.0-beta2 (including) 13.0-beta2 (including)
Freebsd Freebsd 13.0-beta3 (including) 13.0-beta3 (including)
Freebsd Freebsd 13.0-beta3-p1 (including) 13.0-beta3-p1 (including)
Freebsd Freebsd 13.0-beta4 (including) 13.0-beta4 (including)
Freebsd Freebsd 13.0-p1 (including) 13.0-p1 (including)
Freebsd Freebsd 13.0-p10 (including) 13.0-p10 (including)
Freebsd Freebsd 13.0-p11 (including) 13.0-p11 (including)
Freebsd Freebsd 13.0-p2 (including) 13.0-p2 (including)
Freebsd Freebsd 13.0-p3 (including) 13.0-p3 (including)
Freebsd Freebsd 13.0-p4 (including) 13.0-p4 (including)
Freebsd Freebsd 13.0-p5 (including) 13.0-p5 (including)
Freebsd Freebsd 13.0-p6 (including) 13.0-p6 (including)
Freebsd Freebsd 13.0-p7 (including) 13.0-p7 (including)
Freebsd Freebsd 13.0-p8 (including) 13.0-p8 (including)
Freebsd Freebsd 13.0-p9 (including) 13.0-p9 (including)
Freebsd Freebsd 13.0-rc1 (including) 13.0-rc1 (including)
Freebsd Freebsd 13.0-rc2 (including) 13.0-rc2 (including)
Freebsd Freebsd 13.0-rc3 (including) 13.0-rc3 (including)
Freebsd Freebsd 13.0-rc4 (including) 13.0-rc4 (including)
Freebsd Freebsd 13.0-rc5 (including) 13.0-rc5 (including)
Freebsd Freebsd 13.0-rc5-p1 (including) 13.0-rc5-p1 (including)

Potential Mitigations

References