{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72470","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-09T03:40:39.934Z","datePublished":"2026-08-15T05:57:12.472Z","dateUpdated":"2026-08-17T05:44:35.099Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:44:35.099Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: resize log->one_page_buf when adopting on-disk page size\n\nlog_replay() allocates log->one_page_buf using the page size that was\nchosen from the host PAGE_SIZE:\n\n\tlog->one_page_buf = kmalloc(log->page_size, GFP_NOFS);\n\nLater, when a restart area is found, the log page size recorded on disk\nis adopted:\n\n\tt32 = le32_to_cpu(log->rst_info.r_page->sys_page_size);\n\tif (log->page_size != t32) {\n\t\tlog->l_size = log->orig_file_size;\n\t\tlog->page_size = norm_file_page(t32, &log->l_size,\n\t\t\t\t\t\tt32 == DefaultLogPageSize);\n\t}\n\nIf the on-disk page size is larger than the size used for the initial\nallocation, log->page_size grows but one_page_buf is left at its\noriginal, smaller size. A subsequent unaligned read_log_page() then\nreads log->page_size bytes into the undersized scratch buffer:\n\n\tpage_buf = page_off ? log->one_page_buf : *buffer;\n\terr = ntfs_read_run_nb_ra(ni->mi.sbi, &ni->file.run, page_vbo, page_buf,\n\t\t\t\t  log->page_size, NULL, &log->read_ahead);\n\noverflowing the allocation. This is reachable when mounting a dirty\nNTFS volume whose log was formatted with a page size larger than the\nbuffer initially allocated on the mounting host (for example a 64K-log\nvolume mounted on a host that allocated a 4K scratch buffer).\n\nGrow one_page_buf when the adopted on-disk page size exceeds the size\nused for the initial allocation. On krealloc() failure the original\nbuffer is left intact and freed by the existing error path."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The flaw is triggered only during local block-device mount via the mount/fsmount syscall path (ntfs_fill_super → ntfs_loadlog_and_replay → log_replay); ntfs3 is not reachable from network-facing kernel services.\nAC:L - An attacker fully controls the crafted NTFS $LogFile on disk (sys_page_size larger than host PAGE_SIZE, valid restart area, and LSNs yielding unaligned read_log_page), so the overflow is reliably reproducible without races or victim-specific memory layout.\nPR:L - Exploitation requires mounting the malicious volume, which needs CAP_SYS_ADMIN; per kernel CNA guidance this is Low because unprivileged users can obtain that capability inside a user namespace and mount a loop-backed NTFS image.\nUI:N - No victim interaction is required when the attacker mounts their own crafted NTFS image (loop device or block device they control); log replay runs automatically during mount before any separate user file access.\nS:U - Impact is confined to kernel memory corruption and privilege escalation on the mounting host; it does not cross a VM, container, or IOMMU security boundary into another authority.\nC:H - The heap overflow writes attacker-controlled $LogFile data up to the adopted log page size (e.g., 64 KiB) beyond a smaller kmalloc buffer, corrupting adjacent kernel objects and enabling arbitrary memory disclosure primitives.\nI:H - ntfs_read_run_nb_ra writes log->page_size bytes into an undersized one_page_buf, causing an out-of-bounds heap write of attacker-controlled data that can be leveraged for arbitrary kernel modification or code execution.\nA:H - Corrupting kmalloc heap metadata or adjacent objects during log replay typically causes kernel oops/panic or hang, denying service on mount of a malicious NTFS volume even when full exploitation is not attempted."}]}],"affected":[{"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":"2097a2537d9d1c29c0e20ed0dbf717a0ccd8f374","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"f1422df595d69b997d23a8f11e12c528ccef7fad","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"4f129fc6f756f8541e5bff45b1804cc11b1ec712","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"c99444f6dfca893f6d310aae4a53c620f98f7b4f","status":"affected","versionType":"git"},{"version":"b46acd6a6a627d876898e1c84d3f84902264b445","lessThan":"5a35454179fe1041d9cd286f5d320ce0d448c12a","status":"affected","versionType":"git"}]},{"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":"6.6.145","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.97","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.40","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2097a2537d9d1c29c0e20ed0dbf717a0ccd8f374"},{"url":"https://git.kernel.org/stable/c/f1422df595d69b997d23a8f11e12c528ccef7fad"},{"url":"https://git.kernel.org/stable/c/4f129fc6f756f8541e5bff45b1804cc11b1ec712"},{"url":"https://git.kernel.org/stable/c/c99444f6dfca893f6d310aae4a53c620f98f7b4f"},{"url":"https://git.kernel.org/stable/c/5a35454179fe1041d9cd286f5d320ce0d448c12a"}],"title":"fs/ntfs3: resize log->one_page_buf when adopting on-disk page size","x_generator":{"engine":"bippy-1.2.0"}}}}