{"id":"CVE-2024-50127","aliases":["CVE-2024-50127"],"related":[],"kind":"vulnerability","state":"published","title":"net: sched: fix use-after-free in taprio_change()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: fix use-after-free in taprio_change()\n\nIn 'taprio_change()', 'admin' pointer may become dangling due to sched\nswitch / removal caused by 'advance_sched()', and critical section\nprotected by 'q->current_entry_lock' is too small to prevent from such\na scenario (which causes use-after-free detected by KASAN). Fix this\nby prefer 'rcu_replace_pointer()' over 'rcu_assign_pointer()' to update\n'admin' immediately before an attempt to schedule freeing.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: fix use-after-free in taprio_change()\n\nIn 'taprio_change()', 'admin' pointer may become dangling due to sched\nswitch / removal caused by 'advance_sched()', and critical section\nprotected by 'q->current_entry_lock' is too small to prevent from such\na scenario (which causes use-after-free detected by KASAN). Fix this\nby prefer 'rcu_replace_pointer()' over 'rcu_assign_pointer()' to update\n'admin' immediately before an attempt to schedule freeing.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: sched: arreglado use-after-free en taprio_change(). En 'taprio_change()', el puntero 'admin' puede quedar colgando debido al cambio/eliminación de sched causado por 'advance_sched()', y la sección crítica protegida por 'q-&gt;current_entry_lock' es demasiado pequeña para evitar tal escenario (que causa el use-after-free detectado por KASAN). Solucione esto al preferir 'rcu_replace_pointer()' sobre 'rcu_assign_pointer()' para actualizar 'admin' inmediatamente antes de un intento de liberación de programación.","source":"nvd"}],"published":"2024-11-05T17:10:54.385Z","modified":"2026-10-15T01:19:07.610Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"2f868ce6013548a713c431c679ef73747a66fcf3","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"8a283a19026aaae8a773fd8061263cfa315b127f","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"999612996df28d81f163dad530d7f8026e03aec6","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"fe371f084073e8672a2d7d46b335c3c060d1e301","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"0d4c0d2844e4eac3aed647f948fd7e60eea56a61","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"2240f9376f20f8b6463232b4ca7292569217237f","status":"affected"},{"type":"git","introduced":"a3d43c0d56f1b94e74963a2fbadfb70126d92213","fixed":"f504465970aebb2467da548f7c1efbbf36d0f44b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.229","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.170","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.115","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.59","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.6","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.2","fixed":"5.15.170"},{"status":"affected","introduced":"5.16","fixed":"6.1.115"},{"status":"affected","introduced":"6.2","fixed":"6.6.59"},{"status":"affected","introduced":"6.7","fixed":"6.11.6"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2f868ce6013548a713c431c679ef73747a66fcf3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a283a19026aaae8a773fd8061263cfa315b127f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/999612996df28d81f163dad530d7f8026e03aec6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fe371f084073e8672a2d7d46b335c3c060d1e301","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d4c0d2844e4eac3aed647f948fd7e60eea56a61","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2240f9376f20f8b6463232b4ca7292569217237f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f504465970aebb2467da548f7c1efbbf36d0f44b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-12-11T14:28:21.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50127","url":"https://www.cve.org/CVERecord?id=CVE-2024-50127","licence":"CVE Terms of Use","modified":"2026-10-15T00:57:08.737Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50127","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50127","licence":"Public domain","modified":"2026-10-15T01:19:07.610Z"}],"updatedAt":"2026-11-25T22:58:47.788Z","epss":{"score":0.0033,"percentile":0.18576,"date":"2026-11-30T12:00:22.000Z"}}