# video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow

CVE record · `CVE-2021-47642`

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

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 01:54 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 47e5533adf118afaf06d25a3e2aaaab89371b1c5` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 580e5d3815474b8349250c25c16416585a72c7fe` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 72dd5c46a152136712a55bf026a9aa8c1b12b60d` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 055cdd2e7b992921424d4daaa285ced787fb205f` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 08dff482012758935c185532b1ad7d584785a86e` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9ff2f7294ab0f011cd4d1b7dcd9a07d8fdf72834` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6a5226e544ac043bb2d8dc1bfe8920d02282f7cd` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 41baa86b6c802cdc6ab8ff2d46c083c9be93de81` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 37a1a2e6eeeb101285cd34e12e48a881524701aa` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.9.311 to 4.9.*, inclusive` (semver)
  - unaffected: `4.14.276 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.238 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.189 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.110 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.33 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16.19 to 5.16.*, inclusive` (semver)
  - unaffected: `5.17.2 to 5.17.*, inclusive` (semver)
  - unaffected: `5.18 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.0029, the 21st 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 26 Feb 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/47e5533adf118afaf06d25a3e2aaaab89371b1c5>
- <https://git.kernel.org/stable/c/580e5d3815474b8349250c25c16416585a72c7fe>
- <https://git.kernel.org/stable/c/72dd5c46a152136712a55bf026a9aa8c1b12b60d>
- <https://git.kernel.org/stable/c/055cdd2e7b992921424d4daaa285ced787fb205f>
- <https://git.kernel.org/stable/c/08dff482012758935c185532b1ad7d584785a86e>
- <https://git.kernel.org/stable/c/9ff2f7294ab0f011cd4d1b7dcd9a07d8fdf72834>
- <https://git.kernel.org/stable/c/6a5226e544ac043bb2d8dc1bfe8920d02282f7cd>
- <https://git.kernel.org/stable/c/41baa86b6c802cdc6ab8ff2d46c083c9be93de81>
- <https://git.kernel.org/stable/c/37a1a2e6eeeb101285cd34e12e48a881524701aa>

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

---

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