CVE-2026-43120

Source
https://cve.org/CVERecord?id=CVE-2026-43120
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43120.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43120
Downstream
Related
Published
2026-05-06T07:40:43.923Z
Modified
2026-07-21T18:52:24.856520517Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
RDMA/irdma: Fix double free related to rereg_user_mr
Details

In the Linux kernel, the following vulnerability has been resolved:

RDMA/irdma: Fix double free related to reregusermr

If IBMRREREGTRANS is set during reregusermr, the umem will be released and a new one will be allocated in irdmareregmrtrans. If any step of irdmareregmrtrans fails after the new umem is allocated, it releases the umem, but does not set iwmr->region to NULL. The problem is that this failure is propagated to the user, who will then call ibvderegmr (as they should). Then, the deregmr path will see a non-NULL umem and attempt to call ibumemrelease again.

Fix this by setting iwmr->region to NULL after ibumemrelease.

Fixed: 5ac388db27c4 ("RDMA/irdma: Add support to re-register a memory region")

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43120.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
715fdb3b30541cc8180b7cdc6aa9f8c307afdf25
Fixed
62298a48f8b8788ad8b8464e6ffdf1ddebd2217e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5ac388db27c443dadfbb0b8b23fa7ccf429d901a
Fixed
66964118f1f50ed85001c8fc9f7ab5bbdd021ee0
Fixed
0f22c32141acdcda266b26cab2b830baf870f3e0
Fixed
0c5d70bcb9d2275a1c8515a924016fcfeb4ab441
Fixed
29a3edd7004bb635d299fb9bc6f0ea4ef13ed5a2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.6.120
Fixed
6.6.136

Affected versions

v6.*
v6.6.120
v6.6.121
v6.6.122
v6.6.123
v6.6.124
v6.6.125
v6.6.126
v6.6.127
v6.6.128
v6.6.129
v6.6.130
v6.6.131
v6.6.132
v6.6.133
v6.6.134
v6.6.135

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43120.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.136
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.83
Fixed
6.18.24
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.19.14

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43120.json"