Skip to content
Medium 4.1

f2fs: quota: fix stale lock holder on remount failure

CVE-2026-139694 First seen on SecPulse

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.12.114, < 6.12.119→ 6.12.119
≥ 6.14.2, < 6.15→ 6.15
≥ 6.15.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

f2fs: quota: fix stale lock holder on remount failure

F2FS remount can fail while duplicating a journalled quota file name.

f2fs_remount()

  • sbi->umount_lock_holder = current
  • kstrdup(F2FS_OPTION(sbi).s_qf_names[i])
    : fails
  • free previously duplicated names
  • return -ENOMEM

The direct return leaves umount_lock_holder pointing at the failed
remount context. A later checkpoint may then wrongly treat another
context as the s_umount lock holder.

Add a restore_holder cleanup path and use it before returning -ENOMEM.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details