software node: Fix software_node_get_reference_args() with index -1
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 31e4e12e0e9609850cefd4b2e1adf782f56337d6 · < df5466412b362db7adfa78e3e092fe07ac6769a4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
software node: Fix software_node_get_reference_args() with index -1
The bounds check for the index passed to software_node_get_reference_args() was failing when passed UINT_MAX, this in turn would lead to an out of bound access in the property array. Fix the bound check to also cover the UINT_MAX case.
From the CVE record · Linux
The Linux kernel's software_node_get_reference_args() fails to reject an index of UINT_MAX, allowing an out-of-bounds access to the property array. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Teams running the Linux kernel should check their deployments; affected versions are not specified.