#VU102024 Use-after-free in Linux kernel - CVE-2024-56631
Published: December 30, 2024 / Updated: May 12, 2025
Vulnerability identifier: #VU102024
Vulnerability risk: Low
CVSSv4.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-56631
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
Linux kernel
Linux kernel
Software vendor:
Linux Foundation
Linux Foundation
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 sg_release() function in drivers/scsi/sg.c. A local user can escalate privileges on the system.
Remediation
Install update from vendor's website.
External links
- https://git.kernel.org/stable/c/1f5e2f1ca5875728fcf62bc1a054707444ab4960
- https://git.kernel.org/stable/c/59b30afa578637169e2819536bb66459fdddc39d
- https://git.kernel.org/stable/c/f10593ad9bc36921f623361c9e3dd96bd52d85ee
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.234
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.177
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.4.290
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.127
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.5
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.13
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.66