CVE-2022-48768
tracing/histogram: Fix a potential memory leak for kstrdup()
Mitigation
- Upgrade Linux to 5.6 or later.
Who should check
- Anyone running Linux >= 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574, < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < d71b06aa995007eafd247626d0669b9364c42ad7; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e33fa4a46ee22de88a700e2e3d033da8214a5175; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < df86e2fe808c3536a9dba353cc2bebdfea00d0cf; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e629e7b525a179e29d53463d992bdee759c950fb; c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86; >= 5.4.19, < 5.4.176; >= 5.5.6, < 5.6
- Anyone running Linux 5.6
Vulnerability facts
- Affected
- Linux >= 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574, < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < d71b06aa995007eafd247626d0669b9364c42ad7; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e33fa4a46ee22de88a700e2e3d033da8214a5175; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < df86e2fe808c3536a9dba353cc2bebdfea00d0cf; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e629e7b525a179e29d53463d992bdee759c950fb; c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86; >= 5.4.19, < 5.4.176; >= 5.5.6, < 5.6; Linux 5.6
- Fixed in
- Linux 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8, Linux 5.4.176, Linux 5.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-401
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574, < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < d71b06aa995007eafd247626d0669b9364c42ad7; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e33fa4a46ee22de88a700e2e3d033da8214a5175; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < df86e2fe808c3536a9dba353cc2bebdfea00d0cf; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e629e7b525a179e29d53463d992bdee759c950fb; c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86; >= 5.4.19, < 5.4.176; >= 5.5.6, < 5.6 | — | cvelist |
| Linux | 5.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48768. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48768.md Affected: Linux >= 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574, < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < d71b06aa995007eafd247626d0669b9364c42ad7; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e33fa4a46ee22de88a700e2e3d033da8214a5175; >= d380dcde9a07ca5de4805de… Fixed in: Linux 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8, Linux 5.4.176, Linux 5.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2022-48768 being exploited?
There is no confirmed exploitation: CVE-2022-48768 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48768?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48768?
Linux >= 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574, < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < d71b06aa995007eafd247626d0669b9364c42ad7; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e33fa4a46ee22de88a700e2e3d033da8214a5175; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < df86e2fe808c3536a9dba353cc2bebdfea00d0cf; >= d380dcde9a07ca5de4805dee11f58a98ec0ad6ff, < e629e7b525a179e29d53463d992bdee759c950fb; c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86; >= 5.4.19, < 5.4.176; >= 5.5.6, < 5.6; Linux 5.6.
Is there a fix for CVE-2022-48768?
Yes. Fixed in Linux 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8, Linux 5.4.176, Linux 5.6. Upgrade Linux to 5.6 or later.
How do I check if I'm affected by CVE-2022-48768?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.