# CVE-2023-54196: fs/ntfs3: Fix NULL pointer dereference in 'ni\_write\_inode'

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:09:02.801Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 329fc4d3f73d865b25f2ee4eafafb040ace37ad5; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1c5cffe0d662fb2de7b63176c2582abb69b5f538; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< db2a3cc6a3481076da6344cc62a80a4e2525f36f
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: Fix NULL pointer dereference in 'ni\_write\_inode'

Syzbot found the following issue:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000016
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
user pgtable: 4k pages, 48-bit VAs, pgdp=000000010af56000
\[0000000000000016\] pgd=08000001090da003, p4d=08000001090da003, pud=08000001090ce003, pmd=0000000000000000
Internal error: Oops: 0000000096000006 \[\#1\] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3036 Comm: syz-executor206 Not tainted 6.0.0-rc6-syzkaller-17739-g16c9f284e746 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : is\_rec\_inuse fs/ntfs3/ntfs.h:313 \[inline\]
pc : ni\_write\_inode+0xac/0x798 fs/ntfs3/frecord.c:3232
lr : ni\_write\_inode+0xa0/0x798 fs/ntfs3/frecord.c:3226
sp : ffff8000126c3800
x29: ffff8000126c3860 x28: 0000000000000000 x27: ffff0000c8b02000
x26: ffff0000c7502320 x25: ffff0000c7502288 x24: 0000000000000000
x23: ffff80000cbec91c x22: ffff0000c8b03000 x21: ffff0000c8b02000
x20: 0000000000000001 x19: ffff0000c75024d8 x18: 00000000000000c0
x17: ffff80000dd1b198 x16: ffff80000db59158 x15: ffff0000c4b6b500
x14: 00000000000000b8 x13: 0000000000000000 x12: ffff0000c4b6b500
x11: ff80800008be1b60 x10: 0000000000000000 x9 : ffff0000c4b6b500
x8 : 0000000000000000 x7 : ffff800008be1b50 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 is\_rec\_inuse fs/ntfs3/ntfs.h:313 \[inline\]
 ni\_write\_inode+0xac/0x798 fs/ntfs3/frecord.c:3232
 ntfs\_evict\_inode+0x54/0x84 fs/ntfs3/inode.c:1744
 evict+0xec/0x334 fs/inode.c:665
 iput\_final fs/inode.c:1748 \[inline\]
 iput+0x2c4/0x324 fs/inode.c:1774
 ntfs\_new\_inode+0x7c/0xe0 fs/ntfs3/fsntfs.c:1660
 ntfs\_create\_inode+0x20c/0xe78 fs/ntfs3/inode.c:1278
 ntfs\_create+0x54/0x74 fs/ntfs3/namei.c:100
 lookup\_open fs/namei.c:3413 \[inline\]
 open\_last\_lookups fs/namei.c:3481 \[inline\]
 path\_openat+0x804/0x11c4 fs/namei.c:3688
 do\_filp\_open+0xdc/0x1b8 fs/namei.c:3718
 do\_sys\_openat2+0xb8/0x22c fs/open.c:1311
 do\_sys\_open fs/open.c:1327 \[inline\]
 \_\_do\_sys\_openat fs/open.c:1343 \[inline\]
 \_\_se\_sys\_openat fs/open.c:1338 \[inline\]
 \_\_arm64\_sys\_openat+0xb0/0xe0 fs/open.c:1338
 \_\_invoke\_syscall arch/arm64/kernel/syscall.c:38 \[inline\]
 invoke\_syscall arch/arm64/kernel/syscall.c:52 \[inline\]
 el0\_svc\_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do\_el0\_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0\_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:636
 el0t\_64\_sync\_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:654
 el0t\_64\_sync+0x18c/0x190
Code: 97dafee4 340001b4 f9401328 2a1f03e0 (79402d14)
---\[ end trace 0000000000000000 \]---

Above issue may happens as follows:
ntfs\_new\_inode
  mi\_init
    mi-\>mrec = kmalloc(sbi-\>record\_size, GFP\_NOFS); --\>failed to allocate memory
      if (!mi-\>mrec)
        return -ENOMEM;
iput
  iput\_final
    evict
      ntfs\_evict\_inode
        ni\_write\_inode
	  is\_rec\_inuse(ni-\>mi.mrec)-\> As 'ni-\>mi.mrec' is NULL trigger NULL-ptr-deref

To solve above issue if new inode failed make inode bad before call 'iput()' in
'ntfs\_new\_inode()'.

## Affected and fixed versions

- Linux: \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 329fc4d3f73d865b25f2ee4eafafb040ace37ad5; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1c5cffe0d662fb2de7b63176c2582abb69b5f538; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< db2a3cc6a3481076da6344cc62a80a4e2525f36f (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54196. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54196.md
Affected: Linux >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 329fc4d3f73d865b25f2ee4eafafb040ace37ad5; >= 82cae269cfa953032fbb8980a7d554d60fb00b17, < 1c5cffe0d662fb2de7b63176c2582abb69b5f538; >= 82cae269cfa953032fbb898…
Fixed in: Linux 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103, Linux 329fc4d3f73d865b25f2ee4eafafb040ace37ad5, Linux 1c5cffe0d662fb2de7b63176c2582abb69b5f538

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54196 being exploited?

There is no confirmed exploitation: CVE-2023-54196 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54196?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54196?

Linux \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 329fc4d3f73d865b25f2ee4eafafb040ace37ad5; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< 1c5cffe0d662fb2de7b63176c2582abb69b5f538; \>= 82cae269cfa953032fbb8980a7d554d60fb00b17, \< db2a3cc6a3481076da6344cc62a80a4e2525f36f; Linux 5.15.

### Is there a fix for CVE-2023-54196?

Yes. Fixed in Linux 6d3d3283e6b4fb3f3ee05dac30ee1461930b8103, Linux 329fc4d3f73d865b25f2ee4eafafb040ace37ad5, Linux 1c5cffe0d662fb2de7b63176c2582abb69b5f538. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54196?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6d3d3283e6b4fb3f3ee05dac30ee1461930b8103>
- other: <https://git.kernel.org/stable/c/329fc4d3f73d865b25f2ee4eafafb040ace37ad5>
- other: <https://git.kernel.org/stable/c/1c5cffe0d662fb2de7b63176c2582abb69b5f538>
- other: <https://git.kernel.org/stable/c/db2a3cc6a3481076da6344cc62a80a4e2525f36f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54196>

HTML: <https://flawdb.com/CVE-2023-54196> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54196>
