CVE-2023-53626 (GCVE-0-2023-53626)

Vulnerability from cvelistv5 – Published: 2025-10-07 15:19 – Updated: 2026-10-15 21:41
VLAI
Title
ext4: fix possible double unlock when moving a directory
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: fix possible double unlock when moving a directory
SSVC
Exploitation: none Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-15 21:36 UTC
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7018 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8dac5a63cf79707b547ea3d425fead5f4482198f , < c16cbd8233d6c58fc488545393e49b5d55729990 (git)
Affected: 0c440f14558bfacd22c6935ae1fd4b2a09e96b5d , < 020166bc6669ca9fb267ebd96bd88c4fb64a5d46 (git)
Affected: c50fc503ee1b97f12c98e26afc39fdaebebcf04f , < 1c93c42c7bb23057bde8a0a2ab834927ff64d20c (git)
Affected: b0bb13612292ca90fa4c2a7e425375649bc50d3e , < e71eb4dca41f0f36823724ced0406bb2dbdd5506 (git)
Affected: 291cd19d107e197306869cb3237c1bba62d13182 , < 43ce288ab5d7274a4a141d7f5e3ed2ab7b41f8a2 (git)
Affected: 0813299c586b175d7edb25f56412c54b812d0379 , < 70e42feab2e20618ddd0cbfc4ab4b08628236ecd (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.4.237 , < 5.4.238 (semver)
Affected: 5.10.175 , < 5.10.176 (semver)
Affected: 5.15.103 , < 5.15.104 (semver)
Affected: 6.1.20 , < 6.1.21 (semver)
Affected: 6.2.7 , < 6.2.8 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2023-53626",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T21:36:01.494901Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-15T21:41:32.111Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c16cbd8233d6c58fc488545393e49b5d55729990",
              "status": "affected",
              "version": "8dac5a63cf79707b547ea3d425fead5f4482198f",
              "versionType": "git"
            },
            {
              "lessThan": "020166bc6669ca9fb267ebd96bd88c4fb64a5d46",
              "status": "affected",
              "version": "0c440f14558bfacd22c6935ae1fd4b2a09e96b5d",
              "versionType": "git"
            },
            {
              "lessThan": "1c93c42c7bb23057bde8a0a2ab834927ff64d20c",
              "status": "affected",
              "version": "c50fc503ee1b97f12c98e26afc39fdaebebcf04f",
              "versionType": "git"
            },
            {
              "lessThan": "e71eb4dca41f0f36823724ced0406bb2dbdd5506",
              "status": "affected",
              "version": "b0bb13612292ca90fa4c2a7e425375649bc50d3e",
              "versionType": "git"
            },
            {
              "lessThan": "43ce288ab5d7274a4a141d7f5e3ed2ab7b41f8a2",
              "status": "affected",
              "version": "291cd19d107e197306869cb3237c1bba62d13182",
              "versionType": "git"
            },
            {
              "lessThan": "70e42feab2e20618ddd0cbfc4ab4b08628236ecd",
              "status": "affected",
              "version": "0813299c586b175d7edb25f56412c54b812d0379",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5.4.238",
              "status": "affected",
              "version": "5.4.237",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.176",
              "status": "affected",
              "version": "5.10.175",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.104",
              "status": "affected",
              "version": "5.15.103",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.21",
              "status": "affected",
              "version": "6.1.20",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2.8",
              "status": "affected",
              "version": "6.2.7",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.238",
                  "versionStartIncluding": "5.4.237",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.176",
                  "versionStartIncluding": "5.10.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.104",
                  "versionStartIncluding": "5.15.103",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.21",
                  "versionStartIncluding": "6.1.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.8",
                  "versionStartIncluding": "6.2.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix possible double unlock when moving a directory"
        }
      ],
      "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 bug is reached through the `rename(2)` syscall on a locally mounted ext4 filesystem; no network or remote peer is involved. The attacker needs local access to mount/attach the crafted ext4 image and issue the rename.\nAC:L - The `ext4_rename_dir_prepare()` failure is deterministic with a crafted `.`/`..` entry, so the double `up_write()` always occurs, and the attacker controls every thread contending for the moved directory\u0027s `i_rwsem`. The unlock window spans a sleeping `ext4_journal_stop()`, so winning the mutual-exclusion-break race is easy and infinitely retryable.\nPR:L - An ordinary unprivileged local user suffices: on mainstream desktop/kiosk deployments udisks2\u0027s default polkit `allow_active` loop-setup and removable-media automount let a console user mount an arbitrary attacker-authored ext4 image, and the `rename(2)` itself needs only write access to the attacker\u0027s own directories.\nUI:N - In the automount/loop-setup scenario the attacker performs the mount and the rename themselves; no second user has to be induced into any action.\nS:U - The corrupted `i_rwsem`, the resulting concurrent directory mutation, and any memory corruption all stay within the kernel\u0027s own security authority. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - Breaking exclusion on a directory inode lets concurrent readers/writers race the inline-dir-to-extent conversion, so dirent parsing runs against the raw inode\u0027s `i_block`/xattr region under a stale format assumption, exposing adjacent kernel memory through `readdir`/`getdents`, and the buffer_head UAF this enables gives a further read primitive.\nI:H - The silent release of another task\u0027s exclusive `i_rwsem` allows two threads to run ext4 dirent add/delete, htree split, and inline-to-extent conversion on the same inode simultaneously, producing metadata and heap corruption \u2014 the exact corruption class `0813299c586b` was written to prevent \u2014 which is leverageable for controlled writes.\nA:H - When the lock is free at the second unlock, the rwsem count underflows to `~0UL` with no owner, so every later `down_read`/`down_write` on that directory blocks permanently in uninterruptible sleep, hanging the directory, the unmount, and eventually tripping the hung-task watchdog. The corruption path independently yields oopses and `errors=remount-ro`/`panic` filesystem shutdown."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:15:11.541Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c16cbd8233d6c58fc488545393e49b5d55729990"
        },
        {
          "url": "https://git.kernel.org/stable/c/020166bc6669ca9fb267ebd96bd88c4fb64a5d46"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c93c42c7bb23057bde8a0a2ab834927ff64d20c"
        },
        {
          "url": "https://git.kernel.org/stable/c/e71eb4dca41f0f36823724ced0406bb2dbdd5506"
        },
        {
          "url": "https://git.kernel.org/stable/c/43ce288ab5d7274a4a141d7f5e3ed2ab7b41f8a2"
        },
        {
          "url": "https://git.kernel.org/stable/c/70e42feab2e20618ddd0cbfc4ab4b08628236ecd"
        }
      ],
      "title": "ext4: fix possible double unlock when moving a directory",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53626",
    "datePublished": "2025-10-07T15:19:30.895Z",
    "dateReserved": "2025-10-07T15:16:59.656Z",
    "dateUpdated": "2026-10-15T21:41:32.111Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53626",
      "date": "2026-11-01",
      "epss": "0.0022",
      "percentile": "0.12529"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ext4/namei.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c16cbd8233d6c58fc488545393e49b5d55729990",
                    "status": "affected",
                    "version": "8dac5a63cf79707b547ea3d425fead5f4482198f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "020166bc6669ca9fb267ebd96bd88c4fb64a5d46",
                    "status": "affected",
                    "version": "0c440f14558bfacd22c6935ae1fd4b2a09e96b5d",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1c93c42c7bb23057bde8a0a2ab834927ff64d20c",
                    "status": "affected",
                    "version": "c50fc503ee1b97f12c98e26afc39fdaebebcf04f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e71eb4dca41f0f36823724ced0406bb2dbdd5506",
                    "status": "affected",
                    "version": "b0bb13612292ca90fa4c2a7e425375649bc50d3e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "43ce288ab5d7274a4a141d7f5e3ed2ab7b41f8a2",
                    "status": "affected",
                    "version": "291cd19d107e197306869cb3237c1bba62d13182",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "70e42feab2e20618ddd0cbfc4ab4b08628236ecd",
                    "status": "affected",
                    "version": "0813299c586b175d7edb25f56412c54b812d0379",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ext4/namei.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "5.4.238",
                    "status": "affected",
                    "version": "5.4.237",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.10.176",
                    "status": "affected",
                    "version": "5.10.175",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.15.104",
                    "status": "affected",
                    "version": "5.15.103",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.1.21",
                    "status": "affected",
                    "version": "6.1.20",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.2.8",
                    "status": "affected",
                    "version": "6.2.7",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.4.237:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A0C4A400-BF1C-4D41-98B3-E639419C1B25",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.10.175:*:*:*:*:*:*:*",
                    "matchCriteriaId": "344E76D2-2659-4379-ADF2-01C772925245",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.15.103:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8A848597-242F-43EC-9D61-6A2B2C98F7B8",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.1.20:*:*:*:*:*:*:*",
                    "matchCriteriaId": "36E6ECBE-C10D-40AF-B0FA-2EF41789D2EE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.2.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2CF554BC-2C12-456C-BECE-A85F92BF95FA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "B8E3B0E8-FA27-4305-87BB-AF6C25B160CB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "A47F0FC3-CE52-4BA1-BA51-22F783938431",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix possible double unlock when moving a directory"
          }
        ],
        "id": "CVE-2023-53626",
        "lastModified": "2026-10-15T22:17:44.557",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2023-53626",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-15T21:36:01.494901Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-10-07T16:15:45.440",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/020166bc6669ca9fb267ebd96bd88c4fb64a5d46"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/1c93c42c7bb23057bde8a0a2ab834927ff64d20c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/43ce288ab5d7274a4a141d7f5e3ed2ab7b41f8a2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/70e42feab2e20618ddd0cbfc4ab4b08628236ecd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/c16cbd8233d6c58fc488545393e49b5d55729990"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/e71eb4dca41f0f36823724ced0406bb2dbdd5506"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-415"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-30T02:51:08+00:00",
      "cve": "CVE-2023-53626",
      "id": "CVE-2023-53626",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_affected": "199",
      "product_status:known_not_affected": "77",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ext4: fix possible double unlock when moving a directory",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53626.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.