CVE-2022-50057
publishedfs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux82cae269cfa953032fbb8980a7d554d60fb00b17 to < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772 · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < bf6089dc01ba3194ab962105d7b85690843c256f · 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 321460ca3b55f48b3ba6008248264ab2bd6407d9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.63 through 5.15.* (unaffected · semver) · 5.19.4 through 5.19.* (unaffected · semver) · 6.0 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 evaluationALAS2KERNEL-5.15-2022-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-008 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-008 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-008 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-008 |
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr If ntfs_fill_super() wasn't called then sbi->sb will be equal to NULL. Code should check this ptr before dereferencing. Syzbot hit this issue via passing wrong mount param as can be seen from log below Fail log: ntfs3: Unknown parameter 'iochvrset' general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 PID: 3589 Comm: syz-executor210 Not tainted 5.18.0-rc3-syzkaller-00016-gb253435746d9 #0 ... Call Trace: <TASK> put_ntfs+0x1ed/0x2a0 fs/ntfs3/super.c:463 ntfs_fs_free+0x6a/0xe0 fs/ntfs3/super.c:1363 put_fs_context+0x119/0x7a0 fs/fs_context.c:469 do_new_mount+0x2b4/0xad0 fs/namespace.c:3044 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 82cae269cfa953032fbb8980a7d554d60fb00b17 to < 8e8e1a84dac7a3d2b432162a70d7fb6a75960772 (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < bf6089dc01ba3194ab962105d7b85690843c256f (affected · git)82cae269cfa953032fbb8980a7d554d60fb00b17 to < 321460ca3b55f48b3ba6008248264ab2bd6407d9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.63 through 5.15.* (unaffected · semver)5.19.4 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c0d5cecc52b94d27025752498ccab557f3bdf29f40bf6b19dbc558f803d530cd
- Ingested
- 23 Sep 2026, 08:04:39 UTC
- Source record
- Official CVE record