Related Vulnerabilities: CVE-2021-45868  

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.

Description

The MITRE CVE dictionary describes this issue as:

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.

Additional Information

  • Bugzilla 2065662: CVE-2021-45868 kernel: fs/quota/quota_tree.c does not validate the block number in the quota tree
  • CWE-20: Improper Input Validation
  • FAQ: Frequently asked questions about CVE-2021-45868