# tracing/histogram: Fix a potential memory leak for kstrdup()

CVE record · `CVE-2022-48768`

- **Identifiers:** `CVE-2022-48768`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 20 Jun 2024
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 20 Jun 2024, 11:13 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: `38b67e60b6b582e81f9db1b2e7176cbbfbd3e574 to before 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8` (git)
  - affected: `d380dcde9a07ca5de4805dee11f58a98ec0ad6ff to before d71b06aa995007eafd247626d0669b9364c42ad7` (git)
  - affected: `d380dcde9a07ca5de4805dee11f58a98ec0ad6ff to before e33fa4a46ee22de88a700e2e3d033da8214a5175` (git)
  - affected: `d380dcde9a07ca5de4805dee11f58a98ec0ad6ff to before df86e2fe808c3536a9dba353cc2bebdfea00d0cf` (git)
  - affected: `d380dcde9a07ca5de4805dee11f58a98ec0ad6ff to before e629e7b525a179e29d53463d992bdee759c950fb` (git)
  - affected: `c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86` (git)
  - affected: `5.4.19 to before 5.4.176` (semver)
  - affected: `5.5.6 to before 5.6` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.6`
  - unaffected: `before 5.6` (semver)
  - unaffected: `5.4.176 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.96 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.19 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16.5 to 5.16.*, inclusive` (semver)
  - unaffected: `5.17 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.0021, the 11th percentile, on 21 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 20 Jun 2024. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8>
- <https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7>
- <https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175>
- <https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf>
- <https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb>

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

---

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