CVE-2021-47368
Vulnerability Summary
Timeline
Description
In the Linux kernel, the following vulnerability has been resolved: enetc: Fix illegal access when reading affinity_hint irq_set_affinity_hit() stores a reference to the cpumask_t parameter in the irq descriptor, and that reference can be accessed later from irq_affinity_hint_proc_show(). Since the cpu_mask parameter passed to irq_set_affinity_hit() has only temporary storage (it's on the stack memory), later accesses to it are illegal. Thus reads from the corresponding procfs affinity_hint file can result in paging request oops. The issue is fixed by the get_cpu_mask() helper, which provides a permanent storage for the cpumask_t parameter.
CVSS Metrics
- v3.1•HIGH•Score: 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Trends
Current EPSS score: 0.64%• Percentile: 49%
Techniques & Countermeasures
- CWE-400•Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
Affected Systems
- debian•linux
< 5.10.70-1 | < 5.14.9-1 | < 5.14.9-1 | < 5.14.9-1
- ubuntu•linux
< 5.4.0-91.102
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 5.4.0-1060.63
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1060.63~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-fips
< 5.4.0-1069.73+fips2 | all
- ubuntu•linux-azure
all | < 5.4.0-1064.67
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1064.67~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 5.4.0-1073.76+fips1 | all
- ubuntu•linux-bluefield
all | < 5.4.0-1022.25
- ubuntu•linux-fips
< 5.4.0-1037.43 | all
- ubuntu•linux-gcp
all | < 5.4.0-1058.62
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1058.62~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-fips
< 5.4.0-1067.71~20.04.1 | all
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
< 5.4.0-1027.28
- ubuntu•linux-gkeop-5.4
all
- ubuntu•linux-hwe
all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.19
all
- ubuntu•linux-hwe-5.4
< 5.4.0-91.102~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-6.2
all
Showing first 50 affected entries in server-rendered view.
References (8)
- https://git.kernel.org/stable/c/4c4c3052911b577920353a7646e4883d5da40c28
- https://git.kernel.org/stable/c/6c3f1b741c6c2914ea120e3a5790d3e900152f7b
- https://git.kernel.org/stable/c/6f329d9da2a5ae032fcde800a99b118124ed5270
- https://git.kernel.org/stable/c/7237a494decfa17d0b9d0076e6cee3235719de90
- https://ubuntu.com/security/CVE-2021-47368
- https://www.cve.org/CVERecord?id=CVE-2021-47368
- https://git.kernel.org/linus/7237a494decfa17d0b9d0076e6cee3235719de90
- https://security-tracker.debian.org/tracker/CVE-2021-47368