PT-2024-7574 · Linux+4 · Linux Kernel+4
Syzbot
·
Published
2024-08-21
·
Updated
2026-05-26
·
CVE-2024-47691
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.6.58
Description
The issue is related to a use-after-free problem in the f2fs stop gc thread() function, caused by a race condition that may lead to exploitation, potentially affecting the confidentiality, integrity, and availability of protected information. The root cause is a race condition that may cause a use-after-free issue in the sbi->gc th pointer. The vulnerability is related to the f2fs do shutdown() function, which is called in two paths: f2fs ioc shutdown() and f2fs shutdown(). To fix the issue, it is recommended to grab the sb->s umount semaphore in the f2fs ioc shutdown() path.
Recommendations
For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue.
As a temporary workaround, consider disabling the
f2fs stop gc thread() function until a patch is available.
Restrict access to the vulnerable f2fs do shutdown() function to minimize the risk of exploitation.
Avoid using the sbi->gc th pointer in the affected code until the issue is resolved.Exploit
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Ubuntu