{"id":"CVE-2026-99992","aliases":["CVE-2026-99992"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix kmap_local leak in ntfs_check_logfile()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix kmap_local leak in ntfs_check_logfile()\n\nntfs_check_logfile() calls kmap_local_folio() on every iteration of its\nsearch loop but kunmap_local() only once per folio. The loop visits\npositions 0, 512, 1024, 2048, 4096 and so on. With 4 KiB pages the first\nfour are in one page, so a mount whose first LogFile folio is in highmem\nleaves three entries on the kmap_local stack of the mounting task.\nKernels without HIGHMEM are not affected.\n\nThe leaked entries keep migration disabled. nr_pinned of the runqueue\nthe mount ran on stays raised after the task exits, so taking that CPU\noffline blocks forever in balance_hotplug_wait().\n\nThe fifth mount in one task reaches KM_MAX_IDX (12 leaked entries plus\n4 in the loop) and hits the BUG_ON() in kmap_local_idx_push():\n\n  kernel BUG at mm/highmem.c:480!\n\nOn x86-32 the generic entry code also warns on return to user space:\n\n  DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx)\n  WARNING: include/linux/highmem-internal.h:17 at __do_fast_syscall_32+0x21e/0x550\n\nMap each page once, when it is read, and unmap that address.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix kmap_local leak in ntfs_check_logfile()\n\nntfs_check_logfile() calls kmap_local_folio() on every iteration of its\nsearch loop but kunmap_local() only once per folio. The loop visits\npositions 0, 512, 1024, 2048, 4096 and so on. With 4 KiB pages the first\nfour are in one page, so a mount whose first LogFile folio is in highmem\nleaves three entries on the kmap_local stack of the mounting task.\nKernels without HIGHMEM are not affected.\n\nThe leaked entries keep migration disabled. nr_pinned of the runqueue\nthe mount ran on stays raised after the task exits, so taking that CPU\noffline blocks forever in balance_hotplug_wait().\n\nThe fifth mount in one task reaches KM_MAX_IDX (12 leaked entries plus\n4 in the loop) and hits the BUG_ON() in kmap_local_idx_push():\n\n  kernel BUG at mm/highmem.c:480!\n\nOn x86-32 the generic entry code also warns on return to user space:\n\n  DEBUG_LOCKS_WARN_ON(current->kmap_ctrl.idx)\n  WARNING: include/linux/highmem-internal.h:17 at __do_fast_syscall_32+0x21e/0x550\n\nMap each page once, when it is read, and unmap that address.","source":"cvelist"}],"published":"2026-11-30T13:18:57.265Z","modified":"2026-11-30T14:20:42.480Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5218cd102aec7ae8df6af6e681ebb0b6d8e798f4","fixed":"f45b6993d70d5eda419f1a95534d5a6b2c86954f","status":"affected"},{"type":"git","introduced":"5218cd102aec7ae8df6af6e681ebb0b6d8e798f4","fixed":"a5ec71084996aec76d07e0e530a345cdd202dc1a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f45b6993d70d5eda419f1a95534d5a6b2c86954f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a5ec71084996aec76d07e0e530a345cdd202dc1a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99992","url":"https://www.cve.org/CVERecord?id=CVE-2026-99992","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:57.265Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99992","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99992","licence":"Public domain","modified":"2026-11-30T14:20:42.480Z"}],"updatedAt":"2026-11-30T14:33:35.822Z","epss":{"score":0.00267,"percentile":0.20075,"date":"2026-12-01T12:00:22.000Z"}}