{
  "cveId": "CVE-2025-38626",
  "url": "https://patchblox.com/security/cve/CVE-2025-38626",
  "summary": "CVE-2025-38626 is fixed in linux on 1 platform, first by DEBIAN-CVE-2025-38626, released August 22, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "f2fs: fix to trigger foreground gc during f2fs_map_blocks() in lfs mode",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  f2fs: fix to trigger foreground gc during f2fs_map_blocks() in lfs mode  w/ \u0022mode=lfs\u0022 mount option, generic/299 will cause system panic as below:  ------------[ cut here ]------------ kernel BUG at fs/f2fs/segment.c:2835! Call Trace:  \u003CTASK\u003E  f2fs_allocate_data_block\u002B0x6f4/0xc50  f2fs_map_blocks\u002B0x970/0x1550  f2fs_iomap_begin\u002B0xb2/0x1e0  iomap_iter\u002B0x1d6/0x430  __iomap_dio_rw\u002B0x208/0x9a0  f2fs_file_write_iter\u002B0x6b3/0xfa0  aio_write\u002B0x15d/0x2e0  io_submit_one\u002B0x55e/0xab0  __x64_sys_io_submit\u002B0xa5/0x230  do_syscall_64\u002B0x84/0x2f0  entry_SYSCALL_64_after_hwframe\u002B0x76/0x7e RIP: 0010:new_curseg\u002B0x70f/0x720  The root cause of we run out-of-space is: in f2fs_map_blocks(), f2fs may trigger foreground gc only if it allocates any physical block, it will be a little bit later when there is multiple threads writing data w/ aio/dio/bufio method in parallel, since we always use OPU in lfs mode, so f2fs_map_blocks() does block allocations aggressively.  In order to fix this issue, let\u0027s give a chance to trigger foreground gc in prior to block allocation in f2fs_map_blocks().",
  "published": "2025-08-22T16:15:36Z",
  "severity": "Moderate",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00168,
  "epssPercentile": 0.06045,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-38626",
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.170-1",
      "fix": "DEBIAN-CVE-2025-38626",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-38626",
      "released": "2025-08-22T16:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.12.43-1",
      "fix": "DEBIAN-CVE-2025-38626",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-38626",
      "released": "2025-08-22T16:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.16.3-1",
      "fix": "DEBIAN-CVE-2025-38626",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2025-38626",
      "released": "2025-08-22T16:15:36Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}