{"id":"CVE-2023-1195","details":"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-\u003ehostname to NULL, leading to an invalid pointer request.","modified":"2026-10-22T15:55:34.500673361Z","published":"2023-05-18T00:00:00Z","related":["ALSA-2023:2148","ALSA-2023:2458","ALSA-2023:2736","ALSA-2023:2951","SUSE-SU-2023:0779-1"],"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":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1195.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1195"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/torvalds/linux","events":[{"introduced":"30a0b95b1335e12efef89dd78518ed3e4a71a763"},{"fixed":"153695d36ead0ccc4d0256953c751cabf673e621"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"prior to kernel 6.1 rc3"},{"last_affected":"prior to kernel 6.1 rc3"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"153695d36ead0ccc4d0256953c751cabf673e621"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["prior to kernel 6.1 rc3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-1195.json","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621","target":{"file":"fs/cifs/connect.c","function":"cifs_put_tcp_session"},"deprecated":false,"digest":{"function_hash":"194690203964826457721607720254159843438","length":921},"id":"CVE-2023-1195-351c6534","signature_type":"Function"},{"signature_version":"v1","source":"https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621","target":{"file":"fs/cifs/connect.c"},"deprecated":false,"digest":{"line_hashes":["173956419972832208162509469679097877097","63759140553960960487632636716906850614","5647248873069855163268822903456449097","265160484926038134974602322313145355742"],"threshold":0.9},"id":"CVE-2023-1195-effd1c3b","signature_type":"Line"}],"vanir_signatures_modified":"2026-10-22T15:55:34Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}