Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

fs/ntfs3: validate rec->used in journal-replay file record check

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-31716

Published

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: validate rec->used in journal-replay file record check check_file_record() validates rec->total against the record size but never validates rec->used. The do_action() journal-replay handlers read rec->used from disk and use it to compute memmove lengths: DeleteAttribute: memmove(attr, ..., used - asize - roff) CreateAttribute: memmove(..., attr, used - roff) change_attr_size: memmove(..., used - PtrOffset(rec, next)) When rec->used is smaller than the offset of a validated attribute, or larger than the record size, these subtractions can underflow allowing us to copy huge amounts of memory in to a 4kb buffer, generally considered a bad idea overall. This requires a corrupted filesystem, which isn't a threat model the kernel really needs to worry about, but checking for such an obvious out-of-bounds value is good to keep things robust, especially on journal replay Fix this up by bounding rec->used correctly. This is much like commit b2bc7c44ed17 ("fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot") which checked different values in this same switch statement.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-31716

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ntfs3/fslog.c"
                    ],
                    "versions": [
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "8e64d33198b5a0fb14a452708bad844f94f03b2c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "1393a467a9607e62123806de7d4c3a3e54e396a9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "f90b8a1798b750755a9e9aee66678f0a1820bbaf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "4b1613d7e2deda831a97e427d1ea586e50fe1be5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "0112e6279420d4005b3d57af36fb45c01b8d0116",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "f79d0403ea20a81bc29105bba54fbcab54e8c403",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b46acd6a6a627d876898e1c84d3f84902264b445",
                            "lessThan": "0ca0485e4b2e837ebb6cbd4f2451aba665a03e4b",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ntfs3/fslog.c"
                    ],
                    "versions": [
                        {
                            "version": "5.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.209",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.136",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.84",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.25",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.2",
                            "lessThanOrEqual": "7.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 22:52 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current