CVE-2023-54269
SUNRPC: double free xprt_ctxt while still in use
Mitigation
- Upgrade Linux to 5.18 or later.
Who should check
- Anyone running Linux >= f5e13d700a4d40ccde3d36e383f9247dcb3c1d2d, < 7851771789e87108a92697194105ef0c9307dc5e; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < fd86534872f445f54dc01e7db001e25eadf063a8; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < e0c648627322a4c7e018e5c7f837c3c03e297dbb; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < eb8d3a2c809abd73ab0a060fe971d6b9019aa3c1; 11fab500f86403b2ebf6795feeade6e10302e448; >= 5.15.35, < 5.15.113; >= 5.17.4, < 5.18
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= f5e13d700a4d40ccde3d36e383f9247dcb3c1d2d, < 7851771789e87108a92697194105ef0c9307dc5e; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < fd86534872f445f54dc01e7db001e25eadf063a8; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < e0c648627322a4c7e018e5c7f837c3c03e297dbb; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < eb8d3a2c809abd73ab0a060fe971d6b9019aa3c1; 11fab500f86403b2ebf6795feeade6e10302e448; >= 5.15.35, < 5.15.113; >= 5.17.4, < 5.18; Linux 5.18
- Fixed in
- Linux 7851771789e87108a92697194105ef0c9307dc5e, Linux 5.15.113, Linux 5.18
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.83% chance of exploitation in 30 days (percentile 55, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f5e13d700a4d40ccde3d36e383f9247dcb3c1d2d, < 7851771789e87108a92697194105ef0c9307dc5e; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < fd86534872f445f54dc01e7db001e25eadf063a8; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < e0c648627322a4c7e018e5c7f837c3c03e297dbb; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < eb8d3a2c809abd73ab0a060fe971d6b9019aa3c1; 11fab500f86403b2ebf6795feeade6e10302e448; >= 5.15.35, < 5.15.113; >= 5.17.4, < 5.18 | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-54269. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54269.md Affected: Linux >= f5e13d700a4d40ccde3d36e383f9247dcb3c1d2d, < 7851771789e87108a92697194105ef0c9307dc5e; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < fd86534872f445f54dc01e7db001e25eadf063a8; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < e0c648627322a4c7e018e5c7f837c3c03e297dbb; >= 773f91b2cf3f52df0d7508f… Fixed in: Linux 7851771789e87108a92697194105ef0c9307dc5e, Linux 5.15.113, Linux 5.18 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2023-54269 being exploited?
There is no confirmed exploitation: CVE-2023-54269 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.83% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54269?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-54269?
Linux >= f5e13d700a4d40ccde3d36e383f9247dcb3c1d2d, < 7851771789e87108a92697194105ef0c9307dc5e; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < fd86534872f445f54dc01e7db001e25eadf063a8; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < e0c648627322a4c7e018e5c7f837c3c03e297dbb; >= 773f91b2cf3f52df0d7508fdbf60f37567cdaee4, < eb8d3a2c809abd73ab0a060fe971d6b9019aa3c1; 11fab500f86403b2ebf6795feeade6e10302e448; >= 5.15.35, < 5.15.113; >= 5.17.4, < 5.18; Linux 5.18.
Is there a fix for CVE-2023-54269?
Yes. Fixed in Linux 7851771789e87108a92697194105ef0c9307dc5e, Linux 5.15.113, Linux 5.18. Upgrade Linux to 5.18 or later.
How do I check if I'm affected by CVE-2023-54269?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.