ASB-A-195082750

See a problem?
Import Source
https://storage.googleapis.com/android-osv-test/ASB-A-195082750.json
JSON Data
https://api.osv.dev/v1/vulns/ASB-A-195082750
Aliases
Published
2021-12-01T00:00:00Z
Modified
2024-10-23T16:43:06.926828Z
Summary
[none]
Details

fs/seq_file.c in the Linux kernel 3.16 through 5.13.x before 5.13.4 does not properly restrict seq buffer allocations, leading to an integer overflow, an Out-of-bounds Write, and escalation to root by an unprivileged user, aka CID-8cae8cd89f05.

References

Affected packages

Android / :linux_kernel:

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
:0
Fixed
:2021-12-05

Affected versions

Other

Kernel

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "74254866291374402956710747649521950744",
                    "80765060961419181796369186824257428641",
                    "30272898263732629582390626314069094611",
                    "249931424290703359451893110809274264261"
                ]
            },
            "id": "ASB-A-195082750-98f75c34",
            "source": "https://android.googlesource.com/kernel/common/+/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/seq_file.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 101.0,
                "function_hash": "33647813340154487149123856384192856444"
            },
            "id": "ASB-A-195082750-da83d170",
            "source": "https://android.googlesource.com/kernel/common/+/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/seq_file.c",
                "function": "seq_buf_alloc"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/8cae8cd89f05f6de223d63e6d15e31c8ba9cf53b"
    ],
    "spl": "2021-12-05",
    "severity": "High",
    "types": [
        "EoP"
    ]
}