← Back to CVE Explorer

CVE-2024-56690

Full vulnerability record from the local CVENow database.

Description

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.

Severity
MEDIUM
CVSS score
5.5 (v3.1)
Vulnerability status
Modified
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2024-12-28 10:15:13.537000
Last modified
2026-11-05 21:17:37.270000
View original CVE JSON
{
  "id": "CVE-2024-56690",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2024-12-28T10:15:13.537",
  "lastModified": "2026-11-05T21:17:37.270",
  "vulnStatus": "Modified",
  "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."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: pcrypt - Llamar a la capa de cifrado directamente cuando padata_do_parallel() devuelve -EBUSY Desde el commit 8f4f68e788c3 (\"crypto: pcrypt - Fix hungtask for PADATA_RESET\"), las operaciones de cifrado y descifrado de pcrypt devuelven -EAGAIN cuando la CPU se conecta o desconecta. En alg_test(), se genera una ADVERTENCIA cuando pcrypt_aead_decrypt() o pcrypt_aead_encrypt() devuelve -EAGAIN, el pánico innecesario ocurrirá cuando panic_on_warn se establezca en 1. Solucione este problema llamando a la capa de cifrado directamente sin paralelización en ese caso."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "crypto/pcrypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "039fec48e062504f14845124a1a25eb199b2ddc0",
              "lessThan": "dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c9c1334697301c10e6918d747ed38abfbc0c96e7",
              "lessThan": "fca8aed12218f96b38e374ff264d78ea1fbd23cc",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e97bf4ada7dddacd184c3e196bd063b0dc71b41d",
              "lessThan": "a92ccd3618e42333ac6f150ecdac14dca298bc7a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "546c1796ad1ed0d87dab3c4b5156d75819be2316",
              "lessThan": "96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "c55fc098fd9d2dca475b82d00ffbcaf97879d77e",
              "lessThan": "92834692a539b5b7f409e467a14667d64713b732",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "372636debe852913529b1716f44addd94fff2d28",
              "lessThan": "5edae7a9a35606017ee6e05911c290acee9fee5a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "lessThan": "a8e0074ffb38c9a5964a221bb998034d016c93a2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "lessThan": "7ddab756f2de5b7b43c122ebebdf37f400fb2b6f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "8f4f68e788c3a7a696546291258bfa5fdb215523",
              "lessThan": "662f2f13e66d3883b9238b0b96b17886179e60e2",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "fb2d3a50a8f29a3c66682bb426144f40e32ab818",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e134f3aba98e6c801a693f540912c2d493718ddf",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "4.19.300",
              "lessThan": "4.19.325",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.4.262",
              "lessThan": "5.4.287",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.10.202",
              "lessThan": "5.10.231",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.15.140",
              "lessThan": "5.15.174",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.1.64",
              "lessThan": "6.1.120",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.6.3",
              "lessThan": "6.6.64",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "4.14.331",
              "lessThan": "4.15",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "6.5.13",
              "lessThan": "6.6",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "crypto/pcrypt.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.7",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.7",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "4.19.325",
              "lessThanOrEqual": "4.19.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.4.287",
              "lessThanOrEqual": "5.4.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.231",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.174",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.120",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.64",
              "lessThanOrEqual": "6.6.*",
              "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": "[email protected]",
        "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
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-11-05T20:29:49.886470Z",
          "id": "CVE-2024-56690",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "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": "4.14.331",
              "versionEndExcluding": "4.15",
              "matchCriteriaId": "4D1B8031-696E-4387-A4A0-73F522A7EE03"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "4.19.300",
              "versionEndExcluding": "4.19.325",
              "matchCriteriaId": "89DB60D9-50DE-49BE-B8F7-2FF1257B0875"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.4.262",
              "versionEndExcluding": "5.4.287",
              "matchCriteriaId": "34B2DFB9-DF95-4BD7-AA6C-AE027CFA62A3"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.10.202",
              "versionEndExcluding": "5.10.231",
              "matchCriteriaId": "438EF59D-BC9F-48C5-B9A9-C56985EA012A"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "5.15.140",
              "versionEndExcluding": "5.15.174",
              "matchCriteriaId": "CB4C9D19-F3EB-4036-A5FC-A01AA260BFD9"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.1.64",
              "versionEndExcluding": "6.1.120",
              "matchCriteriaId": "7060C5E2-F9F3-49A2-9044-DEB0F542A12F"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.5.13",
              "versionEndExcluding": "6.6",
              "matchCriteriaId": "3B6AC16B-2F1C-4FDF-8F49-09FC11C3F5B0"
            },
            {
              "vulnerable": true,
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "versionStartIncluding": "6.6.3",
              "versionEndExcluding": "6.6.64",
              "matchCriteriaId": "D245FF9F-B8BB-4ED6-992B-7580CB2F9A88"
            },
            {
              "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/5edae7a9a35606017ee6e05911c290acee9fee5a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/662f2f13e66d3883b9238b0b96b17886179e60e2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/7ddab756f2de5b7b43c122ebebdf37f400fb2b6f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/92834692a539b5b7f409e467a14667d64713b732",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/96001f52ae8c70e2c736d3e1e5dc53d5b521e5ca",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/a8e0074ffb38c9a5964a221bb998034d016c93a2",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/a92ccd3618e42333ac6f150ecdac14dca298bc7a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/dd8bf8eb5beba1e7c3b11a9a5a58ccbf345a69e6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://git.kernel.org/stable/c/fca8aed12218f96b38e374ff264d78ea1fbd23cc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "tags": [
        "Patch"
      ]
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ]
}