{"id":"CVE-2026-31673","published":"2026-04-25T08:46:49Z","modified":"2026-10-19T18:56:03Z","title":"af_unix: read UNIX_DIAG_VFS data under unix_state_lock","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: read UNIX_DIAG_VFS data under unix_state_lock\n\nExact UNIX diag lookups hold a reference to the socket, but not to\nu->path. Meanwhile, unix_release_sock() clears u->path under\nunix_state_lock() and drops the path reference after unlocking.\n\nRead the inode and device numbers for UNIX_DIAG_VFS while holding\nunix_state_lock(), then emit the netlink attribute after dropping the\nlock.\n\nThis keeps the VFS data stable while the reply is being built.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00147,"percentile":0.02005,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://git.kernel.org/stable/c/e7339db13b9ddb63417b12da55fd6191e59f7442","tags":[]},{"url":"https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7","tags":[]},{"url":"https://git.kernel.org/stable/c/c3ec44ab4526bbc4b6c9fc845af86488244f4c9b","tags":[]},{"url":"https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c","tags":[]},{"url":"https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8","tags":[]},{"url":"https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9","tags":[]},{"url":"https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0","tags":[]},{"url":"https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":0.4},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < e7339db13b9ddb63417b12da55fd6191e59f7442",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < c3ec44ab4526bbc4b6c9fc845af86488244f4c9b",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < b9232421a77a649c9376c99fdfc8cb7f79cad34c",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < 0c739f3785f84af695952c2bac8be2f45082c9b8",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < 900a4e0910e98b8caef117d5df00471fa438dcf9",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < bdf206e740bf2919d818f132c8c9cc7ed91d11c0",">= 5f7b0569460b7d8d01ca776430a00505a68b7584, < 39897df386376912d561d4946499379effa1e7ef"]},{"vendor":"Linux","product":"Linux","versions":["3.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:12:05.532062Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25640","exploited":false,"provenance":"source"}}