CVE-2024-36476: RDMA/rtrs: Ensure 'ib_sge list' is accessible
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs: Ensure 'ib_sge list' is accessible
Move the declaration of the 'ib_sge list' variable outside the
'always_invalidate' block to ensure it remains accessible for use
throughout the function.
Previously, 'ib_sge list' was declared within the 'always_invalidate'
block, limiting its accessibility, then caused a
'BUG: kernel NULL pointer dereference'[1].
? __die_body.cold+0x19/0x27
? page_fault_oops+0x15a/0x2d0
? search_module_extables+0x19/0x60
? search_bpf_extables+0x5f/0x80
? exc_page_fault+0x7e/0x180
? asm_exc_page_fault+0x26/0x30
? memcpy_orig+0xd5/0x140
rxe_mr_copy+0x1c3/0x200 [rdma_rxe]
? rxe_pool_get_index+0x4b/0x80 [rdma_rxe]
copy_data+0xa5/0x230 [rdma_rxe]
rxe_requester+0xd9b/0xf70 [rdma_rxe]
? finish_task_switch.isra.0+0x99/0x2e0
rxe_sender+0x13/0x40 [rdma_rxe]
do_task+0x68/0x1e0 [rdma_rxe]
process_one_work+0x177/0x330
worker_thread+0x252/0x390
? __pfx_worker_thread+0x10/0x10
This change ensures the variable is available for subsequent operations
that require it.
[1] https://lore.kernel.org/linux-rdma/6a1f3e8f-deb0-49f9-bc69-a9b03ecfcda7@fujitsu.com/
Security readout for executives and security teams
Plain-English summary
A Linux kernel flaw in the RDMA/rtrs subsystem can cause a NULL-pointer crash during data handling. Systems using the affected RDMA functionality may suffer kernel failure and service interruption. The supplied critical score also claims confidentiality and integrity impact, but the technical evidence provided primarily demonstrates a crash; broader impact is not established here.
Executive priority
Treat as urgent for RDMA-enabled production infrastructure because a kernel crash could disrupt critical services. First establish whether the relevant subsystem is present and used, then patch affected systems through supported vendor channels. Systems without this RDMA path are lower priority. Do not interpret the critical score alone as proof of active attacks or confirmed data compromise.
Technical view
The ib_sge list variable was scoped inside an always_invalidate block, leaving subsequent operations unable to access the expected value. The resulting path can reach rxe_mr_copy through the rdma_rxe requester and dereference NULL. Referenced Linux stable commits move the declaration so the list remains accessible throughout the function.
Likely exposure
Exposure is limited to Linux systems running an affected kernel and exercising the relevant RDMA/rtrs path, including the demonstrated rdma_rxe context. The bundle flags version records including 5.8, 5.10.233, 5.15.176, 6.1.124, 6.6.70, 6.12.9, and 6.13, but does not clearly define complete affected ranges or distribution backports.
Exploitation context
The supplied CVSS 3.1 rating is 9.8 with network reachability, low complexity, no privileges, and no interaction. However, this CVE is not listed as KEV, and the provided sources do not establish active exploitation, public weaponization, or reliable impact beyond the documented kernel crash.
Researcher notes
CWE-476 matches the documented NULL-pointer dereference. The supplied CVSS vector asserts high confidentiality, integrity, and availability impact, while the description and trace substantiate availability impact most clearly. Complete affected ranges, prerequisite protocol state, distribution-specific fixes, and exploitability are not resolved by the bundle. The duplicated commit-style version entries also warrant confirmation against authoritative vendor tracking.
Mitigation direction
Apply a vendor-supported kernel update containing the applicable referenced stable correction or backport.
Consult the Linux distribution or appliance vendor for precise affected and fixed package versions.
Prioritize RDMA-enabled systems supporting critical, clustered, storage, or latency-sensitive workloads.
Track systems awaiting updates and apply vendor-recommended temporary controls if published.
Validation and detection
Inventory kernel versions and identify systems configured to use RDMA/rtrs or rdma_rxe.
Compare installed kernel packages with vendor advisories and applicable stable commit backports.
Review kernel logs for NULL dereferences containing rxe_mr_copy, copy_data, or rxe_requester.
After updating, confirm the running kernel is the corrected build and repeat operational RDMA testing.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.