GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-53193 (GCVE-0-2024-53193)

Vulnerability from cvelistv5 – Published: 2024-12-27 13:49 – Updated: 2026-08-05 11:44
VLAI
Title
clk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider
Summary
In the Linux kernel, the following vulnerability has been resolved: clk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider Some heap space is allocated for the flexible structure `struct clk_hw_onecell_data` and its flexible-array member `hws` through the composite structure `struct loongson2_clk_provider` in function `loongson2_clk_probe()`, as shown below: 289 struct loongson2_clk_provider *clp; ... 296 for (p = data; p->name; p++) 297 clks_num++; 298 299 clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num), 300 GFP_KERNEL); Then some data is written into the flexible array: 350 clp->clk_data.hws[p->id] = hw; This corrupts `clk_lock`, which is the spinlock variable immediately following the `clk_data` member in `struct loongson2_clk_provider`: struct loongson2_clk_provider { void __iomem *base; struct device *dev; struct clk_hw_onecell_data clk_data; spinlock_t clk_lock; /* protect access to DIV registers */ }; The problem is that the flexible structure is currently placed in the middle of `struct loongson2_clk_provider` instead of at the end. Fix this by moving `struct clk_hw_onecell_data clk_data;` to the end of `struct loongson2_clk_provider`. Also, add a code comment to help prevent this from happening again in case new members are added to the structure in the future. This change also fixes the following -Wflex-array-member-not-at-end warning: drivers/clk/clk-loongson2.c:32:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-10-01 20:04 UTC
CWE
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 9796ec0bd04bb0e70487127d44949ca0554df5d3 , < 76918202615f2ba7deda14901d9fff528a180099 (git)
Affected: 9796ec0bd04bb0e70487127d44949ca0554df5d3 , < 145de18065b9840687d9b4e63746238c1da25d22 (git)
Affected: 9796ec0bd04bb0e70487127d44949ca0554df5d3 , < 6e4bf018bb040955da53dae9f8628ef8fcec2dbe (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.10
Unaffected: 0 , < 6.10 (semver)
Unaffected: 6.11.11 , ≤ 6.11.* (semver)
Unaffected: 6.12.2 , ≤ 6.12.* (semver)
Unaffected: 6.13 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 7.8,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-53193",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T20:04:04.188198Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-787",
                "description": "CWE-787 Out-of-bounds Write",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T20:07:20.819Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/clk-loongson2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "76918202615f2ba7deda14901d9fff528a180099",
              "status": "affected",
              "version": "9796ec0bd04bb0e70487127d44949ca0554df5d3",
              "versionType": "git"
            },
            {
              "lessThan": "145de18065b9840687d9b4e63746238c1da25d22",
              "status": "affected",
              "version": "9796ec0bd04bb0e70487127d44949ca0554df5d3",
              "versionType": "git"
            },
            {
              "lessThan": "6e4bf018bb040955da53dae9f8628ef8fcec2dbe",
              "status": "affected",
              "version": "9796ec0bd04bb0e70487127d44949ca0554df5d3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/clk/clk-loongson2.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.11",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.2",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider\n\nSome heap space is allocated for the flexible structure `struct\nclk_hw_onecell_data` and its flexible-array member `hws` through\nthe composite structure `struct loongson2_clk_provider` in function\n`loongson2_clk_probe()`, as shown below:\n\n289         struct loongson2_clk_provider *clp;\n\t...\n296         for (p = data; p-\u003ename; p++)\n297                 clks_num++;\n298\n299         clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),\n300                            GFP_KERNEL);\n\nThen some data is written into the flexible array:\n\n350                 clp-\u003eclk_data.hws[p-\u003eid] = hw;\n\nThis corrupts `clk_lock`, which is the spinlock variable immediately\nfollowing the `clk_data` member in `struct loongson2_clk_provider`:\n\nstruct loongson2_clk_provider {\n\tvoid __iomem *base;\n\tstruct device *dev;\n\tstruct clk_hw_onecell_data clk_data;\n\tspinlock_t clk_lock;\t/* protect access to DIV registers */\n};\n\nThe problem is that the flexible structure is currently placed in the\nmiddle of `struct loongson2_clk_provider` instead of at the end.\n\nFix this by moving `struct clk_hw_onecell_data clk_data;` to the end of\n`struct loongson2_clk_provider`. Also, add a code comment to help\nprevent this from happening again in case new members are added to the\nstructure in the future.\n\nThis change also fixes the following -Wflex-array-member-not-at-end\nwarning:\n\ndrivers/clk/clk-loongson2.c:32:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The flaw is in a SoC platform clock-controller driver bound from device tree; there is no network or adjacent-network path, and the corrupted lock is only exercised through local clock consumers (DRM modeset ioctl, cpufreq, gate enable) on the affected Loongson-2K board.\nAC:L - The overlap between `clk_data.hws[]` and `clk_lock` is a deterministic consequence of the struct layout and occurs on every boot of an affected board with no race to win and no memory-layout grooming required; reaching the corrupted lock afterwards is a normal, repeatable operation.\nPR:L - The corruption itself is established at boot with no privileges at all, and an ordinary unprivileged local user can then drive code that acquires the clobbered spinlock (e.g. a modeset on the display controller\u0027s pix0/pix1 divider clocks via /dev/dri/card*), so no administrative capability is needed.\nUI:N - The memory corruption happens automatically during driver probe at boot, and triggering its effect requires only the attacker\u0027s own actions \u2014 no victim must open a file, mount a filesystem, or otherwise cooperate.\nS:U - Both the corrupted memory and the resulting impact are entirely within the kernel\u0027s own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - Kernel heap pointers (`struct clk_hw *`) are written into the spinlock\u0027s debug/lockdep fields where they are leaked to dmesg via spin_dump()/lockdep splats, and conversely the raw lock bytes are returned to consumers as a `struct clk_hw *` through `of_clk_hw_onecell_get()` index 0, giving a type-confused pointer the clk core dereferences for reads.\nI:H - This is a genuine memory-corruption primitive in both directions: clk_hw pointers overwrite live spinlock/lockdep state, and every subsequent lock acquire/release writes into what the clk framework treats as its `hws[]` pointer array, with the lockdep path further using a corrupted `lock_class` pointer for indexed writes.\nA:H - A clobbered spinlock leaves it permanently appearing held, so the first `spin_lock_irqsave()` from a divider set_rate or gate enable spins forever with interrupts disabled (hard lockup), and on debug/lockdep or PREEMPT_RT kernels the corrupted lock internals cause an immediate wild-pointer oops."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:44:33.733Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/76918202615f2ba7deda14901d9fff528a180099"
        },
        {
          "url": "https://git.kernel.org/stable/c/145de18065b9840687d9b4e63746238c1da25d22"
        },
        {
          "url": "https://git.kernel.org/stable/c/6e4bf018bb040955da53dae9f8628ef8fcec2dbe"
        }
      ],
      "title": "clk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53193",
    "datePublished": "2024-12-27T13:49:35.566Z",
    "dateReserved": "2024-11-19T17:17:25.014Z",
    "dateUpdated": "2026-08-05T11:44:33.733Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-53193",
      "date": "2026-09-15",
      "epss": "0.00228",
      "percentile": "0.13599"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider\\n\\nSome heap space is allocated for the flexible structure `struct\\nclk_hw_onecell_data` and its flexible-array member `hws` through\\nthe composite structure `struct loongson2_clk_provider` in function\\n`loongson2_clk_probe()`, as shown below:\\n\\n289         struct loongson2_clk_provider *clp;\\n\\t...\\n296         for (p = data; p-\u003ename; p++)\\n297                 clks_num++;\\n298\\n299         clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),\\n300                            GFP_KERNEL);\\n\\nThen some data is written into the flexible array:\\n\\n350                 clp-\u003eclk_data.hws[p-\u003eid] = hw;\\n\\nThis corrupts `clk_lock`, which is the spinlock variable immediately\\nfollowing the `clk_data` member in `struct loongson2_clk_provider`:\\n\\nstruct loongson2_clk_provider {\\n\\tvoid __iomem *base;\\n\\tstruct device *dev;\\n\\tstruct clk_hw_onecell_data clk_data;\\n\\tspinlock_t clk_lock;\\t/* protect access to DIV registers */\\n};\\n\\nThe problem is that the flexible structure is currently placed in the\\nmiddle of `struct loongson2_clk_provider` instead of at the end.\\n\\nFix this by moving `struct clk_hw_onecell_data clk_data;` to the end of\\n`struct loongson2_clk_provider`. Also, add a code comment to help\\nprevent this from happening again in case new members are added to the\\nstructure in the future.\\n\\nThis change also fixes the following -Wflex-array-member-not-at-end\\nwarning:\\n\\ndrivers/clk/clk-loongson2.c:32:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: clk: clk-loongson2: Se corrige un error de corrupci\\u00f3n de memoria en struct loongson2_clk_provider. Se asigna algo de espacio de mont\\u00f3n para la estructura flexible `struct clk_hw_onecell_data` y su miembro de matriz flexible `hws` a trav\\u00e9s de la estructura compuesta `struct loongson2_clk_provider` en la funci\\u00f3n `loongson2_clk_probe()`, como se muestra a continuaci\\u00f3n: 289 struct loongson2_clk_provider *clp; ... 296 for (p = data; p-\u0026gt;name; p++) 297 clks_num++; 298 299 clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num), 300 GFP_KERNEL); Luego, se escriben algunos datos en la matriz flexible: 350 clp-\u0026gt;clk_data.hws[p-\u0026gt;id] = hw; Esto corrompe `clk_lock`, que es la variable spinlock que sigue inmediatamente al miembro `clk_data` en `struct loongson2_clk_provider`: struct loongson2_clk_provider { void __iomem *base; struct device *dev; struct clk_hw_onecell_data clk_data; spinlock_t clk_lock; /* proteger el acceso a los registros DIV */ }; El problema es que la estructura flexible actualmente est\\u00e1 ubicada en el medio de `struct loongson2_clk_provider` en lugar de al final. Solucione esto moviendo `struct clk_hw_onecell_data clk_data;` al final de `struct loongson2_clk_provider`. Adem\\u00e1s, agregue un comentario de c\\u00f3digo para ayudar a evitar que esto vuelva a suceder en caso de que se agreguen nuevos miembros a la estructura en el futuro. Este cambio tambi\\u00e9n corrige la siguiente advertencia -Wflex-array-member-not-at-end: drivers/clk/clk-loongson2.c:32:36: advertencia: la estructura que contiene un miembro de matriz flexible no est\\u00e1 al final de otra estructura [-Wflex-array-member-not-at-end]\"}]",
      "id": "CVE-2024-53193",
      "lastModified": "2024-12-27T14:15:26.897",
      "published": "2024-12-27T14:15:26.897",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/145de18065b9840687d9b4e63746238c1da25d22\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/6e4bf018bb040955da53dae9f8628ef8fcec2dbe\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/76918202615f2ba7deda14901d9fff528a180099\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53193\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:26.897\",\"lastModified\":\"2026-06-17T08:08:33.327\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider\\n\\nSome heap space is allocated for the flexible structure `struct\\nclk_hw_onecell_data` and its flexible-array member `hws` through\\nthe composite structure `struct loongson2_clk_provider` in function\\n`loongson2_clk_probe()`, as shown below:\\n\\n289         struct loongson2_clk_provider *clp;\\n\\t...\\n296         for (p = data; p-\u003ename; p++)\\n297                 clks_num++;\\n298\\n299         clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),\\n300                            GFP_KERNEL);\\n\\nThen some data is written into the flexible array:\\n\\n350                 clp-\u003eclk_data.hws[p-\u003eid] = hw;\\n\\nThis corrupts `clk_lock`, which is the spinlock variable immediately\\nfollowing the `clk_data` member in `struct loongson2_clk_provider`:\\n\\nstruct loongson2_clk_provider {\\n\\tvoid __iomem *base;\\n\\tstruct device *dev;\\n\\tstruct clk_hw_onecell_data clk_data;\\n\\tspinlock_t clk_lock;\\t/* protect access to DIV registers */\\n};\\n\\nThe problem is that the flexible structure is currently placed in the\\nmiddle of `struct loongson2_clk_provider` instead of at the end.\\n\\nFix this by moving `struct clk_hw_onecell_data clk_data;` to the end of\\n`struct loongson2_clk_provider`. Also, add a code comment to help\\nprevent this from happening again in case new members are added to the\\nstructure in the future.\\n\\nThis change also fixes the following -Wflex-array-member-not-at-end\\nwarning:\\n\\ndrivers/clk/clk-loongson2.c:32:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: clk: clk-loongson2: Se corrige un error de corrupci\u00f3n de memoria en struct loongson2_clk_provider. Se asigna algo de espacio de mont\u00f3n para la estructura flexible `struct clk_hw_onecell_data` y su miembro de matriz flexible `hws` a trav\u00e9s de la estructura compuesta `struct loongson2_clk_provider` en la funci\u00f3n `loongson2_clk_probe()`, como se muestra a continuaci\u00f3n: 289 struct loongson2_clk_provider *clp; ... 296 for (p = data; p-\u0026gt;name; p++) 297 clks_num++; 298 299 clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num), 300 GFP_KERNEL); Luego, se escriben algunos datos en la matriz flexible: 350 clp-\u0026gt;clk_data.hws[p-\u0026gt;id] = hw; Esto corrompe `clk_lock`, que es la variable spinlock que sigue inmediatamente al miembro `clk_data` en `struct loongson2_clk_provider`: struct loongson2_clk_provider { void __iomem *base; struct device *dev; struct clk_hw_onecell_data clk_data; spinlock_t clk_lock; /* proteger el acceso a los registros DIV */ }; El problema es que la estructura flexible actualmente est\u00e1 ubicada en el medio de `struct loongson2_clk_provider` en lugar de al final. Solucione esto moviendo `struct clk_hw_onecell_data clk_data;` al final de `struct loongson2_clk_provider`. Adem\u00e1s, agregue un comentario de c\u00f3digo para ayudar a evitar que esto vuelva a suceder en caso de que se agreguen nuevos miembros a la estructura en el futuro. Este cambio tambi\u00e9n corrige la siguiente advertencia -Wflex-array-member-not-at-end: drivers/clk/clk-loongson2.c:32:36: advertencia: la estructura que contiene un miembro de matriz flexible no est\u00e1 al final de otra estructura [-Wflex-array-member-not-at-end]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/clk/clk-loongson2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"9796ec0bd04bb0e70487127d44949ca0554df5d3\",\"lessThan\":\"76918202615f2ba7deda14901d9fff528a180099\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9796ec0bd04bb0e70487127d44949ca0554df5d3\",\"lessThan\":\"145de18065b9840687d9b4e63746238c1da25d22\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9796ec0bd04bb0e70487127d44949ca0554df5d3\",\"lessThan\":\"6e4bf018bb040955da53dae9f8628ef8fcec2dbe\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/clk/clk-loongson2.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.10\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.11.11\",\"lessThanOrEqual\":\"6.11.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.2\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.13\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-10-01T20:04:04.188198Z\",\"id\":\"CVE-2024-53193\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.10\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"158A6B22-9260-41D7-965A-A81798A5A969\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/145de18065b9840687d9b4e63746238c1da25d22\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6e4bf018bb040955da53dae9f8628ef8fcec2dbe\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/76918202615f2ba7deda14901d9fff528a180099\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2025-11-25T08:39:03+00:00",
      "cve": "CVE-2024-53193",
      "id": "CVE-2024-53193",
      "initial_release_date": "2024-12-27T00:00:00+00:00",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: clk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-53193.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T01:40:01Z",
      "cve": "CVE-2024-53193",
      "id": "CVE-2024-53193",
      "initial_release_date": "2024-12-28T03:50:32Z",
      "product_status:known_not_affected": "547",
      "product_status:recommended": "78",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-53193",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-53193.json",
      "version": "25"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 7.8, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-53193\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-10-01T20:04:04.188198Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-787\", \"description\": \"CWE-787 Out-of-bounds Write\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T15:37:40.365Z\"}}], \"cna\": {\"title\": \"clk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"9796ec0bd04bb0e70487127d44949ca0554df5d3\", \"lessThan\": \"76918202615f2ba7deda14901d9fff528a180099\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9796ec0bd04bb0e70487127d44949ca0554df5d3\", \"lessThan\": \"145de18065b9840687d9b4e63746238c1da25d22\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"9796ec0bd04bb0e70487127d44949ca0554df5d3\", \"lessThan\": \"6e4bf018bb040955da53dae9f8628ef8fcec2dbe\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/clk/clk-loongson2.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.10\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.10\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.11.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/clk/clk-loongson2.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/76918202615f2ba7deda14901d9fff528a180099\"}, {\"url\": \"https://git.kernel.org/stable/c/145de18065b9840687d9b4e63746238c1da25d22\"}, {\"url\": \"https://git.kernel.org/stable/c/6e4bf018bb040955da53dae9f8628ef8fcec2dbe\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nclk: clk-loongson2: Fix memory corruption bug in struct loongson2_clk_provider\\n\\nSome heap space is allocated for the flexible structure `struct\\nclk_hw_onecell_data` and its flexible-array member `hws` through\\nthe composite structure `struct loongson2_clk_provider` in function\\n`loongson2_clk_probe()`, as shown below:\\n\\n289         struct loongson2_clk_provider *clp;\\n\\t...\\n296         for (p = data; p-\u003ename; p++)\\n297                 clks_num++;\\n298\\n299         clp = devm_kzalloc(dev, struct_size(clp, clk_data.hws, clks_num),\\n300                            GFP_KERNEL);\\n\\nThen some data is written into the flexible array:\\n\\n350                 clp-\u003eclk_data.hws[p-\u003eid] = hw;\\n\\nThis corrupts `clk_lock`, which is the spinlock variable immediately\\nfollowing the `clk_data` member in `struct loongson2_clk_provider`:\\n\\nstruct loongson2_clk_provider {\\n\\tvoid __iomem *base;\\n\\tstruct device *dev;\\n\\tstruct clk_hw_onecell_data clk_data;\\n\\tspinlock_t clk_lock;\\t/* protect access to DIV registers */\\n};\\n\\nThe problem is that the flexible structure is currently placed in the\\nmiddle of `struct loongson2_clk_provider` instead of at the end.\\n\\nFix this by moving `struct clk_hw_onecell_data clk_data;` to the end of\\n`struct loongson2_clk_provider`. Also, add a code comment to help\\nprevent this from happening again in case new members are added to the\\nstructure in the future.\\n\\nThis change also fixes the following -Wflex-array-member-not-at-end\\nwarning:\\n\\ndrivers/clk/clk-loongson2.c:32:36: warning: structure containing a flexible array member is not at the end of another structure [-Wflex-array-member-not-at-end]\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.11\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.2\", \"versionStartIncluding\": \"6.10\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13\", \"versionStartIncluding\": \"6.10\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:55:25.904Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-53193\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-10-01T20:07:20.819Z\", \"dateReserved\": \"2024-11-19T17:17:25.014Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-12-27T13:49:35.566Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…