# CVE-2026-43295: rapidio: replace rio_free_net() with kfree() in rio_scan_alloc_net()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-08T13:11:18.226Z
- Modified: 2026-11-11T20:10:00.273Z
- 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.

(As written by CVE List.)

## Affected

- 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; 4.6 (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.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/83e579c2f7f6b1706323d744833b26470049dcc2> (patch)
- <https://git.kernel.org/stable/c/34a4f233df5eef5f1f113b2196142c0568b387f8> (patch)
- <https://git.kernel.org/stable/c/fecf292c6691970897396190855aa38826b7104e> (patch)
- <https://git.kernel.org/stable/c/649c2e853608cad0b0cba545555d168e67f094b3> (patch)
- <https://git.kernel.org/stable/c/87272e3e70ec4b666885bd520ff77463c11444ef> (patch)
- <https://git.kernel.org/stable/c/e5a732bfe29451e16abf9c6f07ce5948b22f3d59> (patch)
- <https://git.kernel.org/stable/c/78812c4fb7ed242d5961bf1337a49070d6487c94> (patch)
- <https://git.kernel.org/stable/c/666183dcdd9ad3b8156a1df7f204f728f720380f> (patch)

## Sources

- CVE List: [CVE-2026-43295](https://www.cve.org/CVERecord?id=CVE-2026-43295), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43295](https://nvd.nist.gov/vuln/detail/CVE-2026-43295), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43295 · Whole record: https://cve.day/CVE-2026-43295.json · Rebuilt by cve.day 2026-11-25T22:59:20.978Z
