CVE Catalog

CVE-2024-50127

High
Published: Translated: NVD NIST

Summary

A vulnerability has been identified in the Linux kernel within the 'taprio_change()' function that may lead to a use-after-free situation. Due to a scheduler switch or removal, the 'admin' pointer may become dangling, which was detected by KASAN.

Risk Assessment

This vulnerability could lead to unpredictable system behavior, posing risks to the stability and security of applications running on the Linux kernel.

Recommendation

It is recommended to update the Linux kernel to the latest version to mitigate this vulnerability and to monitor the system for potential pointer-related issues.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS