{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2023-53820",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2023-53820",
    "idYear": 2023,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-09T01:24:29.417Z",
    "updatedAt": "2026-05-23T15:31:11.178Z",
    "importedAt": "2026-10-24T01:57:03.413Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "loop: loop_set_status_from_info() check before assignment",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nloop: loop_set_status_from_info() check before assignment\n\nIn loop_set_status_from_info(), lo->lo_offset and lo->lo_sizelimit should\nbe checked before reassignment, because if an overflow error occurs, the\noriginal correct value will be changed to the wrong value, and it will not\nbe changed back.\n\nMore, the original patch did not solve the problem, the value was set and\nioctl returned an error, but the subsequent io used the value in the loop\ndriver, which still caused an alarm:\n\nloop_handle_cmd\n do_req_filebacked\n  loff_t pos = ((loff_t) blk_rq_pos(rq) << 9) + lo->lo_offset;\n  lo_rw_aio\n   cmd->iocb.ki_pos = pos",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2035c770bfdbcc82bd52e05871a7c82db9529e0f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6bdf4e6dfb60cbb6121ccf027d97ed2ec97c0bcb"
            },
            {
              "version": "a217715338fd48f72114725aa7a40e484a781ca7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "832580af82ace363205039a8e7c4ef04552ccc1a"
            },
            {
              "version": "13b2856037a651ba3ab4a8b25ecab3e791926da3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2ea7077748e5d7cc64f1c31342c802fe66ea7426"
            },
            {
              "version": "b40877b8562c5720d0a7fce20729f56b75a3dede",
              "status": "affected",
              "versionType": "git",
              "lessThan": "861021710bba9dfa0749a3c209a6c1773208b1f1"
            },
            {
              "version": "6858933131d0dadac071c4d33335a9ea4b8e76cf",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c79a924ed6afac1708dfd370ba66bcf6a852ced6"
            },
            {
              "version": "0455bef69028c65065f16bb04635591b2374249b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3e7d0968203d668af6036b9f9199c7b62c8a3581"
            },
            {
              "version": "c490a0b5a4f36da3918181a8acdc6991d967c5f3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4be26d553a3f1d4f54f25353d1496c562002126d"
            },
            {
              "version": "c490a0b5a4f36da3918181a8acdc6991d967c5f3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "258809bf22bf71d53247856f374f2b1d055f2fd4"
            },
            {
              "version": "c490a0b5a4f36da3918181a8acdc6991d967c5f3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9f6ad5d533d1c71e51bdd06a5712c4fbc8768dfa"
            },
            {
              "version": "18e28817cb516b39de6281f6db9b0618b2cc7b42",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "adf0112d9b8acb03485624220b4934f69bf13369",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "9be7fa7ead18a48940df7b59d993bbc8b9055c15",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.19.257",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.19.312"
            },
            {
              "version": "5.4.212",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4.274"
            },
            {
              "version": "5.10.140",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.173"
            },
            {
              "version": "5.15.64",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.100"
            },
            {
              "version": "4.9.327",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.292",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "5.19.6",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.20"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.0",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.0"
            },
            {
              "version": "4.19.312",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.274",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.173",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.2.*"
            },
            {
              "version": "6.3",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}