Use-after-free in Linux kernel - CVE-2024-57984

 

Use-after-free in Linux kernel - CVE-2024-57984

Published: February 27, 2025 / Updated: May 11, 2025


Vulnerability identifier: #VU104970
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2024-57984
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the EXPORT_SYMBOL_GPL() function in drivers/i3c/master/dw-i3c-master.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-ibm (Ubuntu package)
linux-hwe-6.8 (Ubuntu package)
linux-aws-6.8 (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-gcp (Ubuntu package)
linux-raspi-realtime (Ubuntu package)
linux-realtime (Ubuntu package)
linux-lowlatency (Ubuntu package)
linux-aws (Ubuntu package)

How to mitigate CVE-2024-57984

Install update from vendor's website.

Linux kernel - update to 6.13.2
linux (Ubuntu package) - addressed in versions 6.8.0-64.67, 6.8.0-1031.31, 6.8.0-1032.34~22.04.1, 6.11.0-26.26, 6.11.0-26.26~24.04.1, 6.11.0-1010.10, 6.11.0-1013.13, 6.11.0-1015.15, 6.11.0-1015.15~24.04.1, 6.11.0-1022.22
linux-ibm (Ubuntu package) - addressed in versions 6.8.0-64.67.1, 6.8.0-64.67.1~22.04.1, 6.8.0-1029.29, 6.8.0-1029.29~22.04.1
linux-hwe-6.8 (Ubuntu package) - update to 6.8.0-64.67~22.04.1
linux-aws-6.8 (Ubuntu package) - addressed in versions 6.8.0-1015.17, 6.8.0-1028.32, 6.8.0-1029.30, 6.8.0-1029.30~22.04.1, 6.8.0-1031.34, 6.8.0-1031.34.1, 6.8.0-1031.34~22.04.1, 6.8.0-1032.34~22.04.1
linux-azure (Ubuntu package) - addressed in versions 6.8.0-1022.23, 6.8.0-1034.39, 6.8.0-1034.39~22.04.1
linux-raspi (Ubuntu package) - update to 6.8.0-1031.35
linux-gcp (Ubuntu package) - addressed in versions 6.8.0-1033.35, 6.8.0-1033.35~22.04.1
linux-raspi-realtime (Ubuntu package) - update to 6.8.0-2026.27
linux-realtime (Ubuntu package) - update to 6.8.1-1025.26
linux-lowlatency (Ubuntu package) - addressed in versions 6.11.0-1014.15, 6.11.0-1014.15~24.04.1, 6.11.0-1016.17
linux-aws (Ubuntu package) - update to 6.11.0-1014.15

External References

Related Security Bulletins