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).
[
    {
        "id": "CVE-2022-48768-862c6f9c",
        "target": {
            "function": "trace_action_create",
            "file": "kernel/trace/trace_events_hist.c"
        },
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e33fa4a46ee22de88a700e2e3d033da8214a5175",
        "digest": {
            "function_hash": "133904735867243504869217486147060471011",
            "length": 1745.0
        },
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "id": "CVE-2022-48768-c71a9fa2",
        "target": {
            "file": "kernel/trace/trace_events_hist.c"
        },
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e33fa4a46ee22de88a700e2e3d033da8214a5175",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "240846037776033031931438855967773040829",
                "222659597682754043466580468891628691789",
                "321447590609210057592838603135573099699",
                "254688550573315937480782999372402789991"
            ]
        },
        "deprecated": false,
        "signature_version": "v1"
    }
]