cve.bz

CVE-2023-1195 linux linux kernel: Use After Free

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1195 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1195?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1195?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1195 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 6.1
linux:linux_kernel6.1:rc1
linux:linux_kernel6.1:rc2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.4-1DEBIAN-CVE-2023-1195
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-1195
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1065.68~18.04.1UBUNTU-CVE-2023-1195
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-1195
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1064.68~18.04.1UBUNTU-CVE-2023-1195
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-99.112~18.04.1UBUNTU-CVE-2023-1195
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1063.67~18.04.1UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux5.4.0-99.112UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux-aws5.4.0-1065.68UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1031.35~20.04.1UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1034.41~20.04.1UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux-bluefield5.4.0-1028.31UBUNTU-CVE-2023-1195
Ubuntu20.04:LTSlinux-gcp5.4.0-1064.68UBUNTU-CVE-2023-1195
39 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatrhel_eus:8.6::baseosperf, kernel, bpftool and 30 more0:4.18.0-372.87.1.el8_6RHSA-2024:0412
7 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2kernel-rt5.3.18-150300.121.1SUSE-SU-2023:0779-1
SUSEReal Time Module 15 SP3kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-150300.121.1SUSE-SU-2023:0779-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-477.10.1.rt7.274.el8_8ALSA-2023:2736
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-477.10.1.el8_8ALSA-2023:2951
AlmaLinux9bpftool7.0.0-284.11.1.el9_2ALSA-2023:2458
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.11.1.rt14.296.el9_2ALSA-2023:2148
AlmaLinux9perf, rtla, kernel and 43 more5.14.0-284.11.1.el9_2ALSA-2023:2458
Azure Linux2kernel5.15.112.1-2AZL-26798

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.10.1.rt7.274.el8_8Fixed 2023-05-16RHSA-2023:2736
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.6 Extended Update Supportkernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.11.1.el9_2Fixed 2023-05-09RHSA-2023:2458
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-284.11.1.rt14.296.el9_2Fixed 2023-05-09RHSA-2023:2148
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.85.1.el9_0Fixed 2024-01-25RHSA-2024:0432
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-rt-0:5.14.0-70.85.1.rt21.156.el9_0Fixed 2024-01-25RHSA-2024:0431
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8kernel-0:4.18.0-372.87.1.el8_6Fixed 2024-01-25RHSA-2024:0412
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1195.

References

Check your stackJSON