GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

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

Vulnerability from cvelistv5 – Published: 2025-10-01 11:42 – Updated: 2026-05-11 19:19
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.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 23ad034760dd38e12b0e0e1b28b9629f330810a1 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 6220ec405571ded17efedc56587190b542adf246 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 206dd3acfb9bca54a25b228c7c7c2257eedde09b (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 1ba993208bcfd691e241483420a2a761d3f15750 (git)
Affected: a80f7fcf18672ae4971a6b713b58c0d389aa99fe , < 4c0d5778385cb3618ff26a561ce41de2b7d9de70 (git)
guessed 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)
guessed 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": "2026-05-11T19:19:27.602Z",
        "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": "2026-05-11T19:19:27.602Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50436",
      "date": "2026-09-16",
      "epss": "0.00101",
      "percentile": "0.01013"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50436\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:35.570\",\"lastModified\":\"2026-06-17T05:23:33.237\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"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\",\"versions\":[{\"version\":\"a80f7fcf18672ae4971a6b713b58c0d389aa99fe\",\"lessThan\":\"23ad034760dd38e12b0e0e1b28b9629f330810a1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a80f7fcf18672ae4971a6b713b58c0d389aa99fe\",\"lessThan\":\"6220ec405571ded17efedc56587190b542adf246\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a80f7fcf18672ae4971a6b713b58c0d389aa99fe\",\"lessThan\":\"206dd3acfb9bca54a25b228c7c7c2257eedde09b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a80f7fcf18672ae4971a6b713b58c0d389aa99fe\",\"lessThan\":\"1ba993208bcfd691e241483420a2a761d3f15750\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"a80f7fcf18672ae4971a6b713b58c0d389aa99fe\",\"lessThan\":\"4c0d5778385cb3618ff26a561ce41de2b7d9de70\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"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\",\"versions\":[{\"version\":\"5.10\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.10\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.87\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.18\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.4\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"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:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.10.1\",\"versionEndExcluding\":\"5.10.163\",\"matchCriteriaId\":\"809291F2-D9B0-4C53-8C0B-6B27967500AD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.87\",\"matchCriteriaId\":\"7B9E5B1C-CD46-4790-9500-615863850401\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.0.18\",\"matchCriteriaId\":\"08D38C5F-9644-4549-BBA6-F0860F024D14\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1\",\"versionEndExcluding\":\"6.1.4\",\"matchCriteriaId\":\"BC4189D9-5478-4E88-A78D-9C1DE29B217C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"B29EBB93-107F-4ED6-8DE3-C2732BC659C3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.10:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"0CD159FA-170F-4389-9085-CACCF97ABB1E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.10:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"F0390D83-6C17-4557-BE8D-B659E04F565A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.10:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"4120E4B3-B66D-4ACE-8570-1DD4DF20A324\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:5.10:rc7:*:*:*:*:*:*\",\"matchCriteriaId\":\"73D60343-647D-4B5D-AA6D-CE87C462E368\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1ba993208bcfd691e241483420a2a761d3f15750\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/206dd3acfb9bca54a25b228c7c7c2257eedde09b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/23ad034760dd38e12b0e0e1b28b9629f330810a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4c0d5778385cb3618ff26a561ce41de2b7d9de70\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6220ec405571ded17efedc56587190b542adf246\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T21:50:15+00:00",
      "cve": "CVE-2022-50436",
      "id": "CVE-2022-50436",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "201",
      "product_status:known_affected": "36",
      "product_status:known_not_affected": "152",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ext4: don\u0027t set up encryption key during jbd2 transaction",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50436.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T02:21:04Z",
      "cve": "CVE-2022-50436",
      "id": "CVE-2022-50436",
      "initial_release_date": "2025-10-03T00:03:25Z",
      "product_status:known_affected": "344",
      "product_status:known_not_affected": "395",
      "product_status:recommended": "233",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50436",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50436.json",
      "version": "33"
    }
  }
}



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…

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.


Loading…