What’s Vulnerable › Vulnerabilities
CVE-2023-1195
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-05-18 · updated 2026-06-17
- Weakness: CWE-416
Description
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.
Affected products
- Linux kernel: before 6.1; 6.1-rc1, 6.1-rc2 — fixed in 6.1
How to fix
Upgrade to a fixed version: Linux kernel 6.1. Check the vendor advisory for mitigations.
References
- https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621
- https://github.com/torvalds/linux/commit/153695d36ead0ccc4d0256953c751cabf673e621
Get alerted when CVE-2023-1195 or the next vulnerability affects your stack