{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50436",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-17T14:53:07.009Z",
        "datePublished": "2025-10-01T11:42:13.538Z",
        "dateUpdated": "2026-05-11T19:19:27.602Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:19:27.602Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: don't set up encryption key during jbd2 transaction\n\nCommit a80f7fcf1867 (\"ext4: fixup ext4_fc_track_* functions' 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's encryption key.\n\nFix this by restoring the transaction to its original scope."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ext4/ext4.h",
                        "fs/ext4/fast_commit.c",
                        "fs/ext4/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
                            "lessThan": "23ad034760dd38e12b0e0e1b28b9629f330810a1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
                            "lessThan": "6220ec405571ded17efedc56587190b542adf246",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
                            "lessThan": "206dd3acfb9bca54a25b228c7c7c2257eedde09b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
                            "lessThan": "1ba993208bcfd691e241483420a2a761d3f15750",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a80f7fcf18672ae4971a6b713b58c0d389aa99fe",
                            "lessThan": "4c0d5778385cb3618ff26a561ce41de2b7d9de70",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/ext4/ext4.h",
                        "fs/ext4/fast_commit.c",
                        "fs/ext4/namei.c"
                    ],
                    "versions": [
                        {
                            "version": "5.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.87",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.18",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.4",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "5.15.87"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.0.18"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.1.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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't set up encryption key during jbd2 transaction",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}