{"api_version":"1","generated_at":"2026-04-25T13:02:05+00:00","cve":"CVE-2026-31673","urls":{"html":"https://cve.report/CVE-2026-31673","api":"https://cve.report/api/cve/CVE-2026-31673.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31673","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31673"},"summary":{"title":"af_unix: read UNIX_DIAG_VFS data under unix_state_lock","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-25 09:16:00","updated_at":"2026-04-25 09:16:00"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9","name":"https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8","name":"https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef","name":"https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0","name":"https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31673","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31673","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5f7b0569460b7d8d01ca776430a00505a68b7584 0c739f3785f84af695952c2bac8be2f45082c9b8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5f7b0569460b7d8d01ca776430a00505a68b7584 900a4e0910e98b8caef117d5df00471fa438dcf9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5f7b0569460b7d8d01ca776430a00505a68b7584 bdf206e740bf2919d818f132c8c9cc7ed91d11c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5f7b0569460b7d8d01ca776430a00505a68b7584 39897df386376912d561d4946499379effa1e7ef git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.3","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.3 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.83 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.24 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.14 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/unix/diag.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0c739f3785f84af695952c2bac8be2f45082c9b8","status":"affected","version":"5f7b0569460b7d8d01ca776430a00505a68b7584","versionType":"git"},{"lessThan":"900a4e0910e98b8caef117d5df00471fa438dcf9","status":"affected","version":"5f7b0569460b7d8d01ca776430a00505a68b7584","versionType":"git"},{"lessThan":"bdf206e740bf2919d818f132c8c9cc7ed91d11c0","status":"affected","version":"5f7b0569460b7d8d01ca776430a00505a68b7584","versionType":"git"},{"lessThan":"39897df386376912d561d4946499379effa1e7ef","status":"affected","version":"5f7b0569460b7d8d01ca776430a00505a68b7584","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/unix/diag.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.3"},{"lessThan":"3.3","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.83","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.24","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.14","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.83","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.24","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.14","versionStartIncluding":"3.3","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"3.3","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-04-25T08:46:49.246Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8"},{"url":"https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9"},{"url":"https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0"},{"url":"https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef"}],"title":"af_unix: read UNIX_DIAG_VFS data under unix_state_lock","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31673","datePublished":"2026-04-25T08:46:49.246Z","dateReserved":"2026-03-09T15:48:24.130Z","dateUpdated":"2026-04-25T08:46:49.246Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-25 09:16:00","lastModifiedDate":"2026-04-25 09:16:00","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31673","Ordinal":"1","Title":"af_unix: read UNIX_DIAG_VFS data under unix_state_lock","CVE":"CVE-2026-31673","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31673","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"af_unix: read UNIX_DIAG_VFS data under unix_state_lock"}]}}}