Skip to content
Heist/ feed
Back to feed
MediumFix available

trace_events_hist: add check for return value of 'create_hist_field'

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: trace_events_hist: add check for return value of 'create_hist_field' Function 'create_hist_field' is called recursively at trace_events_hist.c:1954 and can return NULL-value that's why we have to check it to avoid null pointer dereference. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.272, 5.10.166, 5.15.91, 5.4.231, 6.1.9
CVEs
CVE-2023-53005
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:46 UTC · Revision 1

Source evidence

trace_events_hist: add check for return value of 'create_hist_field'

core-osv · Original source

Published 27 Mar 2025, 16:43 UTC

In the Linux kernel, the following vulnerability has been resolved: trace_events_hist: add check for return value of 'create_hist_field' Function 'create_hist_field' is called recursively at trace_events_hist.c:1954 and can return NULL-value that's why we have to check it to avoid null pointer dereference. Found by Linux Verification Center (linuxtesting.org) with SVACE.

osv:CVE-2023-53005

Kernel

Fixed versions: 4.19.272, 5.4.231, 5.10.166, 5.15.91, 6.1.9

Complete source record
{
  "id": "e5baa1e20003c72ce654f9a790a917f8f16f8bb1842cb3648d91862ff2fe7784",
  "url": "https://osv.dev/vulnerability/CVE-2023-53005",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "trace_events_hist: add check for return value of 'create_hist_field'",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: trace_events_hist: add check for return value of 'create_hist_field' Function 'create_hist_field' is called recursively at trace_events_hist.c:1954 and can return NULL-value that's why we have to check it to avoid null pointer dereference. Found by Linux Verification Center (linuxtesting.org) with SVACE.",
    "evidence": "osv:CVE-2023-53005",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.272",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.231",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.166",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-53005",
      "aliases": [
        "CVE-2023-53005"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "30350d65ac5676c6d08d4fc935bc9a9cb0fd4ed3"
                },
                {
                  "fixed": "d2d1ada58e7cc100b8d7d6b082d19321ba4a700a"
                },
                {
                  "fixed": "31b2414abeaa6de0490e85164badc6dcb1bb8ec9"
                },
                {
                  "fixed": "886aa449235f478e262bbd5dcdee6ed6bc202949"
                },
                {
                  "fixed": "592ba7116fa620425725ff0972691f352ba3caf6"
                },
                {
                  "fixed": "b4e7e81b4fdfcf457daee6b7a61769f62198d840"
                },
                {
                  "fixed": "8b152e9150d07a885f95e1fd401fc81af202d9a4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53005.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.17.0"
                },
                {
                  "fixed": "4.19.272"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.231"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.166"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53005.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:34.133860586Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/31b2414abeaa6de0490e85164badc6dcb1bb8ec9",
        "https://git.kernel.org/stable/c/592ba7116fa620425725ff0972691f352ba3caf6",
        "https://git.kernel.org/stable/c/886aa449235f478e262bbd5dcdee6ed6bc202949",
        "https://git.kernel.org/stable/c/8b152e9150d07a885f95e1fd401fc81af202d9a4",
        "https://git.kernel.org/stable/c/b4e7e81b4fdfcf457daee6b7a61769f62198d840",
        "https://git.kernel.org/stable/c/d2d1ada58e7cc100b8d7d6b082d19321ba4a700a",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53005.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53005",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53005.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53005",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501247,
  "published_at": "2025-03-27T16:43:36.547+00:00"
}