{"id":"CVE-2021-47368","published":"2024-05-21T15:03:34Z","modified":"2026-08-05T08:47:29Z","title":"enetc: Fix illegal access when reading affinity_hint","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nenetc: Fix illegal access when reading affinity_hint\n\nirq_set_affinity_hit() stores a reference to the cpumask_t\nparameter in the irq descriptor, and that reference can be\naccessed later from irq_affinity_hint_proc_show(). Since\nthe cpu_mask parameter passed to irq_set_affinity_hit() has\nonly temporary storage (it's on the stack memory), later\naccesses to it are illegal. Thus reads from the corresponding\nprocfs affinity_hint file can result in paging request oops.\n\nThe issue is fixed by the get_cpu_mask() helper, which provides\na permanent storage for the cpumask_t parameter.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00643,"percentile":0.51777,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://git.kernel.org/stable/c/4c4c3052911b577920353a7646e4883d5da40c28","tags":[]},{"url":"https://git.kernel.org/stable/c/6c3f1b741c6c2914ea120e3a5790d3e900152f7b","tags":[]},{"url":"https://git.kernel.org/stable/c/6f329d9da2a5ae032fcde800a99b118124ed5270","tags":[]},{"url":"https://git.kernel.org/stable/c/7237a494decfa17d0b9d0076e6cee3235719de90","tags":[]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d4fd0404c1c95b17880f254ebfee3485693fa8ba, < 4c4c3052911b577920353a7646e4883d5da40c28",">= d4fd0404c1c95b17880f254ebfee3485693fa8ba, < 6c3f1b741c6c2914ea120e3a5790d3e900152f7b",">= d4fd0404c1c95b17880f254ebfee3485693fa8ba, < 6f329d9da2a5ae032fcde800a99b118124ed5270",">= d4fd0404c1c95b17880f254ebfee3485693fa8ba, < 7237a494decfa17d0b9d0076e6cee3235719de90"]},{"vendor":"Linux","product":"Linux","versions":["5.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-05T20:50:21.709936Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34373","exploited":false,"provenance":"source"}}