CVEvulnerability
CVE-2026-90319
- Status
- Received
- Published
- 2026-09-17
- Last modified
- 2026-10-19
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
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.
References
- https://git.kernel.org/stable/c/24f60ebabeb8757cec8ec2f97660d521bc9147ec git.kernel.org
- https://git.kernel.org/stable/c/332591a245de978349a7558f8b20469951bb77cc git.kernel.org
- https://git.kernel.org/stable/c/3f00999e44d9984036a029dbad9d2afe94a674d0 git.kernel.org
- https://git.kernel.org/stable/c/44a37264b26911e13d0a4f5630751c4157ed0354 git.kernel.org
- https://git.kernel.org/stable/c/530a9d5ef831a0049dad9a6b2b92d02301352c38 git.kernel.org
- https://git.kernel.org/stable/c/6a760a53e73064735cdfa9e51c664983a89baf96 git.kernel.org
- https://git.kernel.org/stable/c/75f0bc167b96bbbef8182b88308c732af82c8d83 git.kernel.org
- https://git.kernel.org/stable/c/b74030fbf187b43c1f85b66a7082e9946511cb5d git.kernel.org