In the Linux kernel, the following vulnerability has been resolved: nvmet: avoid potential UAF in nvmet_req_complete() An nvme target ->queue_response() operation implementation may free the request passed as argument. Such implementation potentially could result in a use after free of the request pointer when percpu_ref_put() is called in nvmet_req_complete(). Avoid such problem by using a local variable to save the sq pointer before calling __nvmet_req_complete(), thus avoiding dereferencing the req pointer after that function call.
2025-05-02T16:15:30.680
2025-11-10T17:52:14.500
Analyzed
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSSv3.1: 7.8 (HIGH)
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Operating System | linux | linux_kernel | < 4.14.311 | Yes |
| Operating System | linux | linux_kernel | < 4.19.279 | Yes |
| Operating System | linux | linux_kernel | < 5.4.238 | Yes |
| Operating System | linux | linux_kernel | < 5.10.176 | Yes |
| Operating System | linux | linux_kernel | < 5.15.104 | Yes |
| Operating System | linux | linux_kernel | < 6.1.21 | Yes |
| Operating System | linux | linux_kernel | < 6.2.8 | Yes |
| Operating System | linux | linux_kernel | 6.3 | Yes |
| Operating System | linux | linux_kernel | 6.3 | Yes |