Bug 2323927 (CVE-2024-50127) - CVE-2024-50127 kernel: net: sched: fix use-after-free in taprio_change()
Summary: CVE-2024-50127 kernel: net: sched: fix use-after-free in taprio_change()
Keywords:
Status: NEW
Alias: CVE-2024-50127
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2324032
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-05 18:02 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:32:26 UTC

Description OSIDB Bzimport 2024-11-05 18:02:42 UTC
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.

Comment 2 errata-xmlrpc 2025-05-13 08:32:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.