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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | HIGH |
| Availability Impact | HIGH |
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Type: Secondary
Exploitability Score: 1.8
Impact Score: 5.9
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
NVD-CWE-noinfo
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd36971f280> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd385615e40> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd289dc75c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd385614f00> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd36971ff40> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd36971e040> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd340a90040> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd36a7178c0> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd385615280> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd36971d840> | Operating System |
| linux | linux_kernel | 7.0 | <built-in method update of dict object at 0x7fd36b435c80> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |