CVE-2020-12656
Reported by mitre · Published May 5, 2020
gss_mech_free in net/sunrpc/auth_gss/gss_mech_switch.c in the rpcsec_gss_krb5 implementation in the Linux kernel through 5.6.10 lacks certain domain_release calls, leading to a memory leak. Note: This was disputed with the assertion that the issue does not grant any access not already available. It is a problem that on unloading a specific kernel module some memory is leaked, but loading kernel modules is a privileged operation. A user could also write a kernel module to consume any amount of memory they like and load that replicating the effect of this bug
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux-aws | Ubuntu:20.04:LTS | 5.4.0-1022.22 |
| linux-gcp-fips | Ubuntu:Pro:FIPS-updates:20.04:LTS | 5.4.0-1067.71~20.04.1 |
| linux-raspi-5.4 | Ubuntu:18.04:LTS | 5.4.0-1016.17~18.04.1 |
| linux-hwe | Ubuntu:16.04:LTS | 4.15.0-115.116~16.04.1 |
| linux-oem-5.6 | Ubuntu:20.04:LTS | 5.6.0-1031.32 |
| linux-aws | Ubuntu:16.04:LTS | 4.4.0-1111.123 |
| linux-hwe | Ubuntu:18.04:LTS | 5.3.0-64.58~18.04.1 |
| linux-snapdragon | Ubuntu:18.04:LTS | 4.15.0-1084.92 |
| linux-gcp | Ubuntu:16.04:LTS | 4.15.0-1081.92~16.04.1 |
| linux-gcp | Ubuntu:20.04:LTS | 5.4.0-1022.22 |
| linux-azure | Ubuntu:16.04:LTS | 4.15.0-1093.103~16.04.1 |
| linux-snapdragon | Ubuntu:16.04:LTS | 4.4.0-1140.148 |
2 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- May 5, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (14 in total, the first dated here)
- Mar 6, 2026 Security Advisory (23 in total, the first dated here)
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-12656
vulnetix vdb fixes CVE-2020-12656
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-12656/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- openSUSE-SU-2020:0801 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2020:0935 vendor-advisoryx_refsource_SUSE
- USN-4483-1 vendor-advisoryx_refsource_UBUNTU
- USN-4485-1 vendor-advisoryx_refsource_UBUNTU