GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel SUNRPC: double free of xprt_ctxt when a request is deferred twice

CVSS 9.8CVE-2023-54269Kernel, userspace & hypervisorcurated

Impact

svc_defer() failed to clear rq_xprt_ctxt when reusing an existing svc_deferred_req, so a request deferred a second time could have its transport context freed twice - freed outright on UDP, returned to a free list on RDMA - and then referenced again when the deferral is revisited. The practical effect is a kernel oops, and on RDMA a context handed back out while still in use. This is server-side NFS/SUNRPC, so it matters on nodes exporting NFS, including NFS-over-RDMA exports in front of GPU training jobs, where a crash drops the share for every client at once. The commit message itself calls the double-deferral path rare.

Who can reach it

Reachable by NFS clients of an affected server: a client whose requests get deferred twice under load. Exposure is bounded by who can mount or reach the RPC service, not by credentials on the server.

What to do

Patch to a stable kernel containing the svc_defer() fix (commits listed in the record) and reboot the exporting node; failing over or draining NFS clients first avoids an abrupt outage. No configuration workaround is documented; restricting NFS exports to the storage VLAN limits who can reach the service.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.