CVE-2023-53494 (GCVE-0-2023-53494)

Vulnerability from cvelistv5 – Published: 2025-10-01 11:45 – Updated: 2026-08-05 09:14
VLAI
Title
crypto: xts - Handle EBUSY correctly
Summary
In the Linux kernel, the following vulnerability has been resolved: crypto: xts - Handle EBUSY correctly As it is xts only handles the special return value of EINPROGRESS, which means that in all other cases it will free data related to the request. However, as the caller of xts may specify MAY_BACKLOG, we also need to expect EBUSY and treat it in the same way. Otherwise backlogged requests will trigger a use-after-free.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 , < 92a07ba4f0af2cccdc2aa5ee32679c9c9714db90 (git)
Affected: 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 , < 912eb10b65646ffd222256c78a1c566a3dac177d (git)
Affected: 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 , < 57c3e1d63b63dc0841d41df729297cd7c1c35808 (git)
Affected: 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 , < d5870848879291700fe6c5257dcb48aadd10425c (git)
Affected: 8083b1bf8163e7ae7d8c90f221106d96450b8aa8 , < 51c082514c2dedf2711c99d93c196cc4eedceb40 (git)
Create a notification for this product.
Linux Linux Affected: 5.4
Unaffected: 0 , < 5.4 (semver)
Unaffected: 5.10.173 , ≤ 5.10.* (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "crypto/xts.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "92a07ba4f0af2cccdc2aa5ee32679c9c9714db90",
              "status": "affected",
              "version": "8083b1bf8163e7ae7d8c90f221106d96450b8aa8",
              "versionType": "git"
            },
            {
              "lessThan": "912eb10b65646ffd222256c78a1c566a3dac177d",
              "status": "affected",
              "version": "8083b1bf8163e7ae7d8c90f221106d96450b8aa8",
              "versionType": "git"
            },
            {
              "lessThan": "57c3e1d63b63dc0841d41df729297cd7c1c35808",
              "status": "affected",
              "version": "8083b1bf8163e7ae7d8c90f221106d96450b8aa8",
              "versionType": "git"
            },
            {
              "lessThan": "d5870848879291700fe6c5257dcb48aadd10425c",
              "status": "affected",
              "version": "8083b1bf8163e7ae7d8c90f221106d96450b8aa8",
              "versionType": "git"
            },
            {
              "lessThan": "51c082514c2dedf2711c99d93c196cc4eedceb40",
              "status": "affected",
              "version": "8083b1bf8163e7ae7d8c90f221106d96450b8aa8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "crypto/xts.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: xts - Handle EBUSY correctly\n\nAs it is xts only handles the special return value of EINPROGRESS,\nwhich means that in all other cases it will free data related to the\nrequest.\n\nHowever, as the caller of xts may specify MAY_BACKLOG, we also need\nto expect EBUSY and treat it in the same way.  Otherwise backlogged\nrequests will trigger a use-after-free."
        }
      ],
      "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 only practical trigger for the XTS ciphertext-stealing path with CRYPTO_TFM_REQ_MAY_BACKLOG is the local AF_ALG socket interface (crypto/algif_skcipher.c), reached via socket()/bind()/sendmsg()/recvmsg(); no in-kernel network consumer uses XTS with unaligned lengths.\nAC:L - The attacker controls every precondition: they choose the async XTS instantiation by name, choose a cryptlen that is not a multiple of 16 to force the CTS path, and saturate the child driver\u0027s backlog queue themselves (crypto_engine default depth is 10, cryptd is per-CPU and can be filled with pinned threads) so the tail request reliably returns -EBUSY.\nPR:L - Opening an AF_ALG socket and binding an arbitrary skcipher template name requires no capabilities, only an unprivileged local account on a kernel with CONFIG_CRYPTO_USER_API_SKCIPHER (standard on distro and Android kernels).\nUI:N - The attacker performs the entire sequence from their own process; no victim action or cooperation is needed.\nS:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - After the request is freed, xts_cts_done() dereferences rctx-\u003etail \u2014 a scatterlist pointer read from reclaimed, attacker-sprayable memory \u2014 and copies 16 bytes out of it, yielding a controlled kernel-memory read that can be used to disclose arbitrary kernel data.\nI:H - The same forged scatterlist is written back through scatterwalk_map_and_copy(), giving a controlled kernel write, and skcipher_request_complete() then calls req-\u003ebase.complete \u2014 a function pointer taken from freed memory \u2014 enabling control-flow hijack and full privilege escalation.\nA:H - Even without successful exploitation the double completion and use-after-free corrupt the crypto request and its owner\u0027s socket state, producing KASAN splats, oopses, or a kernel panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:14:26.466Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/92a07ba4f0af2cccdc2aa5ee32679c9c9714db90"
        },
        {
          "url": "https://git.kernel.org/stable/c/912eb10b65646ffd222256c78a1c566a3dac177d"
        },
        {
          "url": "https://git.kernel.org/stable/c/57c3e1d63b63dc0841d41df729297cd7c1c35808"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5870848879291700fe6c5257dcb48aadd10425c"
        },
        {
          "url": "https://git.kernel.org/stable/c/51c082514c2dedf2711c99d93c196cc4eedceb40"
        }
      ],
      "title": "crypto: xts - Handle EBUSY correctly",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53494",
    "datePublished": "2025-10-01T11:45:45.773Z",
    "dateReserved": "2025-10-01T11:39:39.403Z",
    "dateUpdated": "2026-08-05T09:14:26.466Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53494",
      "date": "2026-08-07",
      "epss": "0.0015",
      "percentile": "0.0466"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53494\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:52.673\",\"lastModified\":\"2026-08-04T10:19:09.270\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncrypto: xts - Handle EBUSY correctly\\n\\nAs it is xts only handles the special return value of EINPROGRESS,\\nwhich means that in all other cases it will free data related to the\\nrequest.\\n\\nHowever, as the caller of xts may specify MAY_BACKLOG, we also need\\nto expect EBUSY and treat it in the same way.  Otherwise backlogged\\nrequests will trigger a use-after-free.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"crypto/xts.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"8083b1bf8163e7ae7d8c90f221106d96450b8aa8\",\"lessThan\":\"92a07ba4f0af2cccdc2aa5ee32679c9c9714db90\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8083b1bf8163e7ae7d8c90f221106d96450b8aa8\",\"lessThan\":\"912eb10b65646ffd222256c78a1c566a3dac177d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8083b1bf8163e7ae7d8c90f221106d96450b8aa8\",\"lessThan\":\"57c3e1d63b63dc0841d41df729297cd7c1c35808\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8083b1bf8163e7ae7d8c90f221106d96450b8aa8\",\"lessThan\":\"d5870848879291700fe6c5257dcb48aadd10425c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8083b1bf8163e7ae7d8c90f221106d96450b8aa8\",\"lessThan\":\"51c082514c2dedf2711c99d93c196cc4eedceb40\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"crypto/xts.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.173\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.99\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.16\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2.3\",\"lessThanOrEqual\":\"6.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.3\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"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},{\"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}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-416\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.4\",\"versionEndExcluding\":\"5.10.173\",\"matchCriteriaId\":\"8E655835-50B5-48DD-919C-BCCE4308B5BC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.99\",\"matchCriteriaId\":\"5B8B2AC9-2F31-4A0F-96F5-7E26B50B27BB\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.16\",\"matchCriteriaId\":\"0FD95FDA-6525-4B13-B3FB-49D9995FD8ED\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.2.3\",\"matchCriteriaId\":\"88C67289-22AD-4CA9-B202-5F5A80E5BA4B\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/51c082514c2dedf2711c99d93c196cc4eedceb40\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/57c3e1d63b63dc0841d41df729297cd7c1c35808\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/912eb10b65646ffd222256c78a1c566a3dac177d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/92a07ba4f0af2cccdc2aa5ee32679c9c9714db90\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d5870848879291700fe6c5257dcb48aadd10425c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:20:03+00:00",
      "cve": "CVE-2023-53494",
      "id": "CVE-2023-53494",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:fixed": "1252",
      "product_status:known_affected": "36",
      "product_status:known_not_affected": "152",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: crypto: xts - Handle EBUSY correctly",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53494.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-05T01:04:24Z",
      "cve": "CVE-2023-53494",
      "id": "CVE-2023-53494",
      "initial_release_date": "2025-10-01T23:30:13Z",
      "product_status:known_affected": "344",
      "product_status:known_not_affected": "304",
      "product_status:recommended": "249",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-53494",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-53494.json",
      "version": "22"
    }
  }
}



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…

Loading…