{"api_version":"1","generated_at":"2026-12-01T13:32:46+00:00","cve":"CVE-2026-100008","urls":{"html":"https://cve.report/CVE-2026-100008","api":"https://cve.report/api/cve/CVE-2026-100008.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-100008","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-100008"},"summary":{"title":"ntfs: sync the volume dirty bit with the recorded error state","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: sync the volume dirty bit with the recorded error state\n\nThe runtime metadata-corruption paths in fs/ntfs only record the\nin-memory NVolErrors() flag; whether VOLUME_IS_DIRTY ever reaches disk\ndepends on ntfs_set_volume_flags() being called by some other path,\nwhich for most error sites never happens.  A volume can therefore\nunmount with a clean on-disk flag despite recorded corruption, and\nchkdsk will not run on the next mount.\n\nPersisting the dirty bit from the error paths themselves does not work:\nthey run under a wide variety of ntfs locks, and the dirty-bit write\ntakes the $Volume mrec_lock and maps the $Volume mft record, which on\nan $MFT page-cache miss takes the $MFT runlist lock for writing.  That\nis enough to self-deadlock or form ABBA cycles from several of them:\nthe $MFT extend undo paths hold the $MFT runlist lock and then take\nvol->lcnbmp_lock inside ntfs_cluster_free(); the cluster allocation and\nfree rollback paths hold vol->lcnbmp_lock; and the whole mft record\nallocation tree is reachable from ntfs_write_volume_label()'s\nattribute-list maintenance while it holds the $Volume mrec_lock itself.\n\nInstead, make the persistence a property of the sync paths, which run\nwithout ntfs locks held.  The new ntfs_sync_volume_dirty_state() sets\nVOLUME_IS_DIRTY when NVolErrors() is recorded and clears it otherwise,\nevaluating the error flag under the $Volume mrec_lock.  It is called\nfrom ntfs_sync_fs(), from the remount-to-read-only path of\nntfs_reconfigure(), and from ntfs_put_super(), which previously\nevaluated NVolErrors() outside the lock before clearing the dirty bit\nunconditionally, and which now also persists the dirty bit for volumes\nwith recorded errors so they unmount with chkdsk scheduled.  The\nntfs_clear_volume_flags() wrapper, whose last callers this patch\nreplaces, has no users left and is removed.\n\nThe guarantee this provides is eventual, not instantaneous: the error\npaths record NVolErrors() with a lock-free set_bit(), so a persistence\npoint that evaluates the flag just before an error is recorded can\nstill leave the on-disk bit clean until the next one.  This is sound\nbecause NVolErrors() is sticky for the lifetime of the mount and every\npersistence point re-derives the on-disk bit from it; the last one,\nntfs_put_super(), runs after evict_inodes() on a quiesced filesystem,\nso a volume that is read-write at unmount time cannot unmount clean.\nA volume that is already read-only when the error is recorded\n(errors=remount-ro flips the superblock on the first error, as does an\nearlier remount-ro) has no persistence point left and keeps whatever\non-disk bit it had; that behaviour is unchanged.  The residual window\nis a crash between the error and the next persistence point.\n\nThe persistence paths never write a hibernated volume: resuming Windows\nfrom a modified image corrupts it.  Record the mount-time hibernation\nverdict in the new NV_Hibernated volume flag and make\nntfs_sync_volume_dirty_state() a no-op while it is set, so the dirty\nbit is left exactly as it is on disk and only the in-memory error\nstate is kept.  Without this, an rw mount of a hibernated volume with\nthe default errors=continue would gain a filesystem-internal write on\nthe first sync, remount or unmount.  Other writes to such a mount,\nlike the mount-time logfile emptying, are pre-existing and unchanged.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:14","updated_at":"2026-11-30 14:17:14"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/2254d06b1795e0ca1ed977bd604d5c5e633937d9","name":"https://git.kernel.org/stable/c/2254d06b1795e0ca1ed977bd604d5c5e633937d9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/521978c4f4441953d67297286e5804485ae05698","name":"https://git.kernel.org/stable/c/521978c4f4441953d67297286e5804485ae05698","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-100008","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100008","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 2254d06b1795e0ca1ed977bd604d5c5e633937d9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 521978c4f4441953d67297286e5804485ae05698 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.3.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/ntfs/ntfs.h","fs/ntfs/super.c","fs/ntfs/volume.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2254d06b1795e0ca1ed977bd604d5c5e633937d9","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"521978c4f4441953d67297286e5804485ae05698","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"7.3.4","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/ntfs/ntfs.h","fs/ntfs/super.c","fs/ntfs/volume.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: sync the volume dirty bit with the recorded error state\n\nThe runtime metadata-corruption paths in fs/ntfs only record the\nin-memory NVolErrors() flag; whether VOLUME_IS_DIRTY ever reaches disk\ndepends on ntfs_set_volume_flags() being called by some other path,\nwhich for most error sites never happens.  A volume can therefore\nunmount with a clean on-disk flag despite recorded corruption, and\nchkdsk will not run on the next mount.\n\nPersisting the dirty bit from the error paths themselves does not work:\nthey run under a wide variety of ntfs locks, and the dirty-bit write\ntakes the $Volume mrec_lock and maps the $Volume mft record, which on\nan $MFT page-cache miss takes the $MFT runlist lock for writing.  That\nis enough to self-deadlock or form ABBA cycles from several of them:\nthe $MFT extend undo paths hold the $MFT runlist lock and then take\nvol->lcnbmp_lock inside ntfs_cluster_free(); the cluster allocation and\nfree rollback paths hold vol->lcnbmp_lock; and the whole mft record\nallocation tree is reachable from ntfs_write_volume_label()'s\nattribute-list maintenance while it holds the $Volume mrec_lock itself.\n\nInstead, make the persistence a property of the sync paths, which run\nwithout ntfs locks held.  The new ntfs_sync_volume_dirty_state() sets\nVOLUME_IS_DIRTY when NVolErrors() is recorded and clears it otherwise,\nevaluating the error flag under the $Volume mrec_lock.  It is called\nfrom ntfs_sync_fs(), from the remount-to-read-only path of\nntfs_reconfigure(), and from ntfs_put_super(), which previously\nevaluated NVolErrors() outside the lock before clearing the dirty bit\nunconditionally, and which now also persists the dirty bit for volumes\nwith recorded errors so they unmount with chkdsk scheduled.  The\nntfs_clear_volume_flags() wrapper, whose last callers this patch\nreplaces, has no users left and is removed.\n\nThe guarantee this provides is eventual, not instantaneous: the error\npaths record NVolErrors() with a lock-free set_bit(), so a persistence\npoint that evaluates the flag just before an error is recorded can\nstill leave the on-disk bit clean until the next one.  This is sound\nbecause NVolErrors() is sticky for the lifetime of the mount and every\npersistence point re-derives the on-disk bit from it; the last one,\nntfs_put_super(), runs after evict_inodes() on a quiesced filesystem,\nso a volume that is read-write at unmount time cannot unmount clean.\nA volume that is already read-only when the error is recorded\n(errors=remount-ro flips the superblock on the first error, as does an\nearlier remount-ro) has no persistence point left and keeps whatever\non-disk bit it had; that behaviour is unchanged.  The residual window\nis a crash between the error and the next persistence point.\n\nThe persistence paths never write a hibernated volume: resuming Windows\nfrom a modified image corrupts it.  Record the mount-time hibernation\nverdict in the new NV_Hibernated volume flag and make\nntfs_sync_volume_dirty_state() a no-op while it is set, so the dirty\nbit is left exactly as it is on disk and only the in-memory error\nstate is kept.  Without this, an rw mount of a hibernated volume with\nthe default errors=continue would gain a filesystem-internal write on\nthe first sync, remount or unmount.  Other writes to such a mount,\nlike the mount-time logfile emptying, are pre-existing and unchanged."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:23:02.022Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/2254d06b1795e0ca1ed977bd604d5c5e633937d9"},{"url":"https://git.kernel.org/stable/c/521978c4f4441953d67297286e5804485ae05698"}],"title":"ntfs: sync the volume dirty bit with the recorded error state","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-100008","datePublished":"2026-11-30T13:23:02.022Z","dateReserved":"2026-09-25T10:25:14.452Z","dateUpdated":"2026-11-30T13:23:02.022Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:14","lastModifiedDate":"2026-11-30 14:17:14","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"100008","Ordinal":"1","Title":"ntfs: sync the volume dirty bit with the recorded error state","CVE":"CVE-2026-100008","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"100008","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: sync the volume dirty bit with the recorded error state\n\nThe runtime metadata-corruption paths in fs/ntfs only record the\nin-memory NVolErrors() flag; whether VOLUME_IS_DIRTY ever reaches disk\ndepends on ntfs_set_volume_flags() being called by some other path,\nwhich for most error sites never happens.  A volume can therefore\nunmount with a clean on-disk flag despite recorded corruption, and\nchkdsk will not run on the next mount.\n\nPersisting the dirty bit from the error paths themselves does not work:\nthey run under a wide variety of ntfs locks, and the dirty-bit write\ntakes the $Volume mrec_lock and maps the $Volume mft record, which on\nan $MFT page-cache miss takes the $MFT runlist lock for writing.  That\nis enough to self-deadlock or form ABBA cycles from several of them:\nthe $MFT extend undo paths hold the $MFT runlist lock and then take\nvol->lcnbmp_lock inside ntfs_cluster_free(); the cluster allocation and\nfree rollback paths hold vol->lcnbmp_lock; and the whole mft record\nallocation tree is reachable from ntfs_write_volume_label()'s\nattribute-list maintenance while it holds the $Volume mrec_lock itself.\n\nInstead, make the persistence a property of the sync paths, which run\nwithout ntfs locks held.  The new ntfs_sync_volume_dirty_state() sets\nVOLUME_IS_DIRTY when NVolErrors() is recorded and clears it otherwise,\nevaluating the error flag under the $Volume mrec_lock.  It is called\nfrom ntfs_sync_fs(), from the remount-to-read-only path of\nntfs_reconfigure(), and from ntfs_put_super(), which previously\nevaluated NVolErrors() outside the lock before clearing the dirty bit\nunconditionally, and which now also persists the dirty bit for volumes\nwith recorded errors so they unmount with chkdsk scheduled.  The\nntfs_clear_volume_flags() wrapper, whose last callers this patch\nreplaces, has no users left and is removed.\n\nThe guarantee this provides is eventual, not instantaneous: the error\npaths record NVolErrors() with a lock-free set_bit(), so a persistence\npoint that evaluates the flag just before an error is recorded can\nstill leave the on-disk bit clean until the next one.  This is sound\nbecause NVolErrors() is sticky for the lifetime of the mount and every\npersistence point re-derives the on-disk bit from it; the last one,\nntfs_put_super(), runs after evict_inodes() on a quiesced filesystem,\nso a volume that is read-write at unmount time cannot unmount clean.\nA volume that is already read-only when the error is recorded\n(errors=remount-ro flips the superblock on the first error, as does an\nearlier remount-ro) has no persistence point left and keeps whatever\non-disk bit it had; that behaviour is unchanged.  The residual window\nis a crash between the error and the next persistence point.\n\nThe persistence paths never write a hibernated volume: resuming Windows\nfrom a modified image corrupts it.  Record the mount-time hibernation\nverdict in the new NV_Hibernated volume flag and make\nntfs_sync_volume_dirty_state() a no-op while it is set, so the dirty\nbit is left exactly as it is on disk and only the in-memory error\nstate is kept.  Without this, an rw mount of a hibernated volume with\nthe default errors=continue would gain a filesystem-internal write on\nthe first sync, remount or unmount.  Other writes to such a mount,\nlike the mount-time logfile emptying, are pre-existing and unchanged.","Type":"Description","Title":"ntfs: sync the volume dirty bit with the recorded error state"}]}}}