CVE-2023-52436
published high CVSS 3.1 · 7.8f2fs: explicitly null-terminate the xattr list
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaf48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 16ae3132ff7746894894927c1892493693b89135 · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 12cf91e23b126718a96b914f949f2cdfeadc7b2a · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 3e47740091b05ac8d7836a33afd8646b6863ca52 · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 32a6cfc67675ee96fe107aeed5af9776fec63f11 · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 5de9e9dd1828db9b8b962f7ca42548bd596deb8a · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 2525d1ba225b5c167162fa344013c408e8b4de36 · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < f6c30bfe5a49bc38cae985083a11016800708fea · af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < e26b6d39270f5eab0087453d9b544189a38c8564 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 4.19.306 through 4.19.* (unaffected · semver) · 5.4.268 through 5.4.* (unaffected · semver) · 5.10.209 through 5.10.* (unaffected · semver) · 5.15.148 through 5.15.* (unaffected · semver) · 6.1.74 through 6.1.* (unaffected · semver) · 6.6.13 through 6.6.* (unaffected · semver) · 6.7.1 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | linux | Advisory build | 4.19.316-1 | DLA-3840-1 |
| Ubuntu | bionic | block-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.209-2~deb10u1 | DLA-3841-1 |
| Ubuntu | bionic | block-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | crypto-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | crypto-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | dasd-extra-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | dasd-extra-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | dasd-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | dasd-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | fat-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | fat-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | fb-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | fb-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | firewire-core-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | firewire-core-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | floppy-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | floppy-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | fs-core-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | fs-core-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | fs-secondary-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | fs-secondary-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | input-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | input-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | ipmi-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | ipmi-modules-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | irda-modules-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | kernel-image-4.15.0-227-generic-di | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | kernel-image-5.4.0-175-generic-di | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-aws | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-aws-5.4 | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-aws-5.4-cloud-tools-5.4.0-1122 | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-aws-5.4-headers-5.4.0-1122 | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-aws-5.4-tools-5.4.0-1122 | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-aws-cloud-tools-4.15.0-1170 | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-aws-headers-4.15.0-1170 | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-aws-tools-4.15.0-1170 | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-azure-4.15 | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-azure-4.15-cloud-tools-4.15.0-1179 | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-azure-4.15-headers-4.15.0-1179 | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-azure-4.15-tools-4.15.0-1179 | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-azure-5.4 | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-azure-5.4-cloud-tools-5.4.0-1127 | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-azure-5.4-headers-5.4.0-1127 | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-azure-5.4-tools-5.4.0-1127 | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1133-oracle | Advisory build | 4.15.0-1133.144 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1154-kvm | Advisory build | 4.15.0-1154.159 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1164-gcp | Advisory build | 4.15.0-1164.181 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1170-aws | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-1179-azure | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-227-generic | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-4.15.0-227-lowlatency | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1069-ibm | Advisory build | 5.4.0-1069.74~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1106-raspi | Advisory build | 5.4.0-1106.118~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1121-oracle | Advisory build | 5.4.0-1121.130~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1122-aws | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1126-gcp | Advisory build | 5.4.0-1126.135~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-1127-azure | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-175-generic | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-buildinfo-5.4.0-175-lowlatency | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1170-aws | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-1179-azure | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-227 | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-227-generic | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-cloud-tools-4.15.0-227-lowlatency | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-1122-aws | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-1127-azure | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-175-generic | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-cloud-tools-5.4.0-175-lowlatency | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-cloud-tools-common | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-gcp-4.15 | Advisory build | 4.15.0-1164.181 | USN-6926-1 |
| Ubuntu | bionic | linux-gcp-4.15-headers-4.15.0-1164 | Advisory build | 4.15.0-1164.181 | USN-6926-1 |
| Ubuntu | bionic | linux-gcp-4.15-tools-4.15.0-1164 | Advisory build | 4.15.0-1164.181 | USN-6926-1 |
| Ubuntu | bionic | linux-gcp-5.4 | Advisory build | 5.4.0-1126.135~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-gcp-5.4-headers-5.4.0-1126 | Advisory build | 5.4.0-1126.135~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-gcp-5.4-tools-5.4.0-1126 | Advisory build | 5.4.0-1126.135~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1133-oracle | Advisory build | 4.15.0-1133.144 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1154-kvm | Advisory build | 4.15.0-1154.159 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1164-gcp | Advisory build | 4.15.0-1164.181 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1170-aws | Advisory build | 4.15.0-1170.183 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-1179-azure | Advisory build | 4.15.0-1179.194 | USN-6926-2 |
| Ubuntu | bionic | linux-headers-4.15.0-227 | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-227-generic | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-4.15.0-227-lowlatency | Advisory build | 4.15.0-227.239 | USN-6926-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1069-ibm | Advisory build | 5.4.0-1069.74~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1106-raspi | Advisory build | 5.4.0-1106.118~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1121-oracle | Advisory build | 5.4.0-1121.130~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1122-aws | Advisory build | 5.4.0-1122.132~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1126-gcp | Advisory build | 5.4.0-1126.135~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-1127-azure | Advisory build | 5.4.0-1127.134~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-175-generic | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-headers-5.4.0-175-lowlatency | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4 | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-cloud-tools-5.4.0-175 | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-cloud-tools-common | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-headers-5.4.0-175 | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-source-5.4.0 | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-tools-5.4.0-175 | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
| Ubuntu | bionic | linux-hwe-5.4-tools-common | Advisory build | 5.4.0-175.195~18.04.1 | USN-6726-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: explicitly null-terminate the xattr list When setting an xattr, explicitly null-terminate the xattr list. This eliminates the fragile assumption that the unused xattr space is always zeroed.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached via local setxattr/lsetxattr/fsetxattr (or setfacl→ACL xattrs) into f2fs_setxattr/__f2fs_setxattr; it is not reachable from the network stack or remote filesystem servers. AC:L - An attacker who can write xattrs on an f2fs inode can reliably invoke the buggy set path; exploitation does not depend on a race or other condition outside the attacker’s influence once residual non-zero unused xattr bytes exist (common on flash/corrupt or previously dirty xattr regions). PR:L - user.* xattrs are enabled by default and only require an unprivileged caller with MAY_WRITE on their own file/dir (typical Android app on f2fs userdata); CAP_SYS_ADMIN is not required. UI:N - On a system where f2fs is already mounted (e.g., Android /data), the attacker triggers the bug directly via syscalls with no victim action such as mounting a malicious image. S:U - Impact stays within the host kernel’s authority (local memory corruption / privilege boundary of the same OS); this is not a VM, IOMMU, or other cross-authority escape. C:H - An unterminated xattr list causes out-of-bounds reads while walking entries (historically KASAN slab-OOB in getxattr and leakage via listxattr), which can disclose arbitrary kernel memory when bounds checks are absent or bypassed. I:H - Out-of-bounds parsing of attacker-influenced leftover xattr bytes can corrupt adjacent kernel memory and is treated as enabling write/control-flow impact under the overestimate-severity rule for memory-corruption bugs. A:H - The same OOB walks have caused kernel page faults/oopses and hard failures in related f2fs xattr corruption bugs, so availability impact is a full kernel crash.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 16ae3132ff7746894894927c1892493693b89135 (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 12cf91e23b126718a96b914f949f2cdfeadc7b2a (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 3e47740091b05ac8d7836a33afd8646b6863ca52 (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 32a6cfc67675ee96fe107aeed5af9776fec63f11 (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 5de9e9dd1828db9b8b962f7ca42548bd596deb8a (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < 2525d1ba225b5c167162fa344013c408e8b4de36 (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < f6c30bfe5a49bc38cae985083a11016800708fea (affected · git)af48b85b8cd3fbb12c9b6759c16db6d69c0b03da to < e26b6d39270f5eab0087453d9b544189a38c8564 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)4.19.306 through 4.19.* (unaffected · semver)5.4.268 through 5.4.* (unaffected · semver)5.10.209 through 5.10.* (unaffected · semver)5.15.148 through 5.15.* (unaffected · semver)6.1.74 through 6.1.* (unaffected · semver)6.6.13 through 6.6.* (unaffected · semver)6.7.1 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
10- https://git.kernel.org/stable/c/12cf91e23b126718a96b914f949f2cdfeadc7b2a
- https://git.kernel.org/stable/c/16ae3132ff7746894894927c1892493693b89135
- https://git.kernel.org/stable/c/2525d1ba225b5c167162fa344013c408e8b4de36
- https://git.kernel.org/stable/c/32a6cfc67675ee96fe107aeed5af9776fec63f11
- https://git.kernel.org/stable/c/3e47740091b05ac8d7836a33afd8646b6863ca52
- https://git.kernel.org/stable/c/5de9e9dd1828db9b8b962f7ca42548bd596deb8a
- https://git.kernel.org/stable/c/e26b6d39270f5eab0087453d9b544189a38c8564
- https://git.kernel.org/stable/c/f6c30bfe5a49bc38cae985083a11016800708fea
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Provider assertions
3Linux · cna
f2fs: explicitly null-terminate the xattr list
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d86d433f29686178c0c410016c628551c1927e239bdf2c5bfd8824804ff5ab5
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record