{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/trigger: Fix to return error if failed to alloc snapshot\n\nFix register_snapshot_trigger() to return error code if it failed to\nallocate a snapshot instead of 0 (success). Unless that, it will register\nsnapshot trigger without an error."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "kernel/trace/trace_events_trigger.c"
               ],
               "versions": [
                  {
                     "version": "57f2a2ad73e9",
                     "lessThan": "bcf4a115a506",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57f2a2ad73e9",
                     "lessThan": "34925d01baf3",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0026e356e51a",
                     "lessThan": "8ffd5590f4d6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0026e356e51a",
                     "lessThan": "2450a69d2ee7",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "56cfbe607107",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "26ebeffff238",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "b5085b5ac1d9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "2a3073d58382",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "36be97e9eb53",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "6022c065c9ec",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "4b001ef14baa",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "0bbe7f719985",
                     "lessThan": "0958b33ef5a0",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "kernel/trace/trace_events_trigger.c"
               ],
               "versions": [
                  {
                     "version": "5.7",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "5.7",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.307",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.313",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.269",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.275",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.210",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.216",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.149",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.157",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.79",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.18",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.6",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/bcf4a115a5068f3331fafb8c176c1af0da3d8b19"
            },
            {
               "url": "https://git.kernel.org/stable/c/34925d01baf3ee62ab21c21efd9e2c44c24c004a"
            },
            {
               "url": "https://git.kernel.org/stable/c/8ffd5590f4d6ef5460acbeac7fbdff7025f9b419"
            },
            {
               "url": "https://git.kernel.org/stable/c/2450a69d2ee75d1f0112d509ac82ef98f5ad6b5f"
            },
            {
               "url": "https://git.kernel.org/stable/c/56cfbe60710772916a5ba092c99542332b48e870"
            },
            {
               "url": "https://git.kernel.org/stable/c/26ebeffff238488466fa578be3b35b8a46e69906"
            },
            {
               "url": "https://git.kernel.org/stable/c/b5085b5ac1d96ea2a8a6240f869655176ce44197"
            },
            {
               "url": "https://git.kernel.org/stable/c/2a3073d58382157ab396734ed4e421ba9e969db1"
            },
            {
               "url": "https://git.kernel.org/stable/c/36be97e9eb535fe3008a5cb040b1e56f29f2e398"
            },
            {
               "url": "https://git.kernel.org/stable/c/6022c065c9ec465d84cebff8f480db083e4ee06b"
            },
            {
               "url": "https://git.kernel.org/stable/c/4b001ef14baab16b553a002cb9979e31b8fc0c6b"
            },
            {
               "url": "https://git.kernel.org/stable/c/0958b33ef5a04ed91f61cef4760ac412080c4e08"
            }
         ],
         "title": "tracing/trigger: Fix to return error if failed to alloc snapshot",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-26920",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
