# CVE-2025-38087: net/sched: fix use-after-free in taprio_dev_notifier

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-06-30T07:29:43.325Z
- Modified: 2026-08-05T11:59:24.523Z
- Weaknesses: CWE-416
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: fix use-after-free in taprio_dev_notifier

Since taprio’s taprio_dev_notifier() isn’t protected by an
RCU read-side critical section, a race with advance_sched()
can lead to a use-after-free.

Adding rcu_read_lock() inside taprio_dev_notifier() prevents this.

(As written by CVE List.)

## Affected

- Linux Linux: from fed87cc6718ad5f80aa739fee3c5979a8b09d3a6 before 8c5713ce1ced75f9e9ed5c642ea3d2ba06ead69c; from fed87cc6718ad5f80aa739fee3c5979a8b09d3a6 before 8a008c89e5e5c5332e4c0a33d707db9ddd529f8a; from fed87cc6718ad5f80aa739fee3c5979a8b09d3a6 before b1547d28ba468bc3b88764efd13e4319bab63be8; from fed87cc6718ad5f80aa739fee3c5979a8b09d3a6 before b160766e26d4e2e2d6fe2294e0b02f92baefcec5; 6.3 (not affected: before 6.3; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.3 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4; 6.16

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/8c5713ce1ced75f9e9ed5c642ea3d2ba06ead69c> (patch)
- <https://git.kernel.org/stable/c/8a008c89e5e5c5332e4c0a33d707db9ddd529f8a> (patch)
- <https://git.kernel.org/stable/c/b1547d28ba468bc3b88764efd13e4319bab63be8> (patch)
- <https://git.kernel.org/stable/c/b160766e26d4e2e2d6fe2294e0b02f92baefcec5> (patch)

## Sources

- CVE List: [CVE-2025-38087](https://www.cve.org/CVERecord?id=CVE-2025-38087), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38087](https://nvd.nist.gov/vuln/detail/CVE-2025-38087), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38087 · Whole record: https://cve.day/CVE-2025-38087.json · Rebuilt by cve.day 2026-11-25T22:59:00.387Z
