CVE-2024-56690
Vulnerability from cvelistv5
Published
2024-12-28 09:46
Modified
2025-01-20 06:26
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY Since commit 8f4f68e788c3 ("crypto: pcrypt - Fix hungtask for PADATA_RESET"), the pcrypt encryption and decryption operations return -EAGAIN when the CPU goes online or offline. In alg_test(), a WARN is generated when pcrypt_aead_decrypt() or pcrypt_aead_encrypt() returns -EAGAIN, the unnecessary panic will occur when panic_on_warn set 1. Fix this issue by calling crypto layer directly without parallelization in that case.
Impacted products
Vendor Product Version
Linux Linux Version: 039fec48e062504f14845124a1a25eb199b2ddc0
Version: c9c1334697301c10e6918d747ed38abfbc0c96e7
Version: e97bf4ada7dddacd184c3e196bd063b0dc71b41d
Version: 546c1796ad1ed0d87dab3c4b5156d75819be2316
Version: c55fc098fd9d2dca475b82d00ffbcaf97879d77e
Version: 372636debe852913529b1716f44addd94fff2d28
Version: 8f4f68e788c3a7a696546291258bfa5fdb215523
Version: 8f4f68e788c3a7a696546291258bfa5fdb215523
Version: 8f4f68e788c3a7a696546291258bfa5fdb215523
Create a notification for this product.
   Linux Linux Version: 6.7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "crypto/pcrypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6",
              "status": "affected",
              "version": "039fec48e062504f14845124a1a25eb199b2ddc0",
              "versionType": "git"
            },
            {
              "lessThan": "fca8aed12218f96b38e374ff264d78ea1fbd23cc",
              "status": "affected",
              "version": "c9c1334697301c10e6918d747ed38abfbc0c96e7",
              "versionType": "git"
            },
            {
              "lessThan": "a92ccd3618e42333ac6f150ecdac14dca298bc7a",
              "status": "affected",
              "version": "e97bf4ada7dddacd184c3e196bd063b0dc71b41d",
              "versionType": "git"
            },
            {
              "lessThan": "96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca",
              "status": "affected",
              "version": "546c1796ad1ed0d87dab3c4b5156d75819be2316",
              "versionType": "git"
            },
            {
              "lessThan": "92834692a539b5b7f409e467a14667d64713b732",
              "status": "affected",
              "version": "c55fc098fd9d2dca475b82d00ffbcaf97879d77e",
              "versionType": "git"
            },
            {
              "lessThan": "5edae7a9a35606017ee6e05911c290acee9fee5a",
              "status": "affected",
              "version": "372636debe852913529b1716f44addd94fff2d28",
              "versionType": "git"
            },
            {
              "lessThan": "a8e0074ffb38c9a5964a221bb998034d016c93a2",
              "status": "affected",
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "versionType": "git"
            },
            {
              "lessThan": "7ddab756f2de5b7b43c122ebebdf37f400fb2b6f",
              "status": "affected",
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "versionType": "git"
            },
            {
              "lessThan": "662f2f13e66d3883b9238b0b96b17886179e60e2",
              "status": "affected",
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "crypto/pcrypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.325",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.287",
              "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: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY\n\nSince commit 8f4f68e788c3 (\"crypto: pcrypt - Fix hungtask for\nPADATA_RESET\"), the pcrypt encryption and decryption operations return\n-EAGAIN when the CPU goes online or offline. In alg_test(), a WARN is\ngenerated when pcrypt_aead_decrypt() or pcrypt_aead_encrypt() returns\n-EAGAIN, the unnecessary panic will occur when panic_on_warn set 1.\nFix this issue by calling crypto layer directly without parallelization\nin that case."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-01-20T06:26:16.455Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/fca8aed12218f96b38e374ff264d78ea1fbd23cc"
        },
        {
          "url": "https://git.kernel.org/stable/c/a92ccd3618e42333ac6f150ecdac14dca298bc7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca"
        },
        {
          "url": "https://git.kernel.org/stable/c/92834692a539b5b7f409e467a14667d64713b732"
        },
        {
          "url": "https://git.kernel.org/stable/c/5edae7a9a35606017ee6e05911c290acee9fee5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/a8e0074ffb38c9a5964a221bb998034d016c93a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/7ddab756f2de5b7b43c122ebebdf37f400fb2b6f"
        },
        {
          "url": "https://git.kernel.org/stable/c/662f2f13e66d3883b9238b0b96b17886179e60e2"
        }
      ],
      "title": "crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-56690",
    "datePublished": "2024-12-28T09:46:16.246Z",
    "dateReserved": "2024-12-27T15:00:39.848Z",
    "dateUpdated": "2025-01-20T06:26:16.455Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-56690\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-28T10:15:13.537\",\"lastModified\":\"2024-12-28T10:15:13.537\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY\\n\\nSince commit 8f4f68e788c3 (\\\"crypto: pcrypt - Fix hungtask for\\nPADATA_RESET\\\"), the pcrypt encryption and decryption operations return\\n-EAGAIN when the CPU goes online or offline. In alg_test(), a WARN is\\ngenerated when pcrypt_aead_decrypt() or pcrypt_aead_encrypt() returns\\n-EAGAIN, the unnecessary panic will occur when panic_on_warn set 1.\\nFix this issue by calling crypto layer directly without parallelization\\nin that case.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/5edae7a9a35606017ee6e05911c290acee9fee5a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/662f2f13e66d3883b9238b0b96b17886179e60e2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7ddab756f2de5b7b43c122ebebdf37f400fb2b6f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/92834692a539b5b7f409e467a14667d64713b732\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a8e0074ffb38c9a5964a221bb998034d016c93a2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a92ccd3618e42333ac6f150ecdac14dca298bc7a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fca8aed12218f96b38e374ff264d78ea1fbd23cc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.