CVE-2023-54269 Details
Description
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: double free xprt_ctxt while still in use When an RPC request is deferred, the rq_xprt_ctxt pointer is moved out of the svc_rqst into the svc_deferred_req. When the deferred request is revisited, the pointer is copied into the new svc_rqst - and also remains in the svc_deferred_req. In the (rare?) case that the request is deferred a second time, the old svc_deferred_req is reused - it still has all the correct content. However in that case the rq_xprt_ctxt pointer is NOT cleared so that when xpo_release_xprt is called, the ctxt is freed (UDP) or possible added to a free list (RDMA). When the deferred request is revisited for a second time, it will reference this ctxt which may be invalid, and the free the object a second time which is likely to oops. So change svc_defer() to *always* clear rq_xprt_ctxt, and assert that the value is now stored in the svc_deferred_req.
A double free vulnerability has been identified in the Linux kernel's SUNRPC implementation, specifically in how the xprt_ctxt pointer is managed during deferred RPC requests. When a request is deferred, the xprt_ctxt pointer is transferred from the svc_rqst to the svc_deferred_req. If the deferred request is revisited and deferred again, the old svc_deferred_req is reused without clearing the xprt_ctxt pointer. This oversight can lead to the xprt_ctxt being freed multiple times, causing a kernel oops error. The vulnerability affects the stable versions of the Linux kernel.
The vulnerability has been addressed in a patch that is available in the Linux kernel stable tree. Instructions for applying the patch can be found in the Linux kernel Git repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7851771789e87108a92697194105ef0c9307dc5e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e0c648627322a4c7e018e5c7f837c3c03e297dbb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/eb8d3a2c809abd73ab0a060fe971d6b9019aa3c1 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fd86534872f445f54dc01e7db001e25eadf063a8 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion