PT-2026-151732

CVE-2026-99521

·

Published

2026-11-19

·

Updated

2026-11-19

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
rapidio: mport cdev: fix use-after-free in mport mm close()
A use-after-free vulnerability was identified in mport mm close() in drivers/rapidio/devices/rio mport cdev.c, identical to the pattern previously addressed in dma req free().
This is observable from userspace when an application creates an mmap mapping via the RapidIO character device and subsequently unmaps it (or terminates, triggering exit mmap()). During munmap, mport mm close() is invoked and drops the mapping reference via kref put().
If kref put() drops the last reference, mport release mapping() is called, which frees the underlying rio mport mapping structure. The subsequent mutex unlock() then dereferences map->md to unlock buf mutex, leading to a use-after-free:
mport mm close() -> mutex lock(&map->md->buf mutex); ... -> kref put(&map->ref, mport release mapping); /* map is freed / -> mutex unlock(&map->md->buf mutex); / UAF: map used */
Fix this by caching map->md before kref put() and using the cached pointer for mutex unlocking, ensuring that freed memory is not accessed.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾