CVE-2023-1195 json
A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect.c in the Linux kernel.
published 2023-05-18 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-23475
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 6.1
- linux Debian 14, Debian 13, Debian 12 6.1.4-1
debian advisories DEBIAN-CVE-2023-1195
- linux Ubuntu 20.04 LTS 5.4.0-99.112
- linux Ubuntu 22.04 LTS 5.15.0-67.74
- linux-aws Ubuntu 20.04 LTS 5.4.0-1065.68
- linux-aws Ubuntu 22.04 LTS 5.15.0-1031.35
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1064.68
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1030.37
- linux-gke Ubuntu 20.04 LTS 5.4.0-1062.65
- linux-gke Ubuntu 22.04 LTS 5.15.0-1028.33
ubuntu advisories UBUNTU-CVE-2023-1195
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perf rhev hypervisor 4.4, RHEL 8.6 EUS 4.18.0-372.87.1.el8_6
- kernel RHEL 9 5.14.0-284.11.1.el9_2
- perf RHEL 9 5.14.0-284.11.1.el9_2
- rtla RHEL 9 5.14.0-284.11.1.el9_2
- bpftool RHEL 9 7.0.0-284.11.1.el9_2
- kernel-64k RHEL 9 5.14.0-284.11.1.el9_2
- kernel-core RHEL 9 5.14.0-284.11.1.el9_2
- kernel-tools RHEL 9 5.14.0-284.11.1.el9_2
red hat advisories RHSA-2024:0431RHSA-2024:0432RHSA-2024:0412RHSA-2023:2458RHSA-2023:2148RHSA-2023:2736
- kernel-rt SLE Micro 5.2, SLE Micro 5.1, Real Time Module 15 SP3 5.3.18-150300.121.1
- kernel-syms-rt Real Time Module 15 SP3 5.3.18-150300.121.1
- kernel-rt_debug Real Time Module 15 SP3 5.3.18-150300.121.1
- kernel-source-rt Real Time Module 15 SP3 5.3.18-150300.121.1
suse advisories SUSE-SU-2023:0779-1
- kernel-rt AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-kvm AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-core AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-modules AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-kvm AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-core AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-debug-modules AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
- kernel-rt-modules-extra AlmaLinux 8 4.18.0-477.10.1.rt7.274.el8_8
almalinux advisories ALSA-2023:2736ALSA-2023:2951ALSA-2023:2148ALSA-2023:2458
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-1195 updated cvss 5.5
kernel: use-after-free caused by invalid pointer hostname in fs/cifs/connect.c
-
Red Hat CodeReady Linux Builder EUS (v.8.6) kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-aarch64 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-ppc64le 4.18.0-372.87.1.el8_6fixed: vendor fix RHSA-2024:0412
-
Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.85.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.85.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.85.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.85.1.el9_0fixed: vendor fix RHSA-2024:0432
-
Red Hat Enterprise Linux AppStream (v. 9) perf 5.14.0-284.11.1.el9_2, rtla 5.14.0-284.11.1.el9_2, kernel-devel-matched 5.14.0-284.11.1.el9_2, kernel-64k-devel-matched 5.14.0-284.11.1.el9_2, kernel-debug-devel-matched 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, +5 morefixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.85.1.el9_0, kernel-devel-matched 5.14.0-70.85.1.el9_0, kernel-debug-devel-matched 5.14.0-70.85.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.85.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.85.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.85.1.el9_0, +2 morefixed: vendor fix RHSA-2024:0432
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-477.10.1.el8_8, kernel 4.18.0-477.10.1.el8_8, bpftool 4.18.0-477.10.1.el8_8, kernel-core 4.18.0-477.10.1.el8_8, kernel-tools 4.18.0-477.10.1.el8_8, python3-perf 4.18.0-477.10.1.el8_8, +15 morefixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.0.0-284.11.1.el9_2, kernel 5.14.0-284.11.1.el9_2, kernel-64k 5.14.0-284.11.1.el9_2, kernel-core 5.14.0-284.11.1.el9_2, kernel-tools 5.14.0-284.11.1.el9_2, python3-perf 5.14.0-284.11.1.el9_2, +28 morefixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) perf 4.18.0-372.87.1.el8_6, kernel 4.18.0-372.87.1.el8_6, bpftool 4.18.0-372.87.1.el8_6, kernel-core 4.18.0-372.87.1.el8_6, kernel-tools 4.18.0-372.87.1.el8_6, python3-perf 4.18.0-372.87.1.el8_6, +15 morefixed: vendor fix RHSA-2024:0412
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.85.1.el9_0, bpftool 5.14.0-70.85.1.el9_0, kernel-core 5.14.0-70.85.1.el9_0, kernel-tools 5.14.0-70.85.1.el9_0, python3-perf 5.14.0-70.85.1.el9_0, kernel-modules 5.14.0-70.85.1.el9_0, +14 morefixed: vendor fix RHSA-2024:0432
show 9 moreshow fewer
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-aarch64 4.18.0-477.10.1.el8_8, kernel-debuginfo-common-ppc64le 4.18.0-477.10.1.el8_8fixed: vendor fix RHSA-2023:2951
-
Red Hat Enterprise Linux CRB (v. 9) kernel-debuginfo-common-s390x 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.11.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.11.1.el9_2fixed: vendor fix RHSA-2023:2458
-
Red Hat Enterprise Linux NFV (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-kvm 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, +4 morefixed: vendor fix RHSA-2023:2736
-
Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-kvm 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, +6 morefixed: vendor fix RHSA-2023:2148
-
Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-core 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-modules 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-core 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-modules 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-modules-extra 5.14.0-70.85.1.rt21.156.el9_0, +2 more Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-kvm 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-core 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-modules 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-kvm 5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-core 5.14.0-70.85.1.rt21.156.el9_0, +4 morefixed: vendor fix RHSA-2024:0431
-
Red Hat Enterprise Linux RT (v. 8) kernel-rt 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-core 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-debug-modules 4.18.0-477.10.1.rt7.274.el8_8, kernel-rt-modules-extra 4.18.0-477.10.1.rt7.274.el8_8, +2 morefixed: vendor fix RHSA-2023:2736
-
Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-modules-core 5.14.0-284.11.1.rt14.296.el9_2, kernel-rt-debug-modules 5.14.0-284.11.1.rt14.296.el9_2, +4 morefixed: vendor fix RHSA-2023:2148
-
Red Hat Virtualization 4 Hypervisor for RHEL 8 perf 4.18.0-372.87.1.el8_6, kernel-debuginfo-common-x86_64 4.18.0-372.87.1.el8_6fixed: vendor fix RHSA-2024:0412
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a Kernel
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
Sources
- CVE List CVE-2023-1195
- NVD CVE-2023-1195
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.