CVE-2023-54311 (GCVE-0-2023-54311)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2026-01-05 11:37
VLAI?
Title
ext4: fix deadlock when converting an inline directory in nojournal mode
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: fix deadlock when converting an inline directory in nojournal mode In no journal mode, ext4_finish_convert_inline_dir() can self-deadlock by calling ext4_handle_dirty_dirblock() when it already has taken the directory lock. There is a similar self-deadlock in ext4_incvert_inline_data_nolock() for data files which we'll fix at the same time. A simple reproducer demonstrating the problem: mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64 mount -t ext4 -o dirsync /dev/vdc /vdc cd /vdc mkdir file0 cd file0 touch file0 touch file1 attr -s BurnSpaceInEA -V abcde . touch supercalifragilisticexpialidocious
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < b4fa4768c9acff77245d672d855d2c88294850b1 (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < 5f8b55136ad787aed2c184f7cb3e93772ae637a3 (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < 640c8c365999c6f23447ac766437236ad88317c5 (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < 665cc3ba50330049524c1d275bc840a8f28dde73 (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < 0b1c4357bb21d9770451a1bdb8d419ea10bada88 (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < 804de0c72cd473e186ca4e1f6287d45431b14e5a (git)
Affected: 3c47d54170b6a678875566b1b8d6dcf57904e49b , < f4ce24f54d9cca4f09a395f3eecce20d6bec4663 (git)
Create a notification for this product.
    Linux Linux Affected: 3.8
Unaffected: 0 , < 3.8 (semver)
Unaffected: 5.4.243 , ≤ 5.4.* (semver)
Unaffected: 5.10.180 , ≤ 5.10.* (semver)
Unaffected: 5.15.112 , ≤ 5.15.* (semver)
Unaffected: 6.1.29 , ≤ 6.1.* (semver)
Unaffected: 6.2.16 , ≤ 6.2.* (semver)
Unaffected: 6.3.3 , ≤ 6.3.* (semver)
Unaffected: 6.4 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/inline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b4fa4768c9acff77245d672d855d2c88294850b1",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "5f8b55136ad787aed2c184f7cb3e93772ae637a3",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "640c8c365999c6f23447ac766437236ad88317c5",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "665cc3ba50330049524c1d275bc840a8f28dde73",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "0b1c4357bb21d9770451a1bdb8d419ea10bada88",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "804de0c72cd473e186ca4e1f6287d45431b14e5a",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            },
            {
              "lessThan": "f4ce24f54d9cca4f09a395f3eecce20d6bec4663",
              "status": "affected",
              "version": "3c47d54170b6a678875566b1b8d6dcf57904e49b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/inline.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.243",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.180",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.29",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.3.*",
              "status": "unaffected",
              "version": "6.3.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.243",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.180",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.112",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.29",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.16",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3.3",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix deadlock when converting an inline directory in nojournal mode\n\nIn no journal mode, ext4_finish_convert_inline_dir() can self-deadlock\nby calling ext4_handle_dirty_dirblock() when it already has taken the\ndirectory lock.  There is a similar self-deadlock in\next4_incvert_inline_data_nolock() for data files which we\u0027ll fix at\nthe same time.\n\nA simple reproducer demonstrating the problem:\n\n    mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64\n    mount -t ext4 -o dirsync /dev/vdc /vdc\n    cd /vdc\n    mkdir file0\n    cd file0\n    touch file0\n    touch file1\n    attr -s BurnSpaceInEA -V abcde .\n    touch supercalifragilisticexpialidocious"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T11:37:22.439Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b4fa4768c9acff77245d672d855d2c88294850b1"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f8b55136ad787aed2c184f7cb3e93772ae637a3"
        },
        {
          "url": "https://git.kernel.org/stable/c/640c8c365999c6f23447ac766437236ad88317c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/665cc3ba50330049524c1d275bc840a8f28dde73"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b1c4357bb21d9770451a1bdb8d419ea10bada88"
        },
        {
          "url": "https://git.kernel.org/stable/c/804de0c72cd473e186ca4e1f6287d45431b14e5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f4ce24f54d9cca4f09a395f3eecce20d6bec4663"
        }
      ],
      "title": "ext4: fix deadlock when converting an inline directory in nojournal mode",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54311",
    "datePublished": "2025-12-30T12:23:43.174Z",
    "dateReserved": "2025-12-30T12:06:44.530Z",
    "dateUpdated": "2026-01-05T11:37:22.439Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54311\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:20.317\",\"lastModified\":\"2025-12-31T20:42:43.210\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\next4: fix deadlock when converting an inline directory in nojournal mode\\n\\nIn no journal mode, ext4_finish_convert_inline_dir() can self-deadlock\\nby calling ext4_handle_dirty_dirblock() when it already has taken the\\ndirectory lock.  There is a similar self-deadlock in\\next4_incvert_inline_data_nolock() for data files which we\u0027ll fix at\\nthe same time.\\n\\nA simple reproducer demonstrating the problem:\\n\\n    mke2fs -Fq -t ext2 -O inline_data -b 4k /dev/vdc 64\\n    mount -t ext4 -o dirsync /dev/vdc /vdc\\n    cd /vdc\\n    mkdir file0\\n    cd file0\\n    touch file0\\n    touch file1\\n    attr -s BurnSpaceInEA -V abcde .\\n    touch supercalifragilisticexpialidocious\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0b1c4357bb21d9770451a1bdb8d419ea10bada88\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5f8b55136ad787aed2c184f7cb3e93772ae637a3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/640c8c365999c6f23447ac766437236ad88317c5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/665cc3ba50330049524c1d275bc840a8f28dde73\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/804de0c72cd473e186ca4e1f6287d45431b14e5a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b4fa4768c9acff77245d672d855d2c88294850b1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f4ce24f54d9cca4f09a395f3eecce20d6bec4663\",\"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 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…