CVE-2022-49834
published high CVSS 3.1 · 7.8nilfs2: fix use-after-free bug of ns_writer on remount
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b2fbf10040216ef5ee270773755fc2f5da65b749 · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 39a3ed68270b079c6b874d4e4727a512b9b4882c · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b4736ab5542112fe0a40f140a0a0b072954f34da · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 9b162e81045266a2d5b44df9dffdf05c54de9cca · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 4feedde5486c07ea79787839153a71ca71329c7d · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < afbd1188382a75f6cfe22c0b68533f7f9664f182 · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b152300d5a1ba4258dacf9916bff20e6a8c7603b · fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 8cccf05fe857a18ee26e20d11a8455a73ffd4efd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.34 (affected) · 0 to < 2.6.34 (unaffected · semver) · 4.9.334 through 4.9.* (unaffected · semver) · 4.14.300 through 4.14.* (unaffected · semver) · 4.19.267 through 4.19.* (unaffected · semver) · 5.4.225 through 5.4.* (unaffected · semver) · 5.10.155 through 5.10.* (unaffected · semver) · 5.15.79 through 5.15.* (unaffected · semver) · 6.0.9 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1903 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-023 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-071 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kbaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-baseppc64le | Advisory build | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-basex86_64 | Advisory build | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-devels390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-develx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-develnoarch | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-docsnoarch | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_167-defaultppc64le | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_167-defaults390x | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-livepatch-5_14_21-150400_24_167-defaultx86_64 | Advisory build | 1-150400.9.3.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-macrosnoarch | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-builds390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-sourcenoarch | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symss390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-symsx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP4 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.110.1.150500.6.51.3 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultppc64le | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaults390x | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_110-defaultx86_64 | Advisory build | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.110.1 | SUSE-SU-2025:02173-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free bug of ns_writer on remount If a nilfs2 filesystem is downgraded to read-only due to metadata corruption on disk and is remounted read/write, or if emergency read-only remount is performed, detaching a log writer and synchronizing the filesystem can be done at the same time. In these cases, use-after-free of the log writer (hereinafter nilfs->ns_writer) can happen as shown in the scenario below: Task1 Task2 -------------------------------- ------------------------------ nilfs_construct_segment nilfs_segctor_sync init_wait init_waitqueue_entry add_wait_queue schedule nilfs_remount (R/W remount case) nilfs_attach_log_writer nilfs_detach_log_writer nilfs_segctor_destroy kfree finish_wait _raw_spin_lock_irqsave __raw_spin_lock_irqsave do_raw_spin_lock debug_spin_lock_before <-- use-after-free While Task1 is sleeping, nilfs->ns_writer is freed by Task2. After Task1 waked up, Task1 accesses nilfs->ns_writer which is already freed. This scenario diagram is based on the Shigeru Yoshida's post [1]. This patch fixes the issue by not detaching nilfs->ns_writer on remount so that this UAF race doesn't happen. Along with this change, this patch also inserts a few necessary read-only checks with superblock instance where only the ns_writer pointer was used to check if the filesystem is read-only.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached only through local VFS remount and concurrent sync/fsync on a mounted nilfs2 volume (nilfs_remount → nilfs_detach_log_writer / nilfs_attach_log_writer racing nilfs_construct_segment → nilfs_segctor_sync); nilfs2 is FS_REQUIRES_DEV with no network-facing parser. AC:L - The attacker controls both sides of the race—issuing fsync/NILFS_IOCTL_SYNC/writeback that sleeps in nilfs_segctor_sync while concurrently remounting ro/rw to free ns_writer—so success does not depend on conditions outside attacker influence; syzbot reproduced it. PR:L - Although remount checks CAP_SYS_ADMIN in sb->s_user_ns and nilfs2 lacks FS_USERNS_MOUNT, an unprivileged desktop/kiosk user can mount a crafted or removable nilfs2 image via udisks2/polkit and have that privileged helper perform remount while driving ordinary fsync/sync, matching CVE-2022-49850. UI:N - In the automount/udisks scenario the attacker supplies the volume, obtains the mount, and drives both the syncing thread and the remount themselves; no separate victim action is required. S:U - This is a standard in-kernel heap use-after-free within the host kernel's authority and does not cross a VM, IOMMU, or sandbox boundary. C:H - kfree of nilfs_sc_info while another task still holds a pointer into it (finish_wait on sc_wait_request) is a classic heap UAF; reclaim/spray of that object enables arbitrary kernel read primitives. I:H - The same UAF of the segment-constructor object lets an attacker control freed wait-queue and related state consumed after wakeup, enabling write/control-flow hijacking consistent with treating exploitable kernel UAFs as High integrity. A:H - Even without full exploitation, use of the freed ns_writer in finish_wait/spinlock paths causes kernel oops/panic, fully impacting availability per UAF guidance.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b2fbf10040216ef5ee270773755fc2f5da65b749 (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 39a3ed68270b079c6b874d4e4727a512b9b4882c (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b4736ab5542112fe0a40f140a0a0b072954f34da (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 9b162e81045266a2d5b44df9dffdf05c54de9cca (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 4feedde5486c07ea79787839153a71ca71329c7d (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < afbd1188382a75f6cfe22c0b68533f7f9664f182 (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < b152300d5a1ba4258dacf9916bff20e6a8c7603b (affected · git)fe5f171bb272946ce5fbf843ce2f8467d0d41b9a to < 8cccf05fe857a18ee26e20d11a8455a73ffd4efd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.34 (affected)0 to < 2.6.34 (unaffected · semver)4.9.334 through 4.9.* (unaffected · semver)4.14.300 through 4.14.* (unaffected · semver)4.19.267 through 4.19.* (unaffected · semver)5.4.225 through 5.4.* (unaffected · semver)5.10.155 through 5.10.* (unaffected · semver)5.15.79 through 5.15.* (unaffected · semver)6.0.9 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/39a3ed68270b079c6b874d4e4727a512b9b4882c
- https://git.kernel.org/stable/c/4feedde5486c07ea79787839153a71ca71329c7d
- https://git.kernel.org/stable/c/8cccf05fe857a18ee26e20d11a8455a73ffd4efd
- https://git.kernel.org/stable/c/9b162e81045266a2d5b44df9dffdf05c54de9cca
- https://git.kernel.org/stable/c/afbd1188382a75f6cfe22c0b68533f7f9664f182
- https://git.kernel.org/stable/c/b152300d5a1ba4258dacf9916bff20e6a8c7603b
- https://git.kernel.org/stable/c/b2fbf10040216ef5ee270773755fc2f5da65b749
- https://git.kernel.org/stable/c/b4736ab5542112fe0a40f140a0a0b072954f34da
Provider assertions
1Linux · cna
nilfs2: fix use-after-free bug of ns_writer on remount
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 35c1df010da5f89f8e21db770fd712a37711ae9ab342effb17d1d26f8c6eb03a
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record