CVE-2023-1195: Use After Free
A use-after-free flaw was found in reconnsetipaddrfromhostname in fs/cifs/connect.c in the Linux kernel. The issue occurs when it forgets to set the free pointer server->hostname to NULL, leading to an invalid pointer request.
Other sources
A use-after-free in reconnsetipaddrfromhostname forgets to set free pointer server->hostname to NULL. Upstream fix: https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:4.18.0-477.10.1.rt7.274.el8_8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:4.18.0-477.10.1.el8_8 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.11.1.el9_2 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.11.1.rt14.296.el9_2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-1195?
CVE-2023-1195 has been classified with a severity rating that indicates a use-after-free vulnerability, which can lead to potential denial of service or arbitrary code execution.
How do I fix CVE-2023-1195?
To fix CVE-2023-1195, upgrade to the latest kernel versions specified for your distribution, such as kernel-rt 0:4.18.0-477.10.1.rt7.274.el8_8 or kernel 0:5.14.0-284.11.1.el9_2.
What are the affected systems for CVE-2023-1195?
CVE-2023-1195 affects several versions of the Linux kernel, including multiple Red Hat and Debian packages.
Can CVE-2023-1195 lead to system compromise?
Yes, CVE-2023-1195 can potentially allow attackers to exploit the use-after-free flaw, leading to system compromise.
Is CVE-2023-1195 specific to certain Linux distributions?
CVE-2023-1195 is not limited to a single distribution and affects multiple Linux distributions, including Red Hat and Debian.