CVE-2018-20836

Source
https://cve.org/CVERecord?id=CVE-2018-20836
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20836.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20836
Downstream
DEBIAN (1)
openSUSE (2)
RHSA (4)
SUSE (15)
UBUNTU (1)
Related
Published
2019-05-07T14:29:00Z
Modified
2026-04-02T00:59:34Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An issue was discovered in the Linux kernel before 4.20. There is a race condition in smp_task_timedout() and smp_task_done() in drivers/scsi/libsas/sas_expander.c, leading to a use-after-free.

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
b90cd6f2b905905fb42671009dc0e27c310a16ae
Type
GIT
Repo
https://github.com/torvalds/linux
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "versions":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "4.20"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20836.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "fixed":  "3.16.72"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "3.17"
            },
            {
                "fixed":  "3.18.140"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "3.19"
            },
            {
                "fixed":  "4.4.180"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "4.5"
            },
            {
                "fixed":  "4.9.175"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "4.10"
            },
            {
                "fixed":  "4.14.118"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "4.15"
            },
            {
                "fixed":  "4.19.42"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "16.04"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "8.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "9.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "10.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "5.0.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "5.1.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "9.5"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "7.2"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "7.2"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "15.0"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "last_affected":  "15.1"
            }
        ]
    }
]