af_unix: Unlink scc_entry in unix_del_edge().
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4090fa373f0e763c43610853d2774b5979915959 · < 594d905195024b228c962627ae5ae7c17bd582a4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
af_unix: Unlink scc_entry in unix_del_edge().
Kyle Zeng reported that GC could free a dead SCC partially.
The scenario is as follows:
1) Create two SCCs:
X -. A <-> B ^--'
2) Run the following concurrently:
2-1) send() sk-B to sk-B from sk-X 2-2) close() both A and B
From the CVE record · Linux
The Linux kernel's af_unix garbage collector can partially free a dead socket component while retaining a reference to it. A local attacker who can trigger concurrent socket send and close operations may cause a later garbage-collection pass to iterate over the freed vertex; no other user interaction is described.
Engineers running the Linux kernel should check whether their version includes the af_unix fix; affected versions were not specified.