Bug 2492286 (CVE-2026-53011) - CVE-2026-53011 kernel: net/sched: taprio: fix use-after-free in advance_sched() on schedule switch
Summary: CVE-2026-53011 kernel: net/sched: taprio: fix use-after-free in advance_sched...
Keywords:
Status: NEW
Alias: CVE-2026-53011
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:03 UTC by OSIDB Bzimport
Modified: 2026-06-25 15:24 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:03:16 UTC
In the Linux kernel, the following vulnerability has been resolved:

net/sched: taprio: fix use-after-free in advance_sched() on schedule switch

In advance_sched(), when should_change_schedules() returns true,
switch_schedules() is called to promote the admin schedule to oper.
switch_schedules() queues the old oper schedule for RCU freeing via
call_rcu(), but 'next' still points into an entry of the old oper
schedule. The subsequent 'next->end_time = end_time' and
rcu_assign_pointer(q->current_entry, next) are use-after-free.

Fix this by selecting 'next' from the new oper schedule immediately
after switch_schedules(), and using its pre-calculated end_time.
setup_first_end_time() sets the first entry's end_time to
base_time + interval when the schedule is installed, so the value
is already correct.

The deleted 'end_time = sched_base_time(admin)' assignment was also
harmful independently: it would overwrite the new first entry's
pre-calculated end_time with just base_time.

Comment 1 Mauro Matteo Cascella 2026-06-25 15:21:47 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062449-CVE-2026-53011-6b0a@gregkh/T


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