CVE-2024-50127
HighIn the Linux kernel, the following vulnerability has been resolved: net: sched: fix use-after-free in taprio_change() In 'taprio_change()', 'admin' pointer may become dangling due to sched switch / removal caused by 'advance_sched()', and critical section protected by 'q->current_entry_lock' is too small to prevent from such a scenario (which causes use-after-free detected by KASAN). Fix this by prefer 'rcu_replace_pointer()' over 'rcu_assign_pointer()' to update 'admin' immediately before an attempt to schedule freeing.
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-2024-50127 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
5.2
and later are affected. Fixed in
5.4.285,
5.10.229,
5.15.170,
6.1.115,
6.6.59,
6.11.6,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50127 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/0d4c0d2844e4eac3aed647f948fd7e60eea56a61
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2240f9376f20f8b6463232b4ca7292569217237f
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2f868ce6013548a713c431c679ef73747a66fcf3
Frequently asked questions
-
What is CVE-2024-50127?
CVE-2024-50127 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 5.2 onward and has been patched in 5.4.285, 5.10.229, 5.15.170 and others. CVE-2024-50127 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50127?
CVE-2024-50127 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-2024-50127?
Yes — CVE-2024-50127 has been patched. Fixed versions include 5.4.285, 5.10.229, 5.15.170 and others. If you are running Linux kernel 5.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50127 actively exploited?
No — CVE-2024-50127 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 →