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

High 7.1 EPSS 0.1% Linux kernel

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.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Linux kernel and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Reboot into the new kernel (uname -r to confirm); live patching (kpatch, Ubuntu Livepatch, SUSE kGraft/klp) can defer the reboot for some CVEs

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade linux-image-amd64
Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic (or the installed flavour: linux-image-aws, -azure, -gcp, -virtual)
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh kernel
Fedora
sudo dnf upgrade --refresh kernel
SUSE / openSUSE
sudo zypper refresh
sudo zypper update kernel-default
Amazon Linux
sudo dnf upgrade --releasever=latest kernel kernel6.12
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade linux-lts linux-virt
FreeBSD
not Linux

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12linuxnot affected
Debian 13linuxnot affected
Debian testinglinuxfixed7.2.7-1
Ubuntu 18.04 (ESM)linuxnot affected
Ubuntu 20.04 (ESM)linuxnot affected
Ubuntu 22.04linuxnot affected
Ubuntu 24.04linuxnot affected
Ubuntu 26.04linuxnot affected
Ubuntu 26.10linuxnot affected
Ubuntu 18.04 (ESM)linux-hwenot planned
Ubuntu 18.04 (ESM)linux-hwe-5.4not affected
Ubuntu 20.04 (ESM)linux-hwe-5.8not planned
Ubuntu 20.04 (ESM)linux-hwe-5.11not planned
Ubuntu 20.04 (ESM)linux-hwe-5.13not planned
Ubuntu 20.04 (ESM)linux-hwe-5.15not affected
Ubuntu 22.04linux-hwe-5.19not planned
Ubuntu 22.04linux-hwe-6.2not planned
Ubuntu 22.04linux-hwe-6.5not planned
Ubuntu 22.04linux-hwe-6.8not affected
Ubuntu 24.04linux-hwe-6.11not planned
Ubuntu 24.04linux-hwe-6.14not planned
Ubuntu 24.04linux-hwe-6.17not affected
Ubuntu 24.04linux-hwe-7.0not affected
Ubuntu 18.04 (ESM)linux-hwe-edgenot planned
Ubuntu 18.04 (ESM)linux-kvmnot affected
Ubuntu 20.04 (ESM)linux-kvmnot affected
Ubuntu 22.04linux-kvmnot affected
Ubuntu 22.04linux-allwinner-5.19not planned
Ubuntu 18.04 (ESM)linux-awsnot affected
Ubuntu 20.04 (ESM)linux-awsnot affected
Ubuntu 22.04linux-awsnot affected
Ubuntu 24.04linux-awsnot affected
Ubuntu 26.04linux-awsnot affected
Ubuntu 26.10linux-awsnot affected
Ubuntu 18.04 (ESM)linux-aws-5.0not planned
Ubuntu 18.04 (ESM)linux-aws-5.3not planned
Ubuntu 18.04 (ESM)linux-aws-5.4not affected
Ubuntu 20.04 (ESM)linux-aws-5.8not planned
Ubuntu 20.04 (ESM)linux-aws-5.11not planned
Ubuntu 20.04 (ESM)linux-aws-5.13not planned
Ubuntu 20.04 (ESM)linux-aws-5.15not affected
Ubuntu 22.04linux-aws-5.19not planned
Ubuntu 22.04linux-aws-6.2not planned
Ubuntu 22.04linux-aws-6.5not planned
Ubuntu 22.04linux-aws-6.8not affected
Ubuntu 24.04linux-aws-6.14not planned
Ubuntu 24.04linux-aws-6.17not planned
Ubuntu 24.04linux-aws-7.0not affected
Ubuntu 18.04 (ESM)linux-azurenot planned
Ubuntu 20.04 (ESM)linux-azurenot affected
Ubuntu 22.04linux-azurenot affected
Ubuntu 24.04linux-azurenot affected
Ubuntu 26.04linux-azurenot affected
Ubuntu 26.10linux-azurenot affected
Ubuntu 18.04 (ESM)linux-azure-4.15not affected
Ubuntu 18.04 (ESM)linux-azure-5.3not planned
Ubuntu 18.04 (ESM)linux-azure-5.4not affected
Ubuntu 20.04 (ESM)linux-azure-5.8not planned
Ubuntu 20.04 (ESM)linux-azure-5.11not planned
Ubuntu 20.04 (ESM)linux-azure-5.13not planned

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

Sources

Page generated automatically from official sources on 2026-11-11 17:22 UTC. Always confirm with your vendor's advisory.