{"api_version":"1","generated_at":"2026-10-01T11:10:44+00:00","cve":"CVE-2026-89798","urls":{"html":"https://cve.report/CVE-2026-89798","api":"https://cve.report/api/cve/CVE-2026-89798.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89798","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89798"},"summary":{"title":"rpcrdma: arm rn_done before publishing the notification","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpcrdma: arm rn_done before publishing the notification\n\nrpcrdma_rn_register() inserts @rn into rd_xa with xa_alloc() before\nstoring the caller's callback in rn->rn_done. The xarray makes @rn\nreachable to rpcrdma_remove_one(), which walks rd_xa and invokes\nrn->rn_done(rn) for every registered notification. A device removal\nthat races a fresh registration can therefore observe @rn with\nrn_done still NULL, because the notification objects are zero\nallocated by their owners, and call through a NULL function pointer.\n\nStore rn->rn_done before xa_alloc() publishes @rn. The xarray's\nstore-side and load-side ordering then guarantees that any CPU which\nfinds @rn in rd_xa also observes the armed callback.\n\nrpcrdma_rn_unregister() treats a non-NULL rn_done as the sentinel\nfor a completed registration, so the early store must not survive a\nfailed registration. Clear rn_done again when xa_alloc() fails.\nWere it left set, the failed-accept cleanup path would call\nrpcrdma_rn_unregister() on an @rn that was never inserted, erasing\nan unrelated rd_xa slot and underflowing rd_kref.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-16 11:16:44","updated_at":"2026-09-21 14:17:26"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ea0408273ccf5df1fb52d9a1b9db4d31600dcb36","name":"https://git.kernel.org/stable/c/ea0408273ccf5df1fb52d9a1b9db4d31600dcb36","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5b06f706374c37375bdff9d21cc10e61df925a92","name":"https://git.kernel.org/stable/c/5b06f706374c37375bdff9d21cc10e61df925a92","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f9fe3cad43c42d874a388583552b39b411d886eb","name":"https://git.kernel.org/stable/c/f9fe3cad43c42d874a388583552b39b411d886eb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3c97b8e76ca2bba9e8770571413aed694068e78e","name":"https://git.kernel.org/stable/c/3c97b8e76ca2bba9e8770571413aed694068e78e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89798","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89798","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7e86845a0346efc95fddaa97ce5cd6a8bda8c71c f9fe3cad43c42d874a388583552b39b411d886eb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7e86845a0346efc95fddaa97ce5cd6a8bda8c71c 3c97b8e76ca2bba9e8770571413aed694068e78e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7e86845a0346efc95fddaa97ce5cd6a8bda8c71c ea0408273ccf5df1fb52d9a1b9db4d31600dcb36 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7e86845a0346efc95fddaa97ce5cd6a8bda8c71c 5b06f706374c37375bdff9d21cc10e61df925a92 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.111 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.51 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.5 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"89798","cve":"CVE-2026-89798","epss":"0.002000000","percentile":"0.101220000","score_date":"2026-09-22","updated_at":"2026-09-23 00:06:34"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sunrpc/xprtrdma/ib_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f9fe3cad43c42d874a388583552b39b411d886eb","status":"affected","version":"7e86845a0346efc95fddaa97ce5cd6a8bda8c71c","versionType":"git"},{"lessThan":"3c97b8e76ca2bba9e8770571413aed694068e78e","status":"affected","version":"7e86845a0346efc95fddaa97ce5cd6a8bda8c71c","versionType":"git"},{"lessThan":"ea0408273ccf5df1fb52d9a1b9db4d31600dcb36","status":"affected","version":"7e86845a0346efc95fddaa97ce5cd6a8bda8c71c","versionType":"git"},{"lessThan":"5b06f706374c37375bdff9d21cc10e61df925a92","status":"affected","version":"7e86845a0346efc95fddaa97ce5cd6a8bda8c71c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sunrpc/xprtrdma/ib_client.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.11"},{"lessThan":"6.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.111","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.51","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.111","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.51","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.5","versionStartIncluding":"6.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"6.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpcrdma: arm rn_done before publishing the notification\n\nrpcrdma_rn_register() inserts @rn into rd_xa with xa_alloc() before\nstoring the caller's callback in rn->rn_done. The xarray makes @rn\nreachable to rpcrdma_remove_one(), which walks rd_xa and invokes\nrn->rn_done(rn) for every registered notification. A device removal\nthat races a fresh registration can therefore observe @rn with\nrn_done still NULL, because the notification objects are zero\nallocated by their owners, and call through a NULL function pointer.\n\nStore rn->rn_done before xa_alloc() publishes @rn. The xarray's\nstore-side and load-side ordering then guarantees that any CPU which\nfinds @rn in rd_xa also observes the armed callback.\n\nrpcrdma_rn_unregister() treats a non-NULL rn_done as the sentinel\nfor a completed registration, so the early store must not survive a\nfailed registration. Clear rn_done again when xa_alloc() fails.\nWere it left set, the failed-accept cleanup path would call\nrpcrdma_rn_unregister() on an @rn that was never inserted, erasing\nan unrelated rd_xa slot and underflowing rd_kref."}],"providerMetadata":{"dateUpdated":"2026-09-21T13:15:03.259Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f9fe3cad43c42d874a388583552b39b411d886eb"},{"url":"https://git.kernel.org/stable/c/3c97b8e76ca2bba9e8770571413aed694068e78e"},{"url":"https://git.kernel.org/stable/c/ea0408273ccf5df1fb52d9a1b9db4d31600dcb36"},{"url":"https://git.kernel.org/stable/c/5b06f706374c37375bdff9d21cc10e61df925a92"}],"title":"rpcrdma: arm rn_done before publishing the notification","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89798","datePublished":"2026-09-16T10:30:29.930Z","dateReserved":"2026-09-11T19:38:34.767Z","dateUpdated":"2026-09-21T13:15:03.259Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-16 11:16:44","lastModifiedDate":"2026-09-21 14:17:26","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89798","Ordinal":"1","Title":"rpcrdma: arm rn_done before publishing the notification","CVE":"CVE-2026-89798","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89798","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nrpcrdma: arm rn_done before publishing the notification\n\nrpcrdma_rn_register() inserts @rn into rd_xa with xa_alloc() before\nstoring the caller's callback in rn->rn_done. The xarray makes @rn\nreachable to rpcrdma_remove_one(), which walks rd_xa and invokes\nrn->rn_done(rn) for every registered notification. A device removal\nthat races a fresh registration can therefore observe @rn with\nrn_done still NULL, because the notification objects are zero\nallocated by their owners, and call through a NULL function pointer.\n\nStore rn->rn_done before xa_alloc() publishes @rn. The xarray's\nstore-side and load-side ordering then guarantees that any CPU which\nfinds @rn in rd_xa also observes the armed callback.\n\nrpcrdma_rn_unregister() treats a non-NULL rn_done as the sentinel\nfor a completed registration, so the early store must not survive a\nfailed registration. Clear rn_done again when xa_alloc() fails.\nWere it left set, the failed-accept cleanup path would call\nrpcrdma_rn_unregister() on an @rn that was never inserted, erasing\nan unrelated rd_xa slot and underflowing rd_kref.","Type":"Description","Title":"rpcrdma: arm rn_done before publishing the notification"}]}}}