PT-2025-18551

CVE-2022-49834

·

Published

2022-11-08

·

Updated

2026-10-26

Description by

CVSS 3.1
7.8
High
MetricsAV: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 (affected versions not specified)
Description A use-after-free bug has been identified in the nilfs2 filesystem. This issue occurs when a nilfs2 filesystem is downgraded to read-only due to metadata corruption on disk and is remounted read/write, or if an emergency read-only remount is performed. In these cases, detaching a log writer and synchronizing the filesystem can happen simultaneously, leading to a use-after-free scenario. The bug is caused by the log writer (nilfs->ns writer) being freed by one task while another task is still accessing it. This patch fixes the issue by not detaching nilfs->ns writer on remount, preventing the UAF race.
Recommendations To resolve this issue, apply the patch that fixes the use-after-free bug by not detaching nilfs->ns writer on remount. Additionally, consider inserting necessary read-only checks with the superblock instance to ensure the filesystem is handled correctly. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Weakness enumeration
Related identifiers
CLSA-2026-1792980237
SUSE-SU-2025:01918-1
SUSE-SU-2025:01966-1
SUSE-SU-2025:02173-1
SUSE-SU-2025_02173-1
SUSE-SU-2025:02262-1
SUSE-SU-2025_02262-1
SUSE-SU-2025:2173-1
Found an issue in the description? Have something to add? Feel free to write us 👾