{"id":"CVE-2026-99521","aliases":[],"cve":{"records":[{"id":"CVE-2026-99521","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.419Z","published":"2026-11-19T14:44:28.194Z","modified":"2026-11-19T14:44:28.194Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-19T14:44:28.194Z"}],"references":[{"url":"https://git.kernel.org/stable/c/df3008607f2c3343f7ad34001af656a185c123ee","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/48157350b24ac0343374ee3fa34188d7ff30be81","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/a0aaf59e7a86312c0272e36f19fb507f91405209","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/0f2cd84858e67cf8e02438bf28243bcdc67aa49a","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.6","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"rapidio: mport_cdev: fix use-after-free in mport_mm_close()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: mport_cdev: fix use-after-free in mport_mm_close()\n\nA use-after-free vulnerability was identified in mport_mm_close() in\ndrivers/rapidio/devices/rio_mport_cdev.c, identical to the pattern\npreviously addressed in dma_req_free().\n\nThis is observable from userspace when an application creates an mmap\nmapping via the RapidIO character device and subsequently unmaps it (or\nterminates, triggering exit_mmap()).  During munmap, mport_mm_close() is\ninvoked and drops the mapping reference via kref_put().\n\nIf kref_put() drops the last reference, mport_release_mapping() is called,\nwhich frees the underlying rio_mport_mapping structure.  The subsequent\nmutex_unlock() then dereferences map->md to unlock buf_mutex, leading to a\nuse-after-free:\n\n   mport_mm_close()\n     -> mutex_lock(&map->md->buf_mutex);\n     ...\n     -> kref_put(&map->ref, mport_release_mapping); /* map is freed */\n     -> mutex_unlock(&map->md->buf_mutex);          /* UAF: map used */\n\nFix this by caching map->md before kref_put() and using the cached pointer\nfor mutex unlocking, ensuring that freed memory is not accessed.","score":null,"severity":"unknown","published":"2026-11-19T14:44:28.194Z","modified":"2026-11-19T14:44:28.194Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"e8de370188d098bb49483c287b44925957c3c9b6","status":"affected","lessThan":"df3008607f2c3343f7ad34001af656a185c123ee","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","status":"affected","lessThan":"48157350b24ac0343374ee3fa34188d7ff30be81","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","status":"affected","lessThan":"a0aaf59e7a86312c0272e36f19fb507f91405209","versionType":"git"},{"version":"e8de370188d098bb49483c287b44925957c3c9b6","status":"affected","lessThan":"0f2cd84858e67cf8e02438bf28243bcdc67aa49a","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99521"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"4.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.6","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99521"}],"remediation":[],"references":["https://git.kernel.org/stable/c/df3008607f2c3343f7ad34001af656a185c123ee","https://git.kernel.org/stable/c/48157350b24ac0343374ee3fa34188d7ff30be81","https://git.kernel.org/stable/c/a0aaf59e7a86312c0272e36f19fb507f91405209","https://git.kernel.org/stable/c/0f2cd84858e67cf8e02438bf28243bcdc67aa49a"],"sources":[{"name":"CVE","id":"CVE-2026-99521","modified":"2026-11-19T14:44:28.194Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99521"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-19T14:59:29.638Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T12:25:32.613Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-22T03:30:31.459Z","attemptedAt":"2026-11-22T03:30:31.459Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-22T02:05:36.996Z","attemptedAt":"2026-11-22T02:05:36.996Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-22T01:40:34.834Z","attemptedAt":"2026-11-22T01:40:34.834Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-22T01:15:40.411Z","attemptedAt":"2026-11-22T01:15:40.411Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99521","url":"https://www.first.org/epss/","probability":0.00174,"percentile":0.06937,"date":"2026-11-21","checkedAt":"2026-11-22T01:15:40.411Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130242","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130242","modified":"Nov 19, 2026, 2:44:28 PM","checkedAt":"2026-11-22T01:40:34.834Z"},{"source":"GitHub Advisory Database","id":"GHSA-2p4q-79h9-pwgv","url":"https://github.com/advisories/GHSA-2p4q-79h9-pwgv","modified":"2026-11-19T15:31:30Z","checkedAt":"2026-11-22T02:05:36.996Z"},{"source":"NVD","id":"CVE-2026-99521","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99521","modified":"2026-11-19T15:18:07.687","checkedAt":"2026-11-22T03:30:31.459Z"}],"aiSummary":null}