# CVE-2026-53027: fs/ntfs3: fix missing run load for vcn0 in attr_data_get_block_locked()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-24T16:29:35.740Z
- Modified: 2026-10-30T13:19:09.193Z
- Assigned by: Linux

## Description

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

fs/ntfs3: fix missing run load for vcn0 in attr_data_get_block_locked()

When a compressed or sparse attribute has its clusters frame-aligned,
vcn is rounded down to the frame start using cmask, which can result
in vcn != vcn0. In this case, vcn and vcn0 may reside in different
attribute segments.

The code already handles the case where vcn is in a different segment
by loading its runs before allocation. However, it fails to load runs
for vcn0 when vcn0 resides in a different segment than vcn. This causes
run_lookup_entry() to return SPARSE_LCN for vcn0 since its segment was
never loaded into the in-memory run list, triggering the WARN_ON(1).

Fix this by adding a missing check for vcn0 after the existing vcn
segment check. If vcn0 falls outside the current segment range
[svcn, evcn1), find and load the attribute segment containing vcn0
before performing the run lookup.

The following scenario triggers the bug:
  attr_data_get_block_locked()
    vcn = vcn0 & cmask        <- vcn != vcn0 after frame alignment
    load runs for vcn segment <- vcn0 segment not loaded!
    attr_allocate_clusters()  <- allocation succeeds
    run_lookup_entry(vcn0)    <- vcn0 not in run -> SPARSE_LCN
    WARN_ON(1)                <- bug fires here!

(As written by CVE List.)

## Affected

- Linux Linux: from 406a037d93b769bca248476bd14bbe548dc1ec35 before 543093f65318d012850e548b241f85381b14d643; from c380b52f6c5702cc4bdda5e6d456d6c19a201a0b before ea59d9dbc5504e29d420ac4aab774cbce39b0e69; from c380b52f6c5702cc4bdda5e6d456d6c19a201a0b before d68a14450783ecc5fddae957ac4e1c546dfcfb73; from c380b52f6c5702cc4bdda5e6d456d6c19a201a0b before 08fad5d5a26cc55c0ecb68ac59ba3be5e31f4147; from c380b52f6c5702cc4bdda5e6d456d6c19a201a0b before 2b4ae1ce613ade8a7e118fba4a5a77cd23e97e54; from c380b52f6c5702cc4bdda5e6d456d6c19a201a0b before d7ea8495fd307b58f8867acd81a1b40075b1d3ba; from 6.1.132 before 6.1.191; 6.2 (not affected: before 6.2; from 6.1.191 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.1.132 before 6.2; from 6.2 before 7.0.10

## References

- <https://git.kernel.org/stable/c/543093f65318d012850e548b241f85381b14d643>
- <https://git.kernel.org/stable/c/ea59d9dbc5504e29d420ac4aab774cbce39b0e69>
- <https://git.kernel.org/stable/c/d68a14450783ecc5fddae957ac4e1c546dfcfb73>
- <https://git.kernel.org/stable/c/08fad5d5a26cc55c0ecb68ac59ba3be5e31f4147>
- <https://git.kernel.org/stable/c/2b4ae1ce613ade8a7e118fba4a5a77cd23e97e54> (patch)
- <https://git.kernel.org/stable/c/d7ea8495fd307b58f8867acd81a1b40075b1d3ba> (patch)

## Sources

- CVE List: [CVE-2026-53027](https://www.cve.org/CVERecord?id=CVE-2026-53027), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-53027](https://nvd.nist.gov/vuln/detail/CVE-2026-53027), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-53027 · Whole record: https://cve.day/CVE-2026-53027.json · Rebuilt by cve.day 2026-11-25T22:59:25.661Z
