# nilfs2: fix deadlock in nilfs_count_free_blocks()

CVE record · `CVE-2022-49850`

- **Identifiers:** `CVE-2022-49850`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-667](https://cwe.mitre.org/data/definitions/667.html)
- **Tags:** [CWE-667](https://agentprime.io/advisories/tag/cwe-667.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2025, 14:10 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: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before 3c89ca6d3dfa6c09c515807a7a97a521f5d5147e` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before 8b4506cff6630bb474bb46a2a75c31e533a756ba` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before f0cc93080d4c09510b74ecba87fd778cca390bb1` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before 36ff974b0310771417c0be64b64aa221bd70d63d` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before 1d4ff73062096c21b47954d2996b4df259777bda` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before abc082aac0d9b6b926038fc3adb7008306581be2` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before cb029b54953420f7a2d65100f1c5107f14411bdc` (git)
  - affected: `e828949e5b42bfd234ee537cdb7c5e3a577958a3 to before 8ac932a4921a96ca52f61935dbba64ea87bbd5dc` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.38`
  - unaffected: `before 2.6.38` (semver)
  - unaffected: `4.9.334 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.300 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.267 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.225 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.155 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.79 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.9 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1 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

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 5th percentile, on 5 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-2022-49850](https://www.cve.org/CVERecord?id=CVE-2022-49850)
- [NVD: CVE-2022-49850](https://nvd.nist.gov/vuln/detail/CVE-2022-49850)

### References from the CNA

- <https://git.kernel.org/stable/c/3c89ca6d3dfa6c09c515807a7a97a521f5d5147e>
- <https://git.kernel.org/stable/c/8b4506cff6630bb474bb46a2a75c31e533a756ba>
- <https://git.kernel.org/stable/c/f0cc93080d4c09510b74ecba87fd778cca390bb1>
- <https://git.kernel.org/stable/c/36ff974b0310771417c0be64b64aa221bd70d63d>
- <https://git.kernel.org/stable/c/1d4ff73062096c21b47954d2996b4df259777bda>
- <https://git.kernel.org/stable/c/abc082aac0d9b6b926038fc3adb7008306581be2>
- <https://git.kernel.org/stable/c/cb029b54953420f7a2d65100f1c5107f14411bdc>
- <https://git.kernel.org/stable/c/8ac932a4921a96ca52f61935dbba64ea87bbd5dc>

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-2022-49850>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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