{
  "cveId": "CVE-2025-68772",
  "url": "https://patchblox.com/security/cve/CVE-2025-68772",
  "summary": "CVE-2025-68772 is fixed in linux on 1 platform, first by DEBIAN-CVE-2025-68772, released January 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "f2fs: fix to avoid updating compression context during writeback",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  f2fs: fix to avoid updating compression context during writeback  Bai, Shuangpeng \u003Csjb7183@psu.edu\u003E reported a bug as below:  Oops: divide error: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 11441 Comm: syz.0.46 Not tainted 6.17.0 #1 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX \u002B PIIX, 1996), BIOS 1.15.0-1 04/01/2014 RIP: 0010:f2fs_all_cluster_page_ready\u002B0x106/0x550 fs/f2fs/compress.c:857 Call Trace:  \u003CTASK\u003E  f2fs_write_cache_pages fs/f2fs/data.c:3078 [inline]  __f2fs_write_data_pages fs/f2fs/data.c:3290 [inline]  f2fs_write_data_pages\u002B0x1c19/0x3600 fs/f2fs/data.c:3317  do_writepages\u002B0x38e/0x640 mm/page-writeback.c:2634  filemap_fdatawrite_wbc mm/filemap.c:386 [inline]  __filemap_fdatawrite_range mm/filemap.c:419 [inline]  file_write_and_wait_range\u002B0x2ba/0x3e0 mm/filemap.c:794  f2fs_do_sync_file\u002B0x6e6/0x1b00 fs/f2fs/file.c:294  generic_write_sync include/linux/fs.h:3043 [inline]  f2fs_file_write_iter\u002B0x76e/0x2700 fs/f2fs/file.c:5259  new_sync_write fs/read_write.c:593 [inline]  vfs_write\u002B0x7e9/0xe00 fs/read_write.c:686  ksys_write\u002B0x19d/0x2d0 fs/read_write.c:738  do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]  do_syscall_64\u002B0xf7/0x470 arch/x86/entry/syscall_64.c:94  entry_SYSCALL_64_after_hwframe\u002B0x77/0x7f  The bug was triggered w/ below race condition:  fsync\t\t\t\tsetattr\t\t\tioctl - f2fs_do_sync_file  - file_write_and_wait_range   - f2fs_write_cache_pages   : inode is non-compressed   : cc.cluster_size =     F2FS_I(inode)-\u003Ei_cluster_size = 0    - tag_pages_for_writeback \t\t\t\t- f2fs_setattr \t\t\t\t - truncate_setsize \t\t\t\t - f2fs_truncate \t\t\t\t\t\t\t- f2fs_fileattr_set \t\t\t\t\t\t\t - f2fs_setflags_common \t\t\t\t\t\t\t  - set_compress_context \t\t\t\t\t\t\t  : F2FS_I(inode)-\u003Ei_cluster_size = 4 \t\t\t\t\t\t\t  : set_inode_flag(inode, FI_COMPRESSED_FILE)    - f2fs_compressed_file    : return true    - f2fs_all_cluster_page_ready    : \u0022pgidx % cc-\u003Ecluster_size\u0022 trigger dividing 0 issue  Let\u0027s change as below to fix this issue: - introduce a new atomic type variable .writeback in structure f2fs_inode_info to track the number of threads which calling f2fs_write_cache_pages(). - use .i_sem lock to protect .writeback update. - check .writeback before update compression context in f2fs_setflags_common() to avoid race w/ -\u003Ewritepages.",
  "published": "2026-01-13T16:15:56Z",
  "severity": "Moderate",
  "cvss": 5,
  "epss": 0.00201,
  "epssPercentile": 0.10068,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-68772",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.162-1",
      "fix": "DEBIAN-CVE-2025-68772",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-68772",
      "released": "2026-01-13T16:15:56Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.69-1",
      "fix": "DEBIAN-CVE-2025-68772",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-68772",
      "released": "2026-01-13T16:15:56Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.18.3-1",
      "fix": "DEBIAN-CVE-2025-68772",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-68772",
      "released": "2026-01-13T16:15:56Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}