---
id: CVE-2021-3506
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
  - CWE-125
vendor: netapp
product: cloud_backup
affected:
  - linux_kernel < 4.19.191
  - 'linux_kernel >= 4.20, < 5.4.118'
  - 'linux_kernel >= 5.5, < 5.10.36'
  - 'linux_kernel >= 5.11, < 5.11.20'
  - 'linux_kernel >= 5.12, < 5.12.3'
  - linux_kernel = 5.12
  - debian_linux = 9.0
  - cloud_backup
  - solidfire_baseboard_management_controller_firmware
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h300e_firmware
  - h500e_firmware
  - h700e_firmware
  - h410s_firmware
  - h410c_firmware
patched:
  - linux_kernel 5.12.3
published: '2021-04-19'
updated: '2026-09-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-3506'
references:
  - url: 'http://www.openwall.com/lists/oss-security/2021/05/08/1'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1944298'
    label: secalert@redhat.com
  - url: 'https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html'
    label: secalert@redhat.com
  - url: 'https://security.netapp.com/advisory/ntap-20210611-0007/'
    label: secalert@redhat.com
  - url: >-
      https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg2520013.html
    label: secalert@redhat.com
  - url: 'https://www.openwall.com/lists/oss-security/2021/03/28/2'
    label: secalert@redhat.com
  - url: 'http://www.openwall.com/lists/oss-security/2021/05/08/1'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=1944298'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2021/06/msg00019.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20210611-0007/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg2520013.html
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.openwall.com/lists/oss-security/2021/03/28/2'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00366
epssPercentile: 0.27808
ingestedAt: '2026-09-01T18:30:36.359Z'
---

## Overview

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.

## Affected

- `linux_kernel < 4.19.191`
- `linux_kernel >= 4.20, < 5.4.118`
- `linux_kernel >= 5.5, < 5.10.36`
- `linux_kernel >= 5.11, < 5.11.20`
- `linux_kernel >= 5.12, < 5.12.3`
- `linux_kernel = 5.12`
- `debian_linux = 9.0`
- `cloud_backup`
- `solidfire_baseboard_management_controller_firmware`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h300e_firmware`
- `h500e_firmware`
- `h700e_firmware`
- `h410s_firmware`
- `h410c_firmware`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.12.3`
