# CVE-2026-98136: ntfs: bound $AttrDef table walk to the loaded table size

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.16% (percentile 2, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-09-25T10:36:14.106Z
- **Modified:** 2026-10-19T10:18:12.787Z

## Who should check

- Anyone running Linux \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< 3e2ae47b8ebc632c27e7843a4632d9a7c060885e; \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< c8504fc1245f5322af5fa5c325ab05f9cf792b87
- Anyone running Linux 7.1

## Description

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

ntfs: bound $AttrDef table walk to the loaded table size

ntfs\_attr\_find\_in\_attrdef() walks the in-memory $AttrDef table, but the
loop condition bounds only the start of each entry, not the whole entry:

	for (ad = vol-\>attrdef; (u8 \*)ad - (u8 \*)vol-\>attrdef \<
			vol-\>attrdef\_size && ad-\>type; ++ad)

struct attr\_def is 160 bytes; the guard reads ad-\>type at offset 128 and
the loop body reads further fields. vol-\>attrdef is kvzalloc(i\_size),
where i\_size is the on-disk $AttrDef data size, checked in
load\_and\_init\_attrdef() only as 0 \< i\_size \<= 0x7fffffff. A volume whose
$AttrDef data size is smaller than one entry (e.g. 120 bytes) makes the
read of ad-\>type run past the allocation. Creating a file reaches this
through ntfs\_attr\_size\_bounds\_check() and reads out of bounds:

  BUG: KASAN: slab-out-of-bounds in ntfs\_attr\_find\_in\_attrdef+0x66/0xa0
  Read of size 4 at addr ffff888005833280 by task init/1
   ntfs\_attr\_find\_in\_attrdef
   ntfs\_attr\_size\_bounds\_check
   ntfs\_attr\_can\_be\_non\_resident
   ntfs\_attr\_add

Require the whole entry to lie within attrdef\_size in the loop guard, and
reject at mount a $AttrDef too small to hold one attr\_def entry.

## Affected and fixed versions

- Linux: \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< 3e2ae47b8ebc632c27e7843a4632d9a7c060885e; \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< c8504fc1245f5322af5fa5c325ab05f9cf792b87 (cvelist)
- Linux: 7.1 (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-2026-98136. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98136.md
Affected: Linux >= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, < 3e2ae47b8ebc632c27e7843a4632d9a7c060885e; >= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, < c8504fc1245f5322af5fa5c325ab05f9cf792b87; Linux 7.1
Fixed in: Linux 3e2ae47b8ebc632c27e7843a4632d9a7c060885e

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-2026-98136 being exploited?

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

### How serious is CVE-2026-98136?

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

### Which versions are affected by CVE-2026-98136?

Linux \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< 3e2ae47b8ebc632c27e7843a4632d9a7c060885e; \>= 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669, \< c8504fc1245f5322af5fa5c325ab05f9cf792b87; Linux 7.1.

### Is there a fix for CVE-2026-98136?

Yes. Fixed in Linux 3e2ae47b8ebc632c27e7843a4632d9a7c060885e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98136?

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/3e2ae47b8ebc632c27e7843a4632d9a7c060885e>
- patch: <https://git.kernel.org/stable/c/c8504fc1245f5322af5fa5c325ab05f9cf792b87>

## 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-2026-98136>

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