Use-after-free in Linux kernel - CVE-2024-46796
Published: September 18, 2024 / Updated: May 12, 2025
Vulnerability identifier: #VU97499
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-46796
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the smb2_set_path_size() function in fs/smb/client/smb2inode.c. A local user can escalate privileges on the system.
How to mitigate CVE-2024-46796
Install update from vendor's website.
Sources
- https://git.kernel.org/stable/c/5a72d1edb0843e4c927a4096f81e631031c25c28
- https://git.kernel.org/stable/c/762099898309218b4a7954f3d49e985dc4dfd638
- https://git.kernel.org/stable/c/f9c169b51b6ce20394594ef674d6b10efba31220
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.10.10
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.11
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.51