{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48788","id":"CVE-2022-48788","title":"nvme-rdma: fix possible use-after-free in transport error_recovery work","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix possible use-after-free in transport error_recovery work\n\nWhile nvme_rdma_submit_async_event_work is checking the ctrl and queue\nstate before preparing the AER command and scheduling io_work, in order\nto fully prevent a race where this check is not reliable the error\nrecovery work must flush async_event_work before","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix possible use-after-free in transport error_recovery work\n\nWhile nvme_rdma_submit_async_event_work is checking the ctrl and queue\nstate before preparing the AER command and scheduling io_work, in order\nto fully prevent a race where this check is not reliable the error\nrecovery work must flush async_event_work before continuing to destroy\nthe admin queue after setting the ctrl state to RESETTING such that\nthere is no race .submit_async_event and the error recovery handler\nitself changing the ctrl state.","published":"2024-07-16T11:43:45.213Z","updated":"2026-10-28T02:31:13.312966093Z","reserved":"2024-07-16T11:38:08.892Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"5593f72d1922403c11749532e3a0aa4cf61414e9","status":"affected","versionType":"git"},{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"d411b2a5da68b8a130c23097014434ac140a2ace","status":"affected","versionType":"git"},{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"324f5bdc52ecb6a6dadb31a62823ef8c709d1439","status":"affected","versionType":"git"},{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"646952b2210f19e584d2bf9eb5d092abdca2fcc1","status":"affected","versionType":"git"},{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"ea86027ac467a055849c4945906f799e7f65ab99","status":"affected","versionType":"git"},{"version":"7110230719602852481c2793d054f866b2bf4a2b","lessThan":"b6bb1722f34bbdbabed27acdceaf585d300c5fd2","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.8","status":"affected"},{"version":"0","lessThan":"4.8","status":"unaffected","versionType":"semver"},{"version":"4.19.231","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.181","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.102","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.25","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.11","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5593f72d1922403c11749532e3a0aa4cf61414e9","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d411b2a5da68b8a130c23097014434ac140a2ace","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/324f5bdc52ecb6a6dadb31a62823ef8c709d1439","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/646952b2210f19e584d2bf9eb5d092abdca2fcc1","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ea86027ac467a055849c4945906f799e7f65ab99","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b6bb1722f34bbdbabed27acdceaf585d300c5fd2","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48788.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48788","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00934,"epssPercentile":0.61501,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48788","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48788","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48788","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48788","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}