{"id":"CVE-2025-68369","state":"PUBLISHED","title":"ntfs3: init run lock for extend inode","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: init run lock for extend inode\n\nAfter setting the inode mode of $Extend to a regular file, executing the\ntruncate system call will enter the do_truncate() routine, causing the\nrun_lock uninitialized error reported by syzbot.\n\nPrior to patch 4e8011ffec79, if the inode mode of $Extend was not set to\na regular file, the do_truncate() routine would not be entered.\n\nAdd the run_lock initialization when loading $Extend.\n\nsyzbot reported:\nINFO: trying to register non-static key.\nCall Trace:\n dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120\n assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984\n register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299\n __lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112\n lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868\n down_write+0x96/0x1f0 kernel/locking/rwsem.c:1590\n ntfs_set_size+0x140/0x200 fs/ntfs3/inode.c:860\n ntfs_extend+0x1d9/0x970 fs/ntfs3/file.c:387\n ntfs_setattr+0x2e8/0xbe0 fs/ntfs3/file.c:808","publishedAt":"2025-12-24T10:32:55.440Z","updatedAt":"2026-08-05T12:11:05.018Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"63eb6730ce0604d3eacf036c2f68ea70b068317c","status":"affected","lessThan":"79c8a77b1782e2ace96d063be3c41ba540d1e20a","versionType":"git"},{"version":"78d46f5276ed3589aaaa435580068c5b62efc921","status":"affected","lessThan":"433d1f7c628c3cbdd7efce064d6c7acd072cf6c4","versionType":"git"},{"version":"17249b2a65274f73ed68bcd1604e08a60fd8a278","status":"affected","lessThan":"907bf69c6b6ce5d038eec7a599d67b45b62624bc","versionType":"git"},{"version":"37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7","status":"affected","lessThan":"6e17555728bc469d484c59db4a0abc65c19bc315","versionType":"git"},{"version":"57534db1bbc4ca772393bb7d92e69d5e7b9051cf","status":"affected","lessThan":"19164d8228317f3f1fe2662a9ba587cfe3b2d29e","versionType":"git"},{"version":"4e8011ffec79717e5fdac43a7e79faf811a384b7","status":"affected","lessThan":"ab5e8ebeee1caa4fcf8be7d8d62c0a7165469076","versionType":"git"},{"version":"4e8011ffec79717e5fdac43a7e79faf811a384b7","status":"affected","lessThan":"be99c62ac7e7af514e4b13f83c891a3cccefaa48","versionType":"git"},{"version":"5.15.197","status":"affected","lessThan":"5.15.198","versionType":"semver"},{"version":"6.1.159","status":"affected","lessThan":"6.1.160","versionType":"semver"},{"version":"6.6.117","status":"affected","lessThan":"6.6.120","versionType":"semver"},{"version":"6.12.58","status":"affected","lessThan":"6.12.63","versionType":"semver"},{"version":"6.17.8","status":"affected","lessThan":"6.17.13","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/inode.c"]}],"references":["https://git.kernel.org/stable/c/79c8a77b1782e2ace96d063be3c41ba540d1e20a","https://git.kernel.org/stable/c/433d1f7c628c3cbdd7efce064d6c7acd072cf6c4","https://git.kernel.org/stable/c/907bf69c6b6ce5d038eec7a599d67b45b62624bc","https://git.kernel.org/stable/c/6e17555728bc469d484c59db4a0abc65c19bc315","https://git.kernel.org/stable/c/19164d8228317f3f1fe2662a9ba587cfe3b2d29e","https://git.kernel.org/stable/c/ab5e8ebeee1caa4fcf8be7d8d62c0a7165469076","https://git.kernel.org/stable/c/be99c62ac7e7af514e4b13f83c891a3cccefaa48"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68369.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68369","state":"PUBLISHED","datePublished":"2025-12-24T10:32:55.440Z","dateUpdated":"2026-08-05T12:11:05.018Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.309Z"},"containers":{"cna":{"title":"ntfs3: init run lock for extend inode","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: init run lock for extend inode\n\nAfter setting the inode mode of $Extend to a regular file, executing the\ntruncate system call will enter the do_truncate() routine, causing the\nrun_lock uninitialized error reported by syzbot.\n\nPrior to patch 4e8011ffec79, if the inode mode of $Extend was not set to\na regular file, the do_truncate() routine would not be entered.\n\nAdd the run_lock initialization when loading $Extend.\n\nsyzbot reported:\nINFO: trying to register non-static key.\nCall Trace:\n dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120\n assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984\n register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299\n __lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112\n lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868\n down_write+0x96/0x1f0 kernel/locking/rwsem.c:1590\n ntfs_set_size+0x140/0x200 fs/ntfs3/inode.c:860\n ntfs_extend+0x1d9/0x970 fs/ntfs3/file.c:387\n ntfs_setattr+0x2e8/0xbe0 fs/ntfs3/file.c:808"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"63eb6730ce0604d3eacf036c2f68ea70b068317c","status":"affected","lessThan":"79c8a77b1782e2ace96d063be3c41ba540d1e20a","versionType":"git"},{"version":"78d46f5276ed3589aaaa435580068c5b62efc921","status":"affected","lessThan":"433d1f7c628c3cbdd7efce064d6c7acd072cf6c4","versionType":"git"},{"version":"17249b2a65274f73ed68bcd1604e08a60fd8a278","status":"affected","lessThan":"907bf69c6b6ce5d038eec7a599d67b45b62624bc","versionType":"git"},{"version":"37f65e68ba9852dc51c78dbb54a9881c3f0fe4f7","status":"affected","lessThan":"6e17555728bc469d484c59db4a0abc65c19bc315","versionType":"git"},{"version":"57534db1bbc4ca772393bb7d92e69d5e7b9051cf","status":"affected","lessThan":"19164d8228317f3f1fe2662a9ba587cfe3b2d29e","versionType":"git"},{"version":"4e8011ffec79717e5fdac43a7e79faf811a384b7","status":"affected","lessThan":"ab5e8ebeee1caa4fcf8be7d8d62c0a7165469076","versionType":"git"},{"version":"4e8011ffec79717e5fdac43a7e79faf811a384b7","status":"affected","lessThan":"be99c62ac7e7af514e4b13f83c891a3cccefaa48","versionType":"git"},{"version":"5.15.197","status":"affected","lessThan":"5.15.198","versionType":"semver"},{"version":"6.1.159","status":"affected","lessThan":"6.1.160","versionType":"semver"},{"version":"6.6.117","status":"affected","lessThan":"6.6.120","versionType":"semver"},{"version":"6.12.58","status":"affected","lessThan":"6.12.63","versionType":"semver"},{"version":"6.17.8","status":"affected","lessThan":"6.17.13","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/inode.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"5.15.198","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.160","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.120","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.63","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/inode.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/79c8a77b1782e2ace96d063be3c41ba540d1e20a"},{"url":"https://git.kernel.org/stable/c/433d1f7c628c3cbdd7efce064d6c7acd072cf6c4"},{"url":"https://git.kernel.org/stable/c/907bf69c6b6ce5d038eec7a599d67b45b62624bc"},{"url":"https://git.kernel.org/stable/c/6e17555728bc469d484c59db4a0abc65c19bc315"},{"url":"https://git.kernel.org/stable/c/19164d8228317f3f1fe2662a9ba587cfe3b2d29e"},{"url":"https://git.kernel.org/stable/c/ab5e8ebeee1caa4fcf8be7d8d62c0a7165469076"},{"url":"https://git.kernel.org/stable/c/be99c62ac7e7af514e4b13f83c891a3cccefaa48"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - ntfs3 supports NFS export, allowing an RW-exported volume to be reached through NFS LOOKUP and SETATTR. The RPC path reaches nfsd_setattr(), notify_change(), ntfs_setattr(), and ntfs_set_size() without opening the metadata file.\nAC:L - Standard NTFS volumes contain affected $Extend children, and a size-increasing SETATTR directly reaches the bad lock. On PREEMPT_RT the zeroed rwsem deterministically blocks; no race or malformed filesystem is required.\nPR:N - A writable anonymous NFS export can map RPC_AUTH_NULL to the NTFS mount UID, after which nfsd's owner override permits ATTR_SIZE despite mode 000. The remote caller needs no target account or capability.\nUI:N - Once the NTFS volume is mounted and exported, the attacker triggers the flaw directly with network requests; no victim action is required.\nS:U - The flaw compromises availability within the kernel and its NFS service without crossing a VM, IOMMU, or separate security-authority boundary.\nC:N - ntfs_alloc_inode() zeroes the relevant union, so no uninitialized contents are disclosed. The missing initialization creates an invalid synchronization object but no memory-read primitive.\nI:N - There is no use-after-free, out-of-bounds access, type confusion, or attacker-controlled write. The RT path blocks before attr_set_size(), while affected metadata records lack the unnamed data attribute needed for a successful size change.\nA:H - On PREEMPT_RT, a valid rwsem requires READER_BIAS, but the zeroed lock causes down_write() to wait indefinitely after subtracting that bias. Repeated SETATTR requests can occupy the remaining nfsd threads behind the held inode lock, causing complete NFS-service loss."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:11:05.018Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.197","versionEndExcluding":"5.15.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.159","versionEndExcluding":"6.1.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.117","versionEndExcluding":"6.6.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.58","versionEndExcluding":"6.12.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17.8","versionEndExcluding":"6.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}