Linux Kernel 6.1-rc2 fs/cifs/connect.c reconn_set_ipaddr_from_hostname use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in Linux Kernel 6.1-rc2. The affected element is the function reconn_set_ipaddr_from_hostname of the file fs/cifs/connect.c. This manipulation causes use after free.
The identification of this vulnerability is CVE-2023-1195. The attack can only be executed locally. There is no exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability has been found in Linux Kernel 6.1-rc2 (Operating System) and classified as problematic. Affected by this vulnerability is the function reconn_set_ipaddr_from_hostname of the file fs/cifs/connect.c. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was shared 03/17/2023. It is possible to read the advisory at bugzilla.redhat.com. This vulnerability is known as CVE-2023-1195 since 03/06/2023. Technical details of the vulnerability are known, but there is no available exploit.
Upgrading to version 6.1-rc3 eliminates this vulnerability. Applying the patch 153695d36ead0ccc4d0256953c751cabf673e621 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2023-23475). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 6.1-rc3
Patch: 153695d36ead0ccc4d0256953c751cabf673e621
Timeline
03/06/2023 🔍03/17/2023 🔍
03/17/2023 🔍
08/11/2025 🔍
Sources
Vendor: kernel.orgAdvisory: bugzilla.redhat.com
Status: Confirmed
CVE: CVE-2023-1195 (🔍)
GCVE (CVE): GCVE-0-2023-1195
GCVE (VulDB): GCVE-100-223339
EUVD: 🔍
Entry
Created: 03/17/2023 15:55Updated: 08/11/2025 05:00
Changes: 03/17/2023 15:55 (43), 03/18/2025 20:26 (27), 08/11/2025 05:00 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.