PT-2024-34061
CVE-2024-50229
·
Published
2024-10-20
·
Updated
2025-10-03
Description by
CVSS 3.1
7.8
HighMetricsAV: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.61
Description:
A potential deadlock issue has been identified in the Linux kernel, specifically in the nilfs2 filesystem. This issue arises when creating new symlinks using the nilfs symlink() function, which can trigger memory reclamation involving the filesystem layer. This may result in circular lock dependencies among the reader/writer semaphore nilfs->ns segctor sem, s writers percpu rwsem (intwrite), and the fs reclaim pseudo lock. The issue occurs because the gfp flags of the page cache for symbolic links are overwritten to GFP KERNEL via inode nohighmem(). To fix this issue, the GFP FS flag is dropped from the page cache GFP flags of newly created symlinks.
Recommendations:
For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider dropping the GFP FS flag from the page cache GFP flags of newly created symlinks in the same way that nilfs new inode() and nilfs read inode() do.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾