PT-2026-151732
CVE-2026-99521
·
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾