CVE-2026-64074

Source
https://cve.org/CVERecord?id=CVE-2026-64074
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64074.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64074
Downstream
Published
2026-07-19T15:39:49.076Z
Modified
2026-07-22T05:29:51.484342781Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
fs/statmount: fix slab out-of-bounds write in statmount_mnt_idmap
Details

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

fs/statmount: fix slab out-of-bounds write in statmountmntidmap

statmountmntidmap() writes one mapping with seq_printf() and then manually advances seq->count to include the NUL separator.

If seqprintf() overflows, seqsetoverflow() sets seq->count to seq->size. The manual seq->count++ changes this to seq->size + 1. seqhasoverflowed() then no longer detects the overflow. The corrupted count returns to statmountstring(), which later executes:

seq->buf[seq->count++] = '\0';

This causes a 1-byte NULL out-of-bounds write on the dynamically allocated seq buffer.

Fix this by checking for overflow immediately after seq_printf().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64074.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
37c4a9590e1efcae7749682239fc22a330d2d325
Fixed
e37ea2c6f17f273813ea4e8e94c102591d598ce1
Fixed
93614949dc86f068e3c32c32cf1ee2a2323177a7
Fixed
a3bf0f28d4ba16e1f35f8c983bb04426b87e2a78

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64074.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64074.json"