Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2021-45868

Description

In the Linux kernel before 5.15.3, fs/quota/quota_tree.c does not validate the block number in the quota tree (on disk). This can, for example, lead to a kernel/locking/rwsem.c use-after-free if there is a corrupted quota file.

POC

Reference

- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.3

- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9bf3d20331295b1ecb81f4ed9ef358c51699a050

- https://www.openwall.com/lists/oss-security/2022/03/17/1

- https://www.openwall.com/lists/oss-security/2022/03/17/2

Github

- https://github.com/ARPSyndicate/cvemon