# CVE-2026-90319: rapidio: clear mport->net when rio_add_net() fails

- Severity: not scored yet
- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-17T16:08:36.840Z
- Modified: 2026-10-19T09:19:25.893Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rapidio: clear mport->net when rio_add_net() fails

rio_alloc_net() stores the newly allocated rio_net in mport->net before
rio_scan_alloc_net() registers the device.

If rio_add_net() fails, rio_scan_alloc_net() drops the device reference
with put_device(), which releases the rio_net through the device release
callback.  However, mport->net is left pointing at the freed object.

A later mport unregister path can then dereference the dangling mport->net
pointer and may try to free the same rio_net again.

Clear mport->net in the rio_add_net() failure path, matching the cleanup
done for the destID table allocation failure path.

(As written by CVE List.)

## Affected

- Linux Linux: from 4f3509cfcc02e9d757f2714bb7dbbeec35de6fa7 before 24f60ebabeb8757cec8ec2f97660d521bc9147ec; from 181d4daaefb3bceeb2f2635ba9f3781eeda9e550 before 6a760a53e73064735cdfa9e51c664983a89baf96; from ad82be4298a89a9ae46f07128bdf3d8614bce745 before 3f00999e44d9984036a029dbad9d2afe94a674d0; from e6411c3b9512dba09af7d014d474516828c89706 before 332591a245de978349a7558f8b20469951bb77cc; from c332f3e2df0fcae5a45fd55cc18902fb1e4825ca before 75f0bc167b96bbbef8182b88308c732af82c8d83; from e842f9a1edf306bf36fe2a4d847a0b0d458770de before 44a37264b26911e13d0a4f5630751c4157ed0354; from e842f9a1edf306bf36fe2a4d847a0b0d458770de before 530a9d5ef831a0049dad9a6b2b92d02301352c38; from e842f9a1edf306bf36fe2a4d847a0b0d458770de before b74030fbf187b43c1f85b66a7082e9946511cb5d; 6d22953c4a183d0b7fdf34d68c5debd16da6edc5; a0d069ccc475abaaa79c6368ee27fc0b5912bea8; from 5.10.235 before 5.10.270; from 5.15.179 before 5.15.221; and 6 more (not affected: before 6.14; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/24f60ebabeb8757cec8ec2f97660d521bc9147ec>
- <https://git.kernel.org/stable/c/6a760a53e73064735cdfa9e51c664983a89baf96>
- <https://git.kernel.org/stable/c/3f00999e44d9984036a029dbad9d2afe94a674d0>
- <https://git.kernel.org/stable/c/332591a245de978349a7558f8b20469951bb77cc>
- <https://git.kernel.org/stable/c/75f0bc167b96bbbef8182b88308c732af82c8d83>
- <https://git.kernel.org/stable/c/44a37264b26911e13d0a4f5630751c4157ed0354>
- <https://git.kernel.org/stable/c/530a9d5ef831a0049dad9a6b2b92d02301352c38>
- <https://git.kernel.org/stable/c/b74030fbf187b43c1f85b66a7082e9946511cb5d>

## Sources

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

---

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