{"id":"CVE-2022-48768","aliases":["CVE-2022-48768"],"related":[],"kind":"vulnerability","state":"published","title":"tracing/histogram: Fix a potential memory leak for kstrdup()","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo/histograma: corrige una posible pérdida de memoria para kstrdup(). Falta kfree() en una ruta de error para liberar la memoria asignada por kstrdup(): p = param = kstrdup( datos-&gt;params[i], GFP_KERNEL); Por eso es mejor liberarlo mediante kfree(p).","source":"nvd"}],"published":"2024-06-20T11:13:43.830Z","modified":"2026-06-17T05:16:08.900Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"38b67e60b6b582e81f9db1b2e7176cbbfbd3e574","fixed":"8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8","status":"affected"},{"type":"git","introduced":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","fixed":"d71b06aa995007eafd247626d0669b9364c42ad7","status":"affected"},{"type":"git","introduced":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","fixed":"e33fa4a46ee22de88a700e2e3d033da8214a5175","status":"affected"},{"type":"git","introduced":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","fixed":"df86e2fe808c3536a9dba353cc2bebdfea00d0cf","status":"affected"},{"type":"git","introduced":"d380dcde9a07ca5de4805dee11f58a98ec0ad6ff","fixed":"e629e7b525a179e29d53463d992bdee759c950fb","status":"affected"},{"type":"git","version":"c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86","status":"affected"},{"type":"semver","introduced":"5.4.19","fixed":"5.4.176","status":"affected"},{"type":"semver","introduced":"5.5.6","fixed":"5.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.4.176","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.96","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.19","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.5","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.19","fixed":"5.4.176"},{"status":"affected","introduced":"5.6","fixed":"5.10.96"},{"status":"affected","introduced":"5.11","fixed":"5.15.19"},{"status":"affected","introduced":"5.16","fixed":"5.16.5"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:10:06.707Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48768","url":"https://www.cve.org/CVERecord?id=CVE-2022-48768","licence":"CVE Terms of Use","modified":"2026-05-23T15:20:38.559Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48768","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48768","licence":"Public domain","modified":"2026-06-17T05:16:08.900Z"}],"updatedAt":"2026-11-25T22:58:19.860Z","epss":{"score":0.0021,"percentile":0.11797,"date":"2026-12-01T12:00:22.000Z"}}