# chardev: fix error handling in cdev_device_add()

CVE record · `CVE-2022-50282`

- **Identifiers:** `CVE-2022-50282`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 15 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 15 Sept 2025, 14:21 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: `da97a80a657d1b1b50ef633e8ff5dbf0d417fc8d to before 5d2146889fad4cb9e6c13e790d4cfd871486eca8` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before 6acf8597c5b04f455ee0649e11e5f3bcd28f381e` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before 34d17b39bceef25e4cf9805cd59250ae05d0a139` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before d85b5247a79355b8432bfd9ac871f96117f750d4` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before c46db6088bccff5115674d583fef46ede80077a2` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before 28dc61cc49c6e995121c6d86bef4b73df78dda80` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before b5de1eac71fec1af7723f1083d23a24789fd795c` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before 85a5660491b507d33662b8e81c142e6041e642eb` (git)
  - affected: `233ed09d7fdacf592ee91e6c97ce5f4364fbe7c0 to before 11fa7fefe3d8fac7da56bc9aa3dd5fb3081ca797` (git)
  - affected: `f78b54e7d83c7879f9a6e49e6724019ca34177cc` (git)
  - affected: `d79d7d5c878809964da537336dad5ff55fa1605e` (git)
  - affected: `4.9.224 to before 4.9.337` (semver)
  - and 2 more
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.12`
  - unaffected: `before 4.12` (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.0019, the 9th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 15 Sept 2025, 14:21 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2022-50282)
- 15 Sept 2025, 15:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-50282)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/5d2146889fad4cb9e6c13e790d4cfd871486eca8>
- <https://git.kernel.org/stable/c/6acf8597c5b04f455ee0649e11e5f3bcd28f381e>
- <https://git.kernel.org/stable/c/34d17b39bceef25e4cf9805cd59250ae05d0a139>
- <https://git.kernel.org/stable/c/d85b5247a79355b8432bfd9ac871f96117f750d4>
- <https://git.kernel.org/stable/c/c46db6088bccff5115674d583fef46ede80077a2>
- <https://git.kernel.org/stable/c/28dc61cc49c6e995121c6d86bef4b73df78dda80>
- <https://git.kernel.org/stable/c/b5de1eac71fec1af7723f1083d23a24789fd795c>
- <https://git.kernel.org/stable/c/85a5660491b507d33662b8e81c142e6041e642eb>
- <https://git.kernel.org/stable/c/11fa7fefe3d8fac7da56bc9aa3dd5fb3081ca797>

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

---

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