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.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://bugzilla.kernel.org/show_bug.cgi?id=214655 | issue tracking exploit vendor advisory |
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9bf3d20331295b1ecb81f4ed9ef358c51699a050 | mailing list patch vendor advisory |
https://www.openwall.com/lists/oss-security/2022/03/17/2 | mailing list patch exploit third party advisory |
https://www.openwall.com/lists/oss-security/2022/03/17/1 | mailing list patch exploit third party advisory |
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.3 | mailing list release notes vendor advisory |
https://security.netapp.com/advisory/ntap-20220419-0003/ | third party advisory |