5.5medium
rapidio: replace rio_free_net() with kfree() in rio_scan_alloc_net()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: rapidio: replace rio_free_net() with kfree() in rio_scan_alloc_net() When idtab allocation fails, net is not registered with rio_add_net() yet, so kfree(net) is sufficient to release the memory. Set mport->net to NULL to avoid dangling pointer.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e6b585ca6e81badeb3d42db3cc408174f2826034 before 83e579c2f7f6b1706323d744833b26470049dcc2, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 34a4f233df5eef5f1f113b2196142c0568b387f8, from e6b585ca6e81badeb3d42db3cc408174f2826034 before fecf292c6691970897396190855aa38826b7104e, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 649c2e853608cad0b0cba545555d168e67f094b3, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 87272e3e70ec4b666885bd520ff77463c11444ef, from e6b585ca6e81badeb3d42db3cc408174f2826034 before e5a732bfe29451e16abf9c6f07ce5948b22f3d59, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 78812c4fb7ed242d5961bf1337a49070d6487c94, from e6b585ca6e81badeb3d42db3cc408174f2826034 before 666183dcdd9ad3b8156a1df7f204f728f720380f and 1 more Not affected: before 4.6, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.6 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: rapidio: replace rio_free_net() with kfree() in rio_scan_alloc_net() When idtab allocation fails, net is not registered with rio_add_net() yet, so kfree(net) is sufficient to release the memory. Set mport->net to NULL to avoid dangling pointer.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: rapidio: reemplazar rio_free_net() con kfree() en rio_scan_alloc_net() Cuando la asignación de idtab falla, net aún no está registrado con rio_add_net(), por lo tanto, kfree(net) es suficiente para liberar la memoria. Establecer mport -> net en NULL para evitar un puntero colgante.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43295 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43295 changed 2026-11-11 | Public domain |