CVE-2023-53484
HighIn the Linux kernel, the following vulnerability has been resolved: lib: cpu_rmap: Avoid use after free on rmap->obj array entries When calling irq_set_affinity_notifier() with NULL at the notify argument, it will cause freeing of the glue pointer in the corresponding array entry but will leave the pointer in the array. A subsequent call to free_irq_cpu_rmap() will try to free this entry again leading to possible use after free. Fix that by setting NULL to the array entry and checking that we have non-zero at the array entry when iterating over the array in free_irq_cpu_rmap(). The current code does not suffer from this since there are no cases where irq_set_affinity_notifier(irq, NULL) (note the NULL passed for the notify arg) is called, followed by a call to free_irq_cpu_rmap() so we don't hit and issue. Subsequent patches in this series excersize this flow, hence the required fix.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2023-53484 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.8
and later are affected. Fixed in
4.14.316,
4.19.284,
5.4.244,
5.10.181,
5.15.113,
6.1.30,
6.3.4,
6.4
and their respective stable series.
References
The following references provide additional information about CVE-2023-53484 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4e0473f1060aa49621d40a113afde24818101d37
-
PatchKernel patch commithttps://git.kernel.org/stable/c/67bca5f1d644f4e79b694abd8052a177de81c37f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/981f339d2905b6a92ef59358158b326493aecac5
Frequently asked questions
-
What is CVE-2023-53484?
CVE-2023-53484 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 3.8 onward and has been patched in 4.14.316, 4.19.284, 5.4.244 and others. CVE-2023-53484 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2023-53484?
CVE-2023-53484 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2023-53484?
Yes — CVE-2023-53484 has been patched. Fixed versions include 4.14.316, 4.19.284, 5.4.244 and others. If you are running Linux kernel 3.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53484 actively exploited?
No — CVE-2023-53484 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →