CVE-2022-50436 (GCVE-0-2022-50436)

Vulnerability from cvelistv5 – Published: 2025-10-01 11:42 – Updated: 2025-10-01 11:42
VLAI?
Title
ext4: don't set up encryption key during jbd2 transaction
Summary
In the Linux kernel, the following vulnerability has been resolved: ext4: don't set up encryption key during jbd2 transaction Commit a80f7fcf1867 ("ext4: fixup ext4_fc_track_* functions' signature") extended the scope of the transaction in ext4_unlink() too far, making it include the call to ext4_find_entry(). However, ext4_find_entry() can deadlock when called from within a transaction because it may need to set up the directory's encryption key. Fix this by restoring the transaction to its original scope.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 23ad034760dd38e12b0e0e1b28b9629f330810a1 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 6220ec405571ded17efedc56587190b542adf246 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 206dd3acfb9bca54a25b228c7c7c2257eedde09b (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 1ba993208bcfd691e241483420a2a761d3f15750 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 4c0d5778385cb3618ff26a561ce41de2b7d9de70 (git)
Create a notification for this product.
    Linux Linux Affected: 5.10
Unaffected: 0 , < 5.10 (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.87 , ≤ 5.15.* (semver)
Unaffected: 6.0.18 , ≤ 6.0.* (semver)
Unaffected: 6.1.4 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (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/ext4.h",
            "fs/ext4/fast_commit.c",
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "23ad034760dd38e12b0e0e1b28b9629f330810a1",
              "status": "affected",
              "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
              "versionType": "git"
            },
            {
              "lessThan": "6220ec405571ded17efedc56587190b542adf246",
              "status": "affected",
              "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
              "versionType": "git"
            },
            {
              "lessThan": "206dd3acfb9bca54a25b228c7c7c2257eedde09b",
              "status": "affected",
              "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
              "versionType": "git"
            },
            {
              "lessThan": "1ba993208bcfd691e241483420a2a761d3f15750",
              "status": "affected",
              "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
              "versionType": "git"
            },
            {
              "lessThan": "4c0d5778385cb3618ff26a561ce41de2b7d9de70",
              "status": "affected",
              "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ext4/ext4.h",
            "fs/ext4/fast_commit.c",
            "fs/ext4/namei.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.87",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.18",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.87",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.18",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.4",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: don\u0027t set up encryption key during jbd2 transaction\n\nCommit a80f7fcf1867 (\"ext4: fixup ext4_fc_track_* functions\u0027 signature\")\nextended the scope of the transaction in ext4_unlink() too far, making\nit include the call to ext4_find_entry().  However, ext4_find_entry()\ncan deadlock when called from within a transaction because it may need\nto set up the directory\u0027s encryption key.\n\nFix this by restoring the transaction to its original scope."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-10-01T11:42:13.538Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246"
        },
        {
          "url": "https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750"
        },
        {
          "url": "https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70"
        }
      ],
      "title": "ext4: don\u0027t set up encryption key during jbd2 transaction",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50436",
    "datePublished": "2025-10-01T11:42:13.538Z",
    "dateReserved": "2025-09-17T14:53:07.009Z",
    "dateUpdated": "2025-10-01T11:42:13.538Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1"
}


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…