{"schema":"threatline.record/2","record":{"id":"CVE-2026-97583","aliases":[],"summary":"afs: Clear stale peer app data after address list changes","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Clear stale peer app data after address list changes\n\nafs_fs_probe_fileserver() fetches the current endpoint state under\nserver->fs_lock, but leaves old_alist as NULL.  Consequently,\nafs_set_peer_appdata() treats every address list replacement as initial\nsetup and only binds the new peers; it never unbinds peers removed from\nthe old list.\n\nAn address refresh can therefore proceed as follows.  CPU 0 replaces\nserver S's list and drops Pold without clearing Pold->app_data.  The\nserver destroyer then clears only S's current peers and lets S reach its\nRCU callback.  After the callback frees S, CPU 1 handles a callback\nthrough an RxRPC connection that still pins Pold, reads Pold->app_data,\nand calls afs_use_server() on the freed object.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in afs_find_server+0x3c/0xa0\n  Read of size 4 at addr ffff8881013e1af0 by task krxrpcio/7001/74\n  Call Trace:\n   afs_find_server+0x3c/0xa0\n   afs_rx_new_call+0x15c/0x390\n   rxrpc_new_incoming_call+0x97c/0x1730\n   rxrpc_input_packet.constprop.0+0xd03/0xec0\n   rxrpc_io_thread+0x967/0x1640\n  Allocated by task 93:\n   afs_lookup_server+0x1a7/0x14c0\n   afs_alloc_server_list+0x43f/0xb60\n   afs_create_volume+0x923/0x1490\n   afs_get_tree+0x1c6/0x10a0\n  Freed by task 0:\n   kfree+0x131/0x3c0\n   rcu_core+0x50a/0x1850\n  Last potentially related work creation:\n   __call_rcu_common.constprop.0+0x71/0xa10\n   afs_put_server+0x213/0x2b0\n\nPreserve old->addresses for the peer app-data update so that removed\npeers are cleared before the endpoint state is replaced.  Also advance\nboth cursors when the old and new lists share a peer; activating the\nold/new comparison without this would otherwise loop forever on the\nshared entry.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97583","source_modified_at":"2026-10-19T09:09:46.971Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"39ba6af83a7f9dee3e6a7916f41a48bcbda54eba","lessThan":"3afb988fd0411707bdafb9b321086fff0da28aae","status":"affected","versionType":"git"},{"version":"40e8b52fe8c8ab6920ea5f59c5469b6918cce624","lessThan":"c7f77a11a1e719192c7262aad38a3919aec62c21","status":"affected","versionType":"git"},{"version":"40e8b52fe8c8ab6920ea5f59c5469b6918cce624","lessThan":"7f7f5589d048821dea316cbac9b37d27eaf7530e","status":"affected","versionType":"git"},{"version":"40e8b52fe8c8ab6920ea5f59c5469b6918cce624","lessThan":"ba0623fc19a424f4745394c499f9f28a8d88d397","status":"affected","versionType":"git"},{"version":"6.12.101","lessThan":"6.12.111","status":"affected","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97583","source_modified_at":"2026-10-19T09:09:46.971Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","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-97583","source_modified_at":"2026-10-19T09:09:46.971Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"3afb988fd0411707bdafb9b321086fff0da28aae","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97583","source_modified_at":"2026-10-19T09:09:46.971Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"7f7f5589d048821dea316cbac9b37d27eaf7530e","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97583","source_modified_at":"2026-10-19T09:09:46.971Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"6.12.111","basis":"first unaffected version stated in the CVE record"}],"cvss":7.5,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00408,"percentile":0.33956,"score_date":"2026-10-23"},"published_at":"2026-09-25T10:22:03.666Z","modified_at":"2026-10-19T09:09:46.971Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97583","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:09:46.971Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97583","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/3afb988fd0411707bdafb9b321086fff0da28aae"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/c7f77a11a1e719192c7262aad38a3919aec62c21"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/7f7f5589d048821dea316cbac9b37d27eaf7530e"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/ba0623fc19a424f4745394c499f9f28a8d88d397"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:09:46.971Z","content_hash":"f6057ccc009215d9415ce9ef7e1de4077e3d4e6f3a065144abc95dafc7d4c21a"}}
