# CVE-2024-50127: net: sched: fix use-after-free in taprio_change()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-11-05T17:10:54.385Z
- Modified: 2026-10-15T01:19:07.610Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 2f868ce6013548a713c431c679ef73747a66fcf3; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 8a283a19026aaae8a773fd8061263cfa315b127f; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 999612996df28d81f163dad530d7f8026e03aec6; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before fe371f084073e8672a2d7d46b335c3c060d1e301; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 0d4c0d2844e4eac3aed647f948fd7e60eea56a61; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before 2240f9376f20f8b6463232b4ca7292569217237f; from a3d43c0d56f1b94e74963a2fbadfb70126d92213 before f504465970aebb2467da548f7c1efbbf36d0f44b; 5.2 (not affected: before 5.2; from 5.4.285 up to 5.4.*; from 5.10.229 up to 5.10.*; from 5.15.170 up to 5.15.*; from 6.1.115 up to 6.1.*; from 6.6.59 up to 6.6.*; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 5.2 before 5.15.170; from 5.16 before 6.1.115; from 6.2 before 6.6.59; from 6.7 before 6.11.6; 6.12

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/2f868ce6013548a713c431c679ef73747a66fcf3> (patch)
- <https://git.kernel.org/stable/c/8a283a19026aaae8a773fd8061263cfa315b127f> (patch)
- <https://git.kernel.org/stable/c/999612996df28d81f163dad530d7f8026e03aec6> (patch)
- <https://git.kernel.org/stable/c/fe371f084073e8672a2d7d46b335c3c060d1e301> (patch)
- <https://git.kernel.org/stable/c/0d4c0d2844e4eac3aed647f948fd7e60eea56a61> (patch)
- <https://git.kernel.org/stable/c/2240f9376f20f8b6463232b4ca7292569217237f> (patch)
- <https://git.kernel.org/stable/c/f504465970aebb2467da548f7c1efbbf36d0f44b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-50127](https://www.cve.org/CVERecord?id=CVE-2024-50127), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-50127](https://nvd.nist.gov/vuln/detail/CVE-2024-50127), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-50127 · Whole record: https://cve.day/CVE-2024-50127.json · Rebuilt by cve.day 2026-11-25T22:58:47.788Z
