# CVE-2021-45868: In the Linux kernel before 5.15.3, fs/quota/quotatree.c does not validate the block number in the quota tree (on disk).

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.34%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-03-18T06:22:48.000Z
- Modified: 2026-06-17T04:14:10.913Z
- Weaknesses: CWE-416
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- linux linux_kernel: before 5.15.3
- netapp h300s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp h500s_firmware: no versions given

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.kernel.org/show_bug.cgi?id=214655> (exploit, issue-tracking, vendor-advisory)
- <https://www.openwall.com/lists/oss-security/2022/03/17/2> (exploit, mailing-list, patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2022/03/17/1> (exploit, mailing-list, patch, third-party-advisory)
- <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9bf3d20331295b1ecb81f4ed9ef358c51699a050> (mailing-list, patch, vendor-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)

## Sources

- CVE List: [CVE-2021-45868](https://www.cve.org/CVERecord?id=CVE-2021-45868), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-45868](https://nvd.nist.gov/vuln/detail/CVE-2021-45868), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-45868 · Whole record: https://cve.day/CVE-2021-45868.json · Rebuilt by cve.day 2026-11-25T22:58:07.233Z
