Skip to content
7.8 High

CVE-2026-45852 In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix double free in rxe_srq_from_init In…

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix double free in rxe_srq_from_init In rxe_srq_from_init(), the queue pointer 'q' is assigned to 'srq->rq.queue' before copying the SRQ number to user space. If copy_to_user() fails, the function calls rxe_queue_cleanup() to free the queue, but leaves the now-invalid pointer in 'srq->rq.queue'. The caller of rxe_srq_from_init() (rxe_create_srq) eventually calls rxe_srq_cleanup() upon receiving the error, which triggers a second rxe_queue_cleanup() on the same memory, leading to a double free. The call trace looks like this: kmem_cache_free+0x.../0x... rxe_queue_cleanup+0x1a/0x30 [rdma_rxe] rxe_srq_cleanup+0x42/0x60 [rdma_rxe] rxe_elem_release+0x31/0x70 [rdma_rxe] rxe_create_srq+0x12b/0x1a0 [rdma_rxe] ib_create_srq_user+0x9a/0x150 [ib_core] Fix this by moving 'srq->rq.queue = q' after copy_to_user.

Affected products and versions

Product Affected versions Fixed in
Linux 7.0 earliest → < 7.0 7.0
Linux 6.19 earliest → < 6.19.4 6.19.4
Linux 6.18 earliest → < 6.18.14 6.18.14
Linux 6.12 earliest → < 6.12.75 6.12.75
Linux 6.6 earliest → < 6.6.128 6.6.128
Linux 6.1 earliest → < 6.1.176 6.1.176
Linux 5.15 earliest → < 5.15.210 5.15.210
Linux 5.10 earliest → < 5.10.259 5.10.259
Linux 4.20 No fix stated
Show the 40 other branches
Product Affected versions Fixed in
Red Hat Enterprise Linux AppStream E4S (v.9.4) Versions not published
Red Hat Enterprise Linux AppStream (v. 9) Versions not published
Red Hat Enterprise Linux BaseOS (v. 8) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.9.4) Versions not published
Red Hat Enterprise Linux BaseOS (v. 9) Versions not published
Red Hat Enterprise Linux CRB (v. 8) Versions not published
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) Versions not published
Red Hat Enterprise Linux NFV (v. 8) Versions not published
Red Hat Enterprise Linux Real Time for NFV E4S (v.9.4) Versions not published
Red Hat Enterprise Linux Real Time for NFV (v. 9) Versions not published
Red Hat Enterprise Linux RT (v. 8) Versions not published
Red Hat Enterprise Linux Real Time E4S (v.9.4) Versions not published
Red Hat Enterprise Linux Real Time (v. 9) Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 6 Versions not published
Red Hat Enterprise Linux BaseOS AUS (v.8.6) Versions not published
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.6) Versions not published
Red Hat Enterprise Linux AppStream EUS (v.9.6) Versions not published
Red Hat Enterprise Linux BaseOS EUS (v.9.6) Versions not published
Red Hat CodeReady Linux Builder EUS (v.9.6) Versions not published
Red Hat Enterprise Linux Real Time for NFV EUS (v.9.6) Versions not published
Red Hat Enterprise Linux Real Time EUS (v.9.6) Versions not published
Red Hat Enterprise Linux Server (v. 7 ELS) Versions not published
Red Hat Enterprise Linux Server Optional (v. 7 ELS) Versions not published
Red Hat Enterprise Linux BaseOS E4S (v.8.8) Versions not published
Red Hat Enterprise Linux BaseOS TUS (v.8.8) Versions not published
Red Hat Enterprise Linux BaseOS AUS (v.8.4) Versions not published
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) Versions not published
Red Hat Enterprise Linux 7 Extended Lifecycle Support Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Versions not published
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Versions not published
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Versions not published
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On Versions not published
Red Hat Enterprise Linux 8.8 Telecommunications Update Service Versions not published
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions Versions not published
Red Hat Enterprise Linux 9.6 Extended Update Support Versions not published

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE