{"schema":"threatline.record/2","record":{"id":"CVE-2026-98524","aliases":[],"summary":"rds: ib: Clear the sg list when mapping an MR fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrds: ib: Clear the sg list when mapping an MR fails\n\nrds_ib_map_frmr() stores the caller's scatterlist in the MR before DMA\nmapping and registration can fail. On failure, __rds_rdma_map() unpins\nthe pages and frees the scatterlist, but rds_ib_free_frmr() can still\nreturn the MR to the pool with the stale pointer set.\n\nThis leaves the pool with a dangling scatterlist and can lead to local\nprivilege escalation. KASAN detects the resulting use-after-free when the\nMR is later torn down:\n\nBUG: KASAN: slab-use-after-free in __rds_ib_teardown_mr\nRead of size 8\n\nCall Trace:\n __rds_ib_teardown_mr\n rds_ib_unreg_frmr\n rds_ib_flush_mr_pool\n rds_ib_flush_mrs\n rds_free_mr\n rds_setsockopt\n\nStore the scatterlist in the MR only after DMA mapping succeeds. If DMA\nmapping fails, return directly while the MR fields remain clear; the caller\nkeeps ownership of the scatterlist and its pinned pages. If a later\nregistration step fails, unmap the scatterlist and clear the MR fields\nbefore returning.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"1be3211e6ac77adbb1eac01314d989d243b32c59","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"c42d316163f89cd23de2f3e24558177a8c29bad8","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"8dca3c81344532a7f05edb3d12f31f3009410a90","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"49ba5ed0129906e0362c2e4b5e21c89b2a41e115","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"4468df5bcdef959fd96494e9968f323561a45f4c","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"e2ee0616260080376123997488b5cf8a3870b8d9","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"b36d32f30c3f1e58e3a5ae79d0f52836a316b36e","status":"affected","versionType":"git"},{"version":"1659185fb4d0025835eb2058a141f0746c5cab00","lessThan":"58eb1b3325edac42dc6df72c80962bd53a3c8ca7","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.6","status":"affected"},{"version":"0","lessThan":"4.6","status":"unaffected","versionType":"semver"},{"version":"5.10.271","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.222","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"1be3211e6ac77adbb1eac01314d989d243b32c59","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"8dca3c81344532a7f05edb3d12f31f3009410a90","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"49ba5ed0129906e0362c2e4b5e21c89b2a41e115","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"4468df5bcdef959fd96494e9968f323561a45f4c","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","source_modified_at":"2026-10-19T09:21:06.038Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"58eb1b3325edac42dc6df72c80962bd53a3c8ca7","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.0022,"percentile":0.11804,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:17:41.420Z","modified_at":"2026-10-19T09:21:06.038Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98524","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:21:06.038Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98524","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/1be3211e6ac77adbb1eac01314d989d243b32c59"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c42d316163f89cd23de2f3e24558177a8c29bad8"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/8dca3c81344532a7f05edb3d12f31f3009410a90"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/49ba5ed0129906e0362c2e4b5e21c89b2a41e115"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/4468df5bcdef959fd96494e9968f323561a45f4c"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/e2ee0616260080376123997488b5cf8a3870b8d9"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/b36d32f30c3f1e58e3a5ae79d0f52836a316b36e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/58eb1b3325edac42dc6df72c80962bd53a3c8ca7"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:21:06.038Z","content_hash":"f654e40359cd28238c45979704c1f591766d41a5f8355fe791566fa79692688a"}}
