cve-2024-56754
Vulnerability from cvelistv5
Published
2024-12-29 11:30
Modified
2025-01-20 06:27
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: caam - Fix the pointer passed to caam_qi_shutdown() The type of the last parameter given to devm_add_action_or_reset() is "struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to "struct device *". Pass the correct parameter to devm_add_action_or_reset() so that the resources are released as expected.
Impacted products
Vendor Product Version
Linux Linux Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Version: f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb
Create a notification for this product.
   Linux Linux Version: 5.5
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/caam/qi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cc386170b3312fd7b5bc4a69a9f52d7f50814526",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "6187727e57aec122c8a99c464c74578c810cbe40",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "66eddb8dcb61065c53098510165f14b54232bcc2",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "1f8e2f597b918ca5827a5c6d00b819d064264d1c",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "84a185aea7b83f620699de0ea36907d588d89cf6",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "ad39df0898d3f469776c19d99229be055cc2dcea",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            },
            {
              "lessThan": "ad980b04f51f7fb503530bd1cb328ba5e75a250e",
              "status": "affected",
              "version": "f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/caam/qi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.231",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.174",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.64",
              "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"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: caam - Fix the pointer passed to caam_qi_shutdown()\n\nThe type of the last parameter given to devm_add_action_or_reset() is\n\"struct caam_drv_private *\", but in caam_qi_shutdown(), it is casted to\n\"struct device *\".\n\nPass the correct parameter to devm_add_action_or_reset() so that the\nresources are released as expected."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-01-20T06:27:26.974Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cc386170b3312fd7b5bc4a69a9f52d7f50814526"
        },
        {
          "url": "https://git.kernel.org/stable/c/6187727e57aec122c8a99c464c74578c810cbe40"
        },
        {
          "url": "https://git.kernel.org/stable/c/66eddb8dcb61065c53098510165f14b54232bcc2"
        },
        {
          "url": "https://git.kernel.org/stable/c/1f8e2f597b918ca5827a5c6d00b819d064264d1c"
        },
        {
          "url": "https://git.kernel.org/stable/c/84a185aea7b83f620699de0ea36907d588d89cf6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad39df0898d3f469776c19d99229be055cc2dcea"
        },
        {
          "url": "https://git.kernel.org/stable/c/ad980b04f51f7fb503530bd1cb328ba5e75a250e"
        }
      ],
      "title": "crypto: caam - Fix the pointer passed to caam_qi_shutdown()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-56754",
    "datePublished": "2024-12-29T11:30:19.049Z",
    "dateReserved": "2024-12-29T11:26:39.760Z",
    "dateUpdated": "2025-01-20T06:27:26.974Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-56754\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-29T12:15:08.967\",\"lastModified\":\"2025-01-06T20:28:24.853\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: caam - Fix the pointer passed to caam_qi_shutdown()\\n\\nThe type of the last parameter given to devm_add_action_or_reset() is\\n\\\"struct caam_drv_private *\\\", but in caam_qi_shutdown(), it is casted to\\n\\\"struct device *\\\".\\n\\nPass the correct parameter to devm_add_action_or_reset() so that the\\nresources are released as expected.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: caam - Corrige el puntero pasado a caam_qi_shutdown() El tipo del \u00faltimo par\u00e1metro dado a devm_add_action_or_reset() es \\\"struct caam_drv_private *\\\", pero en caam_qi_shutdown(), se convierte a \\\"struct device *\\\". Pasa el par\u00e1metro correcto a devm_add_action_or_reset() para que los recursos se liberen como se espera.\"}],\"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:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.231\",\"matchCriteriaId\":\"B5C644CC-2BD7-4E32-BC54-8DCC7ABE9935\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.174\",\"matchCriteriaId\":\"419FD073-1517-4FD5-8158-F94BC68A1E89\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.120\",\"matchCriteriaId\":\"09AC6122-E2A4-40FE-9D33-268A1B2EC265\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.64\",\"matchCriteriaId\":\"CA16DEE3-ABEC-4449-9F4A-7A3DC4FC36C7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"21434379-192D-472F-9B54-D45E3650E893\"},{\"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/1f8e2f597b918ca5827a5c6d00b819d064264d1c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6187727e57aec122c8a99c464c74578c810cbe40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/66eddb8dcb61065c53098510165f14b54232bcc2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/84a185aea7b83f620699de0ea36907d588d89cf6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ad39df0898d3f469776c19d99229be055cc2dcea\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ad980b04f51f7fb503530bd1cb328ba5e75a250e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cc386170b3312fd7b5bc4a69a9f52d7f50814526\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.