{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48768","id":"CVE-2022-48768","title":"tracing/histogram: Fix a potential memory leak for kstrdup()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/histogram: Fix a potential memory leak for kstrdup()\n\nkfree() is missing on an error path to free the memory allocated by\nkstrdup():\n\n  p = param = kstrdup(data->params[i], GFP_KERNEL);\n\nSo it is better to free it via kfree(p).","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/histogram: Fix a potential memory leak for kstrdup()\n\nkfree() is missing on an error path to free the memory allocated by\nkstrdup():\n\n  p = param = kstrdup(data->params[i], GFP_KERNEL);\n\nSo it is better to free it via kfree(p).","published":"2024-06-20T11:13:43.830Z","updated":"2026-11-17T07:00:20.523500112Z","reserved":"2024-06-20T11:09:39.061Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"38b67e60b6b582e81f9db1b2e7176cbbfbd3e574","lessThan":"8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8","status":"affected","versionType":"git"},{"version":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","lessThan":"d71b06aa995007eafd247626d0669b9364c42ad7","status":"affected","versionType":"git"},{"version":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","lessThan":"e33fa4a46ee22de88a700e2e3d033da8214a5175","status":"affected","versionType":"git"},{"version":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","lessThan":"df86e2fe808c3536a9dba353cc2bebdfea00d0cf","status":"affected","versionType":"git"},{"version":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","lessThan":"e629e7b525a179e29d53463d992bdee759c950fb","status":"affected","versionType":"git"},{"version":"c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86","status":"affected","versionType":"git"},{"version":"5.4.19","lessThan":"5.4.176","status":"affected","versionType":"semver"},{"version":"5.5.6","lessThan":"5.6","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.4.176","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.96","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.19","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.5","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48768.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48768","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0021,"epssPercentile":0.1122,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48768","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48768","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48768","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48768","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}