---
id: CVE-2023-52436
title: |-
  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
summary: |-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.306
  - 'linux_kernel >= 4.20.0, < 5.4.268'
  - 'linux_kernel >= 5.5.0, < 5.10.209'
  - 'linux_kernel >= 5.11.0, < 5.15.148'
  - 'linux_kernel >= 5.16.0, < 6.1.74'
  - 'linux_kernel >= 6.2.0, < 6.6.13'
  - 'linux_kernel >= 6.7.0, < 6.7.1'
patched:
  - linux_kernel 6.7.1
published: '2024-02-20'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-52436'
references:
  - url: 'https://git.kernel.org/stable/c/12cf91e23b126718a96b914f949f2cdfeadc7b2a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/16ae3132ff7746894894927c1892493693b89135'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2525d1ba225b5c167162fa344013c408e8b4de36'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/32a6cfc67675ee96fe107aeed5af9776fec63f11'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3e47740091b05ac8d7836a33afd8646b6863ca52'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5de9e9dd1828db9b8b962f7ca42548bd596deb8a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e26b6d39270f5eab0087453d9b544189a38c8564'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f6c30bfe5a49bc38cae985083a11016800708fea'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/12cf91e23b126718a96b914f949f2cdfeadc7b2a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/16ae3132ff7746894894927c1892493693b89135'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/2525d1ba225b5c167162fa344013c408e8b4de36'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/32a6cfc67675ee96fe107aeed5af9776fec63f11'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3e47740091b05ac8d7836a33afd8646b6863ca52'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/5de9e9dd1828db9b8b962f7ca42548bd596deb8a'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/e26b6d39270f5eab0087453d9b544189a38c8564'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/f6c30bfe5a49bc38cae985083a11016800708fea'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00302
epssPercentile: 0.205
ingestedAt: '2026-08-04T10:39:37.278Z'
---

## Overview

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.

## Affected

- `linux_kernel < 4.19.306`
- `linux_kernel >= 4.20.0, < 5.4.268`
- `linux_kernel >= 5.5.0, < 5.10.209`
- `linux_kernel >= 5.11.0, < 5.15.148`
- `linux_kernel >= 5.16.0, < 6.1.74`
- `linux_kernel >= 6.2.0, < 6.6.13`
- `linux_kernel >= 6.7.0, < 6.7.1`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.7.1`
