In the Linux kernel, the following vulnerability has been resolved:
apparmor: fix reference count leak in aa_pivotroot()
The aapivotroot() function has a reference counting bug in a specific path. When aareplacecurrentlabel() returns on success, the function forgets to decrement the reference count of “target”, which is increased earlier by build_pivotroot(), causing a reference leak.
Fix it by decreasing the refcount of “target” in that path.
[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64103ea357734b82384c925cba4758fdb909be0c",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-242b4649",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4d5c7796571624e3f380b447ada52834270a287",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-26cf5481",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca40ad7afae144169a43988ef1a3f16182faf0a",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-284073b6",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 880.0,
            "function_hash": "63252247656694891069583530463342700376"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d53194707d2a1851be027cd74266b96ceff799d3",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-398d10b5",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ceeb3296e9dde1d5772348046affcefdea605e2",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-3ebdf094",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3ca40ad7afae144169a43988ef1a3f16182faf0a",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-a80748e9",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d53194707d2a1851be027cd74266b96ceff799d3",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-b5d32f51",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 788.0,
            "function_hash": "115228638984082665655127287921115965515"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2ceeb3296e9dde1d5772348046affcefdea605e2",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-b7dc0e80",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 880.0,
            "function_hash": "63252247656694891069583530463342700376"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef6fb6f0d0d8440595b45a7e53c6162c737177f4",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-c21ab6f5",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11c3627ec6b56c1525013f336f41b79a983b4d46",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-c792c67e",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 880.0,
            "function_hash": "63252247656694891069583530463342700376"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@64103ea357734b82384c925cba4758fdb909be0c",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-d1c89ee6",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 880.0,
            "function_hash": "63252247656694891069583530463342700376"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4d5c7796571624e3f380b447ada52834270a287",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-d330c3f9",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 788.0,
            "function_hash": "115228638984082665655127287921115965515"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11c3627ec6b56c1525013f336f41b79a983b4d46",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-e57022e8",
        "target": {
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "197568493119626997687138887506305035706",
                "241987590709513927995163553354527179971",
                "276676390210966746183830822106061938680",
                "47670111537328729954199870217604538413"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef6fb6f0d0d8440595b45a7e53c6162c737177f4",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50077-f826c331",
        "target": {
            "function": "aa_pivotroot",
            "file": "security/apparmor/mount.c"
        },
        "digest": {
            "length": 788.0,
            "function_hash": "115228638984082665655127287921115965515"
        },
        "signature_type": "Function"
    }
]