{"id":"CVE-2023-1195","published":"2023-05-18T00:00:00Z","modified":"2025-03-18T18:38:15Z","title":"A use-after-free flaw was found in reconn_set_ipaddr_from_hostname in fs/cifs/connect.c in the Linux kernel","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00208,"percentile":0.11113,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":2.22},{"name":"CVSS severity","points":3.85}]},"affectedVersions":[{"vendor":"n/a","product":"Kernel","versions":["prior to kernel 6.1 rc3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-06T15:55:57.832359Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-23475","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2011-1585-family-cve-2011-1585","parents":[{"from":"CVE-2011-1585","to":"CVE-2023-1195","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/cifs/connect.c"],"commits":["https://github.com/torvalds/linux/commit/4ff67b720c02c36e54d55b88c2931879b7db1cd2","https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621"],"basis":"shared function","functions":["TCP_Server_Info"]}]}]}}