{
  "cveId": "CVE-2025-71065",
  "url": "https://patchblox.com/security/cve/CVE-2025-71065",
  "summary": "CVE-2025-71065 is fixed in linux on 1 platform, first by DEBIAN-CVE-2025-71065, released January 13, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "f2fs: fix to avoid potential deadlock",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  f2fs: fix to avoid potential deadlock  As Jiaming Zhang and syzbot reported, there is potential deadlock in f2fs as below:  Chain exists of:   \u0026sbi-\u003Ecp_rwsem --\u003E fs_reclaim --\u003E sb_internal#2   Possible unsafe locking scenario:         CPU0                    CPU1        ----                    ----   rlock(sb_internal#2);                                lock(fs_reclaim);                                lock(sb_internal#2);   rlock(\u0026sbi-\u003Ecp_rwsem);   *** DEADLOCK ***  3 locks held by kswapd0/73:  #0: ffffffff8e247a40 (fs_reclaim){\u002B.\u002B.}-{0:0}, at: balance_pgdat mm/vmscan.c:7015 [inline]  #0: ffffffff8e247a40 (fs_reclaim){\u002B.\u002B.}-{0:0}, at: kswapd\u002B0x951/0x2800 mm/vmscan.c:7389  #1: ffff8880118400e0 (\u0026type-\u003Es_umount_key#50){.\u002B.\u002B}-{4:4}, at: super_trylock_shared fs/super.c:562 [inline]  #1: ffff8880118400e0 (\u0026type-\u003Es_umount_key#50){.\u002B.\u002B}-{4:4}, at: super_cache_scan\u002B0x91/0x4b0 fs/super.c:197  #2: ffff888011840610 (sb_internal#2){.\u002B.\u002B}-{0:0}, at: f2fs_evict_inode\u002B0x8d9/0x1b60 fs/f2fs/inode.c:890  stack backtrace: CPU: 0 UID: 0 PID: 73 Comm: kswapd0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 \u002B ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12\u002B1 04/01/2014 Call Trace:  \u003CTASK\u003E  dump_stack_lvl\u002B0x189/0x250 lib/dump_stack.c:120  print_circular_bug\u002B0x2ee/0x310 kernel/locking/lockdep.c:2043  check_noncircular\u002B0x134/0x160 kernel/locking/lockdep.c:2175  check_prev_add kernel/locking/lockdep.c:3165 [inline]  check_prevs_add kernel/locking/lockdep.c:3284 [inline]  validate_chain\u002B0xb9b/0x2140 kernel/locking/lockdep.c:3908  __lock_acquire\u002B0xab9/0xd20 kernel/locking/lockdep.c:5237  lock_acquire\u002B0x120/0x360 kernel/locking/lockdep.c:5868  down_read\u002B0x46/0x2e0 kernel/locking/rwsem.c:1537  f2fs_down_read fs/f2fs/f2fs.h:2278 [inline]  f2fs_lock_op fs/f2fs/f2fs.h:2357 [inline]  f2fs_do_truncate_blocks\u002B0x21c/0x10c0 fs/f2fs/file.c:791  f2fs_truncate_blocks\u002B0x10a/0x300 fs/f2fs/file.c:867  f2fs_truncate\u002B0x489/0x7c0 fs/f2fs/file.c:925  f2fs_evict_inode\u002B0x9f2/0x1b60 fs/f2fs/inode.c:897  evict\u002B0x504/0x9c0 fs/inode.c:810  f2fs_evict_inode\u002B0x1dc/0x1b60 fs/f2fs/inode.c:853  evict\u002B0x504/0x9c0 fs/inode.c:810  dispose_list fs/inode.c:852 [inline]  prune_icache_sb\u002B0x21b/0x2c0 fs/inode.c:1000  super_cache_scan\u002B0x39b/0x4b0 fs/super.c:224  do_shrink_slab\u002B0x6ef/0x1110 mm/shrinker.c:437  shrink_slab_memcg mm/shrinker.c:550 [inline]  shrink_slab\u002B0x7ef/0x10d0 mm/shrinker.c:628  shrink_one\u002B0x28a/0x7c0 mm/vmscan.c:4955  shrink_many mm/vmscan.c:5016 [inline]  lru_gen_shrink_node mm/vmscan.c:5094 [inline]  shrink_node\u002B0x315d/0x3780 mm/vmscan.c:6081  kswapd_shrink_node mm/vmscan.c:6941 [inline]  balance_pgdat mm/vmscan.c:7124 [inline]  kswapd\u002B0x147c/0x2800 mm/vmscan.c:7389  kthread\u002B0x70e/0x8a0 kernel/kthread.c:463  ret_from_fork\u002B0x4bc/0x870 arch/x86/kernel/process.c:158  ret_from_fork_asm\u002B0x1a/0x30 arch/x86/entry/entry_64.S:245  \u003C/TASK\u003E  The root cause is deadlock among four locks as below:  kswapd - fs_reclaim\t\t\t\t--- Lock A  - shrink_one   - evict    - f2fs_evict_inode     - sb_start_intwrite\t\t\t--- Lock B  - iput  - evict   - f2fs_evict_inode    - sb_start_intwrite\t\t\t--- Lock B    - f2fs_truncate     - f2fs_truncate_blocks      - f2fs_do_truncate_blocks       - f2fs_lock_op\t\t\t--- Lock C  ioctl - f2fs_ioc_commit_atomic_write  - f2fs_lock_op\t\t\t\t--- Lock C   - __f2fs_commit_atomic_write    - __replace_atomic_write_block     - f2fs_get_dnode_of_data      - __get_node_folio       - f2fs_check_nid_range        - f2fs_handle_error         - f2fs_record_errors          - f2fs_down_write\t\t--- Lock D  open - do_open  - do_truncate   - security_inode_need_killpriv    - f2fs_getxattr     - lookup_all_xattrs      - f2fs_handle_error       - f2fs_record_errors        - f2fs_down_write\t\t--- Lock D         - f2fs_commit_super          - read_mapping_folio           - filemap_alloc_folio_noprof            - prepare_alloc_pages             - fs_reclaim_acquire\t--- Lock A  In order to a ---truncated---",
  "published": "2026-01-13T16:16:05Z",
  "severity": "Moderate",
  "cvss": 5,
  "epss": 0.00201,
  "epssPercentile": 0.10067,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-71065",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.69-1",
      "fix": "DEBIAN-CVE-2025-71065",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-71065",
      "released": "2026-01-13T16:16:05Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.18.3-1",
      "fix": "DEBIAN-CVE-2025-71065",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-71065",
      "released": "2026-01-13T16:16:05Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-07T18:46:35Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}