High · published July 10, 2025
In the Linux kernel, the following vulnerability has been resolved:
software node: Correct a OOB check in software_node_get_reference_args()
software_node_get_reference_args() wants to get @index-th element, so
the property value requires at least '(index + 1) * sizeof(*ref)' bytes
but that can not be guaranteed by current OOB check, and may cause OOB
for malformed property.
Fix by using as OOB check '((index + 1) * sizeof(*ref) > prop->length)'.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.0, < 5.10.239 | 5.10.239 |
| linux/linux_kernel | ≥ 5.11, < 5.15.186 | 5.15.186 |
| linux/linux_kernel | ≥ 5.16, < 6.1.142 | 6.1.142 |
| linux/linux_kernel | ≥ 6.2, < 6.6.95 | 6.6.95 |
| linux/linux_kernel | ≥ 6.7, < 6.12.35 | 6.12.35 |
| linux/linux_kernel | ≥ 6.13, < 6.15.4 | 6.15.4 |
| debian/debian_linux | all versions | — |