In the Linux kernel, the following vulnerability has been resolved:
net_sched: hfsc: Fix a UAF vulnerability in class handling
This patch fixes a Use-After-Free vulnerability in the HFSC qdisc class handling. The issue occurs due to a time-of-check/time-of-use condition in hfsc_change_class() when working with certain child qdiscs like netem or codel.
The vulnerability works as follows:
The fix adds a second queue length check after qdisc_peek_len() to verify the queue wasn't emptied.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 4.14.1 | 5.4.293 |
| linux / linux_kernel | 5.5 | 5.10.237 |
| linux / linux_kernel | 5.11 | 5.15.181 |
| linux / linux_kernel | 5.16 | 6.1.136 |
| linux / linux_kernel | 6.2 | 6.6.89 |
| linux / linux_kernel | 6.7 | 6.12.26 |
| linux / linux_kernel | 6.13 | 6.14.5 |
| linux / linux_kernel | 4.14 | 4.14.x |
| linux / linux_kernel | 4.14-rc2 | 4.14-rc2.x |
| linux / linux_kernel | 4.14-rc3 | 4.14-rc3.x |
| linux / linux_kernel | 4.14-rc4 | 4.14-rc4.x |
| linux / linux_kernel | 4.14-rc5 | 4.14-rc5.x |
| linux / linux_kernel | 4.14-rc6 | 4.14-rc6.x |
| linux / linux_kernel | 4.14-rc7 | 4.14-rc7.x |
| linux / linux_kernel | 4.14-rc8 | 4.14-rc8.x |
| linux / linux_kernel | 6.15-rc1 | 6.15-rc1.x |
| linux / linux_kernel | 6.15-rc2 | 6.15-rc2.x |
| linux / linux_kernel | 6.15-rc3 | 6.15-rc3.x |
| debian / debian_linux | 11.0 | 11.0.x |