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

CVE-2026-53011
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < a8fc396519ef4f081bc545e88f61241728bb78d7 ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 3471874578160a28c171a607fa069f24062634b8 ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 7256996e1ef553716817f3bfd077c2f3b48b582f ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < eee072fe16c646190d33ae69c9983d8de1562bf8 ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < 1bd286fa3e21200133478ed523cc6a2788baf38a ; affected a3d43c0d56f1b94e74963a2fbadfb70126d92213 < b73235da5dde77ed1264f9767b62c28c9d71fd78
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.141 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD