CVE-2023-1195Use After Free in Kernel

CWE-416Use After Free9 documents7 sources
Severity
5.5MEDIUMNVD
OSV8.8
EPSS
0.0%
top 95.94%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 18
Latest updateMay 19

Description

A use-after-free flaw was found in reconn_set_ipaddr_from_hostname 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages8 packages

NVDlinux/linux_kernel< 6.1+1
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linux_kernelprior to kernel 6.1 rc3
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

3
GHSA
GHSA-rg37-q82v-wrqv: A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect2023-05-19
OSV
CVE-2023-1195: A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect2023-05-18
OSV
linux-hwe-5.19 vulnerabilities2023-03-28

📋Vendor Advisories

5
Microsoft
A use-after-free flaw was found in reconn_set_ipaddr_from_hostname 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 t2023-05-09
Ubuntu
Linux kernel (HWE) vulnerabilities2023-03-28
Ubuntu
Linux kernel vulnerabilities2023-03-23
Debian
CVE-2023-1195: linux - A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/co...2023
Red Hat
kernel: use-after-free caused by invalid pointer hostname in fs/cifs/connect.c2022-10-02
CVE-2023-1195 — Use After Free in Linux Kernel | cvebase