Bug 2541371 (CVE-2026-98140) - CVE-2026-98140 kernel: ntfs: fix kmap_local leak in write_mft_record_nolock() error paths
Summary: CVE-2026-98140 kernel: ntfs: fix kmap_local leak in write_mft_record_nolock()...
Keywords:
Status: NEW
Alias: CVE-2026-98140
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-25 11:36 UTC by OSIDB Bzimport
Modified: 2026-09-28 15:33 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-25 11:36:46 UTC
In the Linux kernel, the following vulnerability has been resolved:

ntfs: fix kmap_local leak in write_mft_record_nolock() error paths

write_mft_record_nolock() maps the MFT record folio with
kmap_local_folio(), but the pre_write_mst_fixup() and
bio_add_folio() failure paths jump to the error label without
unmapping it. kmap_local mappings are stack-ordered per task, so
leaking one corrupts the nesting for any outer mapping.

Unmap the folio on those error paths too.


Note You need to log in before you can comment on or make changes to this bug.