Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: af_unix: read UNIX_DIAG_VFS data under unix_state_lock Exact UNIX diag lookups hold a reference to the socket, but not to u->path. Meanwhile, unix_release_sock() clears u->path under unix_state_lock() and drops the path reference after unlocking. Read the inode and device numbers for UNIX_DIAG_VFS while holding unix_state_lock(), then emit the netlink attribute after dropping the lock. This keeps the VFS data stable while the reply is being built.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before e7339db13b9ddb63417b12da55fd6191e59f7442; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before c3ec44ab4526bbc4b6c9fc845af86488244f4c9b; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before b9232421a77a649c9376c99fdfc8cb7f79cad34c; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before 0c739f3785f84af695952c2bac8be2f45082c9b8; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before 900a4e0910e98b8caef117d5df00471fa438dcf9; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before bdf206e740bf2919d818f132c8c9cc7ed91d11c0; affected 5f7b0569460b7d8d01ca776430a00505a68b7584 before 39897df386376912d561d4946499379effa1e7ef |
| Linux / Linux | affected 3.3; unaffected 0 before 3.3; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.136 through 6.6.*; unaffected 6.12.83 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/e7339db13b9ddb63417b12da55fd6191e59f7442
- https://git.kernel.org/stable/c/4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7
- https://git.kernel.org/stable/c/c3ec44ab4526bbc4b6c9fc845af86488244f4c9b
- https://git.kernel.org/stable/c/b9232421a77a649c9376c99fdfc8cb7f79cad34c
- https://git.kernel.org/stable/c/0c739f3785f84af695952c2bac8be2f45082c9b8
- https://git.kernel.org/stable/c/900a4e0910e98b8caef117d5df00471fa438dcf9
- https://git.kernel.org/stable/c/bdf206e740bf2919d818f132c8c9cc7ed91d11c0
- https://git.kernel.org/stable/c/39897df386376912d561d4946499379effa1e7ef
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.