# nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()

CVE record · `CVE-2022-50478`

- **Identifiers:** `CVE-2022-50478`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Oct 2025
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Oct 2025, 15:16 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: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before 6b0ea3df56cccd53398d0289f399f19d43136b2e` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before a6f89b10042baca218c8598d6db5a44c7e32625f` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before 9b3ba54025357440d6c4414c670984f628c6f6bf` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before d706485dffbbbf848e681edda29c7a46ac55698c` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before d464b035c0613856d012cf1704879d3ff3f057fb` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before b47f5c579c8186f7f5ab5e4254e0734ea5b7bf7a` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before 1012ff77284e3bec0ec0a35a820b03ec43dec2cc` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before 62d11ec205ef14d8acf172cfc9904fdbf200025a` (git)
  - affected: `e339ad31f59925b48a92ee3947692fdf9758b8c7 to before 610a2a3d7d8be3537458a378ec69396a76c385b6` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.30`
  - unaffected: `before 2.6.30` (semver)
  - unaffected: `4.9.337 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 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

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0017, the 6th 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 4 Oct 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/6b0ea3df56cccd53398d0289f399f19d43136b2e>
- <https://git.kernel.org/stable/c/a6f89b10042baca218c8598d6db5a44c7e32625f>
- <https://git.kernel.org/stable/c/9b3ba54025357440d6c4414c670984f628c6f6bf>
- <https://git.kernel.org/stable/c/d706485dffbbbf848e681edda29c7a46ac55698c>
- <https://git.kernel.org/stable/c/d464b035c0613856d012cf1704879d3ff3f057fb>
- <https://git.kernel.org/stable/c/b47f5c579c8186f7f5ab5e4254e0734ea5b7bf7a>
- <https://git.kernel.org/stable/c/1012ff77284e3bec0ec0a35a820b03ec43dec2cc>
- <https://git.kernel.org/stable/c/62d11ec205ef14d8acf172cfc9904fdbf200025a>
- <https://git.kernel.org/stable/c/610a2a3d7d8be3537458a378ec69396a76c385b6>

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

---

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