{"id":"CVE-2026-89690","aliases":["CVE-2026-89690"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: defer vfree of compound ops to fix rpc_status UAF","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: defer vfree of compound ops to fix rpc_status UAF\n\nThe rpc_status netlink dumpit walks every in-flight svc_rqst under\nrcu_read_lock and, for NFSv4 requests, reads opnums out of\nargs->ops[]. But args->ops is a separate vmalloc buffer freed\nsynchronously by vfree() in nfsd4_release_compoundargs() at the end\nof every compound. The dumpit's rcu_read_lock pins the svc_rqst\nstruct itself (freed via kfree_rcu), but nothing defers the vfree\nof the ops buffer across the RCU grace period. A concurrent compound\ncompletion can therefore free the buffer while the dumpit is reading\nit — a use-after-free on vmalloc memory.\n\nThe trailing seqcount recheck (smp_load_acquire of rq_status_counter)\ncannot undo a load that already retired against freed memory.\n\nFix by replacing vfree(args->ops) with kvfree_rcu_mightsleep(), which\ndefers the free until after an RCU grace period. This makes the\nexisting rcu_read_lock in the dumpit sufficient to protect the read.\nThe tradeoff is that completed compound ops buffers (up to\n200 * sizeof(struct nfsd4_op)) persist in memory slightly longer,\nacross one grace period, before being reclaimed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: defer vfree of compound ops to fix rpc_status UAF\n\nThe rpc_status netlink dumpit walks every in-flight svc_rqst under\nrcu_read_lock and, for NFSv4 requests, reads opnums out of\nargs->ops[]. But args->ops is a separate vmalloc buffer freed\nsynchronously by vfree() in nfsd4_release_compoundargs() at the end\nof every compound. The dumpit's rcu_read_lock pins the svc_rqst\nstruct itself (freed via kfree_rcu), but nothing defers the vfree\nof the ops buffer across the RCU grace period. A concurrent compound\ncompletion can therefore free the buffer while the dumpit is reading\nit — a use-after-free on vmalloc memory.\n\nThe trailing seqcount recheck (smp_load_acquire of rq_status_counter)\ncannot undo a load that already retired against freed memory.\n\nFix by replacing vfree(args->ops) with kvfree_rcu_mightsleep(), which\ndefers the free until after an RCU grace period. This makes the\nexisting rcu_read_lock in the dumpit sufficient to protect the read.\nThe tradeoff is that completed compound ops buffers (up to\n200 * sizeof(struct nfsd4_op)) persist in memory slightly longer,\nacross one grace period, before being reclaimed.","source":"cvelist"}],"published":"2026-09-11T19:46:10.632Z","modified":"2026-10-19T09:18:07.500Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"48f72aff24f7a7329209dc6cbc27c869f3e3595c","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"6703199f4d7e7f37d6a726a849eb358e8fae72fb","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"19413ccc45070a7270b9e25c2a258daf7f91de42","status":"affected"},{"type":"git","introduced":"bd9d6a3efa9709e653aafbeb859289feccb8e70c","fixed":"fca26a3fc19ed02278aa2a150af82d43db0302cb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/48f72aff24f7a7329209dc6cbc27c869f3e3595c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6703199f4d7e7f37d6a726a849eb358e8fae72fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19413ccc45070a7270b9e25c2a258daf7f91de42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fca26a3fc19ed02278aa2a150af82d43db0302cb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89690","url":"https://www.cve.org/CVERecord?id=CVE-2026-89690","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:03.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89690","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89690","licence":"Public domain","modified":"2026-10-19T09:18:07.500Z"}],"updatedAt":"2026-11-25T22:59:38.114Z","epss":{"score":0.00163,"percentile":0.05745,"date":"2026-12-01T12:00:22.000Z"}}