# CVE-2021-3506: An out-of-bounds (OOB) memory access flaw was found in fs/f2fs/node.c in the f2fs module in the Linux kernel in versions before 5.12.0-rc4.

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2021-04-19T21:11:52.000Z
- Modified: 2026-09-01T18:04:20.630Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

An out-of-bounds (OOB) memory access flaw was found in fs/f2fs/node.c in the f2fs module in the Linux kernel in versions before 5.12.0-rc4. A bounds check failure allows a local attacker to gain access to out-of-bounds memory leading to a system crash or a leak of internal kernel information. The highest threat from this vulnerability is to system availability.

(As written by CVE List.)

## Affected

- kernel: kernel 5.12.0-rc4
- linux linux_kernel: before 4.19.191; from 4.20 before 5.4.118; from 5.5 before 5.10.36; from 5.11 before 5.11.20; from 5.12 before 5.12.3; 5.12
- debian debian_linux: 9.0
- netapp cloud_backup: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_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

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:2.0 5.6 Medium `AV:L/AC:L/Au:N/C:P/I:N/A:C`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1944298> (issue-tracking, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2021/03/28/2> (mailing-list, patch, third-party-advisory)
- <https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg2520013.html> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/05/08/1> (mailing-list, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210611-0007/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html> (mailing-list, third-party-advisory)

## Sources

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

---

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