CVE-2021-33200

Source
https://cve.org/CVERecord?id=CVE-2021-33200
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33200.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-33200
Aliases
Downstream
Related
Published
2021-05-27T13:15:08.300Z
Modified
2026-03-20T11:41:22.622422Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

kernel/bpf/verifier.c in the Linux kernel through 5.12.7 enforces incorrect limits for pointer arithmetic operations, aka CID-bb01a1bba579. This can be abused to perform out-of-bounds reads and writes in kernel memory, leading to local privilege escalation to root. In particular, there is a corner case where the off reg causes a masking direction change, which then results in an incorrect final aux->alu_limit.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
3d0220f6861d713213b015b582e9f21e5b28d2e0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
a7036191277f9fa68d92f2071ddc38c09b1e5ee5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
bb01a1bba579b4b1c5566af24d95f1767859771e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
3d0220f6861d713213b015b582e9f21e5b28d2e0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
a7036191277f9fa68d92f2071ddc38c09b1e5ee5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
bb01a1bba579b4b1c5566af24d95f1767859771e

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.4.116"
            },
            {
                "fixed": "5.4.123"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.10.33"
            },
            {
                "fixed": "5.10.41"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11.17"
            },
            {
                "fixed": "5.12.8"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "33"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "34"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.12.7"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33200.json"