af_unix: read UNIX_DIAG_VFS data under unix_state_lock
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6.136, Kernel 6.18.24, Kernel 6.19.14 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.3 <6.6.136, >=6.13 <6.18.24, >=6.19 <6.19.14, >=6.7 <6.12.83, =7.0, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <39897df386376912d561d4946499379effa1e7ef, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <900a4e0910e98b8caef117d5df00471fa438dcf9, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <b9232421a77a649c9376c99fdfc8cb7f79cad34c, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <bdf206e740bf2919d818f132c8c9cc7ed91d11c0, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <c3ec44ab4526bbc4b6c9fc845af86488244f4c9b, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <e7339db13b9ddb63417b12da55fd6191e59f7442, =3.3, >=5f7b0569460b7d8d01ca776430a00505a68b7584 <0c739f3785f84af695952c2bac8be2f45082c9b8 | 6.6.136, 6.18.24, 6.19.14, 6.12.83, 39897df386376912d561d4946499379effa1e7ef, 4f6a8f10182c3a9d22e8eb183957ae7ade9e4bf7, 900a4e0910e98b8caef117d5df00471fa438dcf9, b9232421a77a649c9376c99fdfc8cb7f79cad34c, bdf206e740bf2919d818f132c8c9cc7ed91d11c0, c3ec44ab4526bbc4b6c9fc845af86488244f4c9b, e7339db13b9ddb63417b12da55fd6191e59f7442, 0c739f3785f84af695952c2bac8be2f45082c9b8 |
| linux-kernel: Kernel | >=3.3.0 <5.10.258, >=5.11.0 <5.15.209, >=5.16.0 <6.1.175, >=6.13.0 <6.18.24, >=6.19.0 <6.19.14, >=6.2.0 <6.6.136, >=6.7.0 <6.12.83 | 5.10.258, 5.15.209, 6.1.175, 6.18.24, 6.19.14, 6.6.136, 6.12.83 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket