{"id":"CVE-2022-49076","published":"2025-02-26T01:54:39Z","modified":"2026-08-05T08:53:45Z","title":"RDMA/hfi1: Fix use-after-free bug for mm struct","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hfi1: Fix use-after-free bug for mm struct\n\nUnder certain conditions, such as MPI_Abort, the hfi1 cleanup code may\nrepresent the last reference held on the task mm.\nhfi1_mmu_rb_unregister() then drops the last reference and the mm is freed\nbefore the final use in hfi1_release_user_pages().  A new task may\nallocate the mm structure while it is still being used, resulting in\nproblems. One manifestation is corruption of the mmap_sem counter leading\nto a hang in down_write().  Another is corruption of an mm struct that is\nin use by another task.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00299,"percentile":0.14941,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/5f54364ff6cfcd14cddf5441c4a490bb28dd69f7","tags":[]},{"url":"https://git.kernel.org/stable/c/9ca11bd8222a612de0d2f54d050bfcf61ae2883f","tags":[]},{"url":"https://git.kernel.org/stable/c/0b7186d657ee55e2cdefae498f07d5c1961e8023","tags":[]},{"url":"https://git.kernel.org/stable/c/5a9a1b24ddb510715f8f621263938186579a965c","tags":[]},{"url":"https://git.kernel.org/stable/c/2bbac98d0930e8161b1957dc0ec99de39ade1b3c","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":2.99},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 5f54364ff6cfcd14cddf5441c4a490bb28dd69f7",">= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 9ca11bd8222a612de0d2f54d050bfcf61ae2883f",">= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 0b7186d657ee55e2cdefae498f07d5c1961e8023",">= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 5a9a1b24ddb510715f8f621263938186579a965c",">= 3d2a9d642512c21a12d19b9250e7a835dcb41a79, < 2bbac98d0930e8161b1957dc0ec99de39ade1b3c","5732f83596f8a573f2cde814cc76a54e1a8995c7",">= 5.9.12, < 5.10"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T18:17:39.018953Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55128","exploited":false,"provenance":"source"}}