Medium · published February 27, 2025
In the Linux kernel, the following vulnerability has been resolved:
safesetid: check size of policy writes
syzbot attempts to write a buffer with a large size to a sysfs entry
with writes handled by handle_policy_update(), triggering a warning
in kmalloc.
Check the size specified for write buffers before allocating.
[PM: subject tweak]
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.1, < 5.10.235 | 5.10.235 |
| linux/linux_kernel | ≥ 5.11, < 5.15.179 | 5.15.179 |
| linux/linux_kernel | ≥ 5.16, < 6.1.129 | 6.1.129 |
| linux/linux_kernel | ≥ 6.2, < 6.6.78 | 6.6.78 |
| linux/linux_kernel | ≥ 6.7, < 6.12.14 | 6.12.14 |
| linux/linux_kernel | ≥ 6.13, < 6.13.3 | 6.13.3 |