← Volver al buscador de CVEs

CVE-2026-23436

Linux Kernel

Descripción

In the Linux kernel, the following vulnerability has been resolved: net: shaper: protect from late creation of hierarchy We look up a netdev during prep of Netlink ops (pre- callbacks) and take a ref to it. Then later in the body of the callback we take its lock or RCU which are the actual protections. The netdev may get unregistered in between the time we take the ref and the time we lock it. We may allocate the hierarchy after flush has already run, which would lead to a leak. Take the instance lock in pre- already, this saves us from the race and removes the need for dedicated lock/unlock callbacks completely. After all, if there-s any chance of write happening concurrently with the flush - we-re back to leaking the hierarchy. We may take the lock for devices which don-t support shapers but we-re only dealing with SET operations here, not taking the lock would be optimizing for an error case.

CVSS 5.5EPSS 0.121%Riesgo 0.56
Ver fuente
Publicación
2026-04-03 16:16:25
Versiones afectadas
unknown
Tipo
Core software
Última modificación
2026-07-24 21:10:00
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sistemas operativos
Linux