CVE-2023-1195

Source
https://cve.org/CVERecord?id=CVE-2023-1195
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1195.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-1195
Downstream
Related
Published
2023-05-18T00:00:00Z
Modified
2026-07-07T08:52:59.103277993Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1195.json"
}
References

Affected packages

Git / github.com/torvalds/linux

Affected ranges

Type
GIT
Repo
https://github.com/torvalds/linux
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "prior to kernel 6.1 rc3"
        },
        {
            "last_affected": "prior to kernel 6.1 rc3"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

prior to kernel 6.*
prior to kernel 6.1 rc3
v6.*
v6.1-rc3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1195.json"