# jfs: Prevent copying of nlink with value 0 from disk inode

CVE record · `CVE-2025-37741`

- **Identifiers:** `CVE-2025-37741`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 12:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 5b2f26d3fba4e9aac314f8bc0963b3fc28c0e456` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 8b5ce75f8bd3ddf480cc0a240d7ff5cdea0444f9` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 86bfeaa18f9e4615b97f2d613e0fcc4ced196527` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before c9541c2bd0edbdbc5c1148a84d3b48dc8d1b8af2` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b3c4884b987e5d8d0ec061a4d52653c4f4b9c37e` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before aeb926e605f97857504bdf748f575e40617e2ef9` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 994787341358816d91b2fded288ecb7f129f2b27` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a2b560815528ae8e266fca6038bb5585d13aaef4` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b61e69bb1c049cf507e3c654fa3dc1568231bd07` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `5.4.293 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.135 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.88 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.24 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13.12 to 6.13.*, inclusive` (semver)
  - unaffected: `6.14.3 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 1 May 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-37741](https://www.cve.org/CVERecord?id=CVE-2025-37741)
- [NVD: CVE-2025-37741](https://nvd.nist.gov/vuln/detail/CVE-2025-37741)

### References from the CNA

- <https://git.kernel.org/stable/c/5b2f26d3fba4e9aac314f8bc0963b3fc28c0e456>
- <https://git.kernel.org/stable/c/8b5ce75f8bd3ddf480cc0a240d7ff5cdea0444f9>
- <https://git.kernel.org/stable/c/86bfeaa18f9e4615b97f2d613e0fcc4ced196527>
- <https://git.kernel.org/stable/c/c9541c2bd0edbdbc5c1148a84d3b48dc8d1b8af2>
- <https://git.kernel.org/stable/c/b3c4884b987e5d8d0ec061a4d52653c4f4b9c37e>
- <https://git.kernel.org/stable/c/aeb926e605f97857504bdf748f575e40617e2ef9>
- <https://git.kernel.org/stable/c/994787341358816d91b2fded288ecb7f129f2b27>
- <https://git.kernel.org/stable/c/a2b560815528ae8e266fca6038bb5585d13aaef4>
- <https://git.kernel.org/stable/c/b61e69bb1c049cf507e3c654fa3dc1568231bd07>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-37741>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-37741/>. Everything for agents: <https://agentprime.io/llms.txt>.
