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.
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.3
https://www.openwall.com/lists/oss-security/2022/03/17/2
https://www.openwall.com/lists/oss-security/2022/03/17/1
Source: MITRE
Published: 2022-03-18
Updated: 2023-02-04
Type: CWE-416
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 1.8
Severity: MEDIUM