# CVE-2023-53163: fs/ntfs3: don't hold ni\_lock when calling truncate\_setsize()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-09-15T14:03:33.777Z
- **Modified:** 2026-06-17T06:44:25.193Z

## Who should check

- Anyone running Linux \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 8414983c2e649364d8af29080a0869266b31abb6; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 73fee7e1e5ea11b51c51c46e0577a197ca3602cf; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 0226635c304cfd5c9db9b78c259cb713819b057e
- Anyone running Linux 5.15

## Description

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

fs/ntfs3: don't hold ni\_lock when calling truncate\_setsize()

syzbot is reporting hung task at do\_user\_addr\_fault() \[1\], for there is
a silent deadlock between PG\_locked bit and ni\_lock lock.

Since filemap\_update\_page() calls filemap\_read\_folio() after calling
folio\_trylock() which will set PG\_locked bit, ntfs\_truncate() must not
call truncate\_setsize() which will wait for PG\_locked bit to be cleared
when holding ni\_lock lock.

## Affected and fixed versions

- Linux: \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 8414983c2e649364d8af29080a0869266b31abb6; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 73fee7e1e5ea11b51c51c46e0577a197ca3602cf; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 0226635c304cfd5c9db9b78c259cb713819b057e (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 0226635c304cfd5c9db9b78c259cb713819b057e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53163.md
Affected: Linux >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 8414983c2e649364d8af29080a0869266b31abb6; >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f; >= 4342306f0f0d5ff4315a204d315c1b51b914fca5, < 73fee7e1e5ea11b51c51c46e0577a197ca3602cf; >= 4342306f0f0d5ff4315a204…
Fixed in: Linux 8414983c2e649364d8af29080a0869266b31abb6, Linux 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f, Linux 73fee7e1e5ea11b51c51c46e0577a197ca3602cf, Linux 0226635c304cfd5c9db9b78c259cb713819b057e

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-53163 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 8414983c2e649364d8af29080a0869266b31abb6; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 73fee7e1e5ea11b51c51c46e0577a197ca3602cf; \>= 4342306f0f0d5ff4315a204d315c1b51b914fca5, \< 0226635c304cfd5c9db9b78c259cb713819b057e; Linux 5.15.

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

Yes. Fixed in Linux 8414983c2e649364d8af29080a0869266b31abb6, Linux 6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f, Linux 73fee7e1e5ea11b51c51c46e0577a197ca3602cf, Linux 0226635c304cfd5c9db9b78c259cb713819b057e. Upgrade Linux to 0226635c304cfd5c9db9b78c259cb713819b057e or later.

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

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

- patch: <https://git.kernel.org/stable/c/8414983c2e649364d8af29080a0869266b31abb6>
- patch: <https://git.kernel.org/stable/c/6bb6b1c6b0c31e36736b87a39dd1cbbd9d5ec22f>
- patch: <https://git.kernel.org/stable/c/73fee7e1e5ea11b51c51c46e0577a197ca3602cf>
- patch: <https://git.kernel.org/stable/c/0226635c304cfd5c9db9b78c259cb713819b057e>

## 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-53163>

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