
<https://sepses.org/resource/cve/CVE-2026-99521> <http://purl.org/dc/terms/description> """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.""" ;
	<http://purl.org/dc/terms/identifier> "CVE-2026-99521" ;
	<http://purl.org/dc/terms/issued> "2026-11-19T15:18:07.687"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/modified> "2026-11-19T15:18:07.687"^^<http://www.w3.org/2001/XMLSchema#dateTime>, "2026-11-23T08:17:54.450"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/title> "CVE-2026-99521" ;
	<https://sepses.org/vocab/ref/cve#assigner> "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ;
	<https://sepses.org/vocab/ref/cve#hasCVSS3BaseMetric> <https://sepses.org/resource/cvss/CVSS3BaseMetric/CVE-2026-99521> ;
	<https://sepses.org/vocab/ref/cve#hasReference> <https://sepses.org/resource/cve/reference/CVE-2026-99521> ;
	<https://sepses.org/vocab/ref/cve#state> <https://sepses.org/resource/vocab/cve/state/Received> ;
	a <https://sepses.org/vocab/ref/cve#CVE> .

