Hexret
CVE-2021-0920medium 6.4PoC available

AF_UNIX MSG_PEEK garbage-collection race

A MSG_PEEK receive could duplicate SCM_RIGHTS file references without synchronizing with AF_UNIX garbage collection, allowing GC to free a message buffer that the peeking receiver still used.

Product
Android kernel and Linux AF_UNIX socket garbage collection
Vendor
Google and Linux kernel
Affected
Android kernels containing the vulnerable AF_UNIX SCM_RIGHTS code; upstream Linux through 5.13 and 5.14-rc1 through 5.14-rc3
Fixed in
Android November 2021 security update and upstream fixes that serialize MSG_PEEK file duplication with unix_gc_lock
Weakness
CWE-416
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
15 Dec 2021

Practice this CVE, free

Classified as

References

Related CVEs