{
  "id": "CVE-2025-71292",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-71292",
  "published_at": "2026-05-06T11:32:23.897Z",
  "title": "jfs: nlink overflow in jfs_rename",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\njfs: nlink overflow in jfs_rename\n\nIf nlink is maximal for a directory (-1) and inside that directory you\nperform a rename for some child directory (not moving from the parent),\nthen the nlink of the first directory is first incremented and later\ndecremented. Normally this is fine, but when nlink = -1 this causes a\nwrap around to 0, and then drop_nlink issues a warning.\n\nAfter applying the patch syzbot no longer issues any warnings. I also\nran some basic fs tests to look for any regressions.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 2108829a59f081e822fdab8c2cd7131deb8aa8a1",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c a3d66089e50a6e0142f8884471f74292102ea9aa",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f70fcbc2ac7c24f087a2c895c5753aa730b1e479",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 5d77c36cd4b698649f5c30c5f6c084f4f61d1880",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c fe136426e30ca6debcf916fd6a141555ed9fde74",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 93c325746ae59709b4f9bad4e3e4761c8d566c70",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 9218dc26fd922b09858ecd3666ed57dfd8098da8"
        ],
        "fixed_in": [
          "2108829a59f081e822fdab8c2cd7131deb8aa8a1",
          "b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca",
          "a3d66089e50a6e0142f8884471f74292102ea9aa",
          "f70fcbc2ac7c24f087a2c895c5753aa730b1e479",
          "5d77c36cd4b698649f5c30c5f6c084f4f61d1880",
          "fe136426e30ca6debcf916fd6a141555ed9fde74",
          "93c325746ae59709b4f9bad4e3e4761c8d566c70",
          "9218dc26fd922b09858ecd3666ed57dfd8098da8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.10.252",
          "5.15.202",
          "6.1.165",
          "6.6.128",
          "6.12.75",
          "6.18.16",
          "6.19.6",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2108829a59f081e822fdab8c2cd7131deb8aa8a1 or b4330a0d0947fbdc9d445cbbeabd8cc910a8c9ca or a3d66089e50a6e0142f8884471f74292102ea9aa or f70fcbc2ac7c24f087a2c895c5753aa730b1e479 or 5d77c36cd4b698649f5c30c5f6c084f4f61d1880 or fe136426e30ca6debcf916fd6a141555ed9fde74 or 93c325746ae59709b4f9bad4e3e4761c8d566c70 or 9218dc26fd922b09858ecd3666ed57dfd8098da8 or later.",
      "Upgrade Linux to 0 or 5.10.252 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
