{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47368","id":"CVE-2021-47368","title":"enetc: Fix illegal access when reading affinity_hint","description":"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 ","descriptionLong":"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.","published":"2024-05-21T15:03:34.494Z","updated":"2026-08-05T08:47:29.151Z","reserved":"2024-05-21T14:58:30.810Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4fd0404c1c95b17880f254ebfee3485693fa8ba","lessThan":"4c4c3052911b577920353a7646e4883d5da40c28","status":"affected","versionType":"git"},{"version":"d4fd0404c1c95b17880f254ebfee3485693fa8ba","lessThan":"6c3f1b741c6c2914ea120e3a5790d3e900152f7b","status":"affected","versionType":"git"},{"version":"d4fd0404c1c95b17880f254ebfee3485693fa8ba","lessThan":"6f329d9da2a5ae032fcde800a99b118124ed5270","status":"affected","versionType":"git"},{"version":"d4fd0404c1c95b17880f254ebfee3485693fa8ba","lessThan":"7237a494decfa17d0b9d0076e6cee3235719de90","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.4.150","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.70","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.14.9","lessThanOrEqual":"5.14.*","status":"unaffected","versionType":"semver"},{"version":"5.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-400"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4c4c3052911b577920353a7646e4883d5da40c28","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/6c3f1b741c6c2914ea120e3a5790d3e900152f7b","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/6f329d9da2a5ae032fcde800a99b118124ed5270","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/7237a494decfa17d0b9d0076e6cee3235719de90","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00643,"epssPercentile":0.51639,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47368","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47368","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47368","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47368","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}