Look up another CVE · open CVE-2026-80591 in the interactive tracker
CVE-2026-80591
f2fs: fix listxattr handling of corrupted xattr entries
Published 2026-08-28 (2 months ago) by the Linux kernel CNA. Subsystem fs/f2fs. Debian urgency: not yet assigned.
What to do, per Debian release
Debian's own status for CVE-2026-80591 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | fixed | 6.1.180-1 | Update the kernel and reboot. Fixed in 6.1.180-1. A running kernel keeps the old code until the machine restarts. |
| Debian 13trixie | fixed | 6.12.96-1 | Update the kernel and reboot. Fixed in 6.12.96-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 7.1.5-1 | Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.1.5-1 | Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
Validate the xattr entry before reading its fields in f2fs_listxattr(). Return -EFSCORRUPTED when the entry is outside the valid xattr storage area instead of returning a successful partial result.
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
fs/f2fs/xattr.c
- What this is
- F2FS FILE SYSTEMMAINTAINERS section matched on fs/f2fs/ · linux-f2fs-devel@lists.sourceforge.net · Maintained
- Kernel module
- f2fs
Check it on the machine
grep -wE 'CONFIG_F2FS_FS|CONFIG_F2FS_FS_XATTR' /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
lsmod | grep -w f2fsPrints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed.
- bookworm, trixie, forky, sidMnot built on amd64/cloud-amd64, arm64/cloud-arm64
- M
- a module where it is built at all; some flavours do not build it
- Build switches
- CONFIG_F2FS_FS, CONFIG_F2FS_FS_XATTR
- Reads as
- all on means the file is compiled; any one off means it is not.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2026-08-28 (2 months ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.18%, higher than 6.7% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- fs/f2fs
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 5.5 | 5.10.261 | 7dfac47e4189 |
| 5.5 | 5.15.212 | c8a10f174316 |
| 5.5 | 6.1.178 | dfa4891c27bc |
| 5.5 | 6.6.145 | 2770041f34b5 |
| 5.5 | 6.12.96 | 7dd01f7d0291 |
| 5.5 | 6.18.39 | ec9f79c8d5b2 |
| 5.5 | 7.1.5 | 3c0dbfecd859 |
| 5.5 | 7.2 | 5ef5bc304f23 |
| 4.14.181 | 0 | 0 |
| 4.19.119 | 0 | 0 |
| 5.4.36 | 0 | 0 |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- The flaw is reached via local listxattr/flistxattr/listxattrat syscalls through vfs_listxattr into f2fs_listxattr; f2fs is a local block filesystem (Android userdata, embedded flash) and although nfsd/ksmbd can call vfs_listxattr this is a secondary path requiring pre-existing on-disk corruption.
- AC:LAttack complexity, low
- Once a crafted f2fs image with corrupted xattr entry sizes is mounted, the attacker deterministically controls the on-disk layout that makes list_for_each_xattr iterate past last_base_addr; no race, special memory layout, or rare kernel config is required beyond standard CONFIG_F2FS_FS_XATTR.
- PR:LPrivileges required, low
- Planting malformed on-disk xattr metadata requires offline image crafting plus CAP_SYS_ADMIN to loop-mount (obtainable in an unprivileged user namespace) or root for raw block writes; triggering listxattr only needs normal file access on the attacker-controlled mount with no capability checks beyond LSM hooks on the syscall path.
- UI:NUser interaction, none
- In the highest-impact self-contained attack the attacker crafts a malicious f2fs image and mounts it inside their own user namespace, then calls listxattr on their own inode with no victim action such as opening a file or inserting removable media required.
- S:UScope, unchanged
- The out-of-bounds read corrupts or leaks kernel heap memory within the same kernel security domain; this is a standard local kernel memory-safety flaw, not a VM escape, container breakout, or IOMMU boundary bypass.
- C:HConfidentiality impact, high
- Before bounds validation f2fs_listxattr reads entry->e_name_index and XATTR_NEXT_ENTRY() fields from xattr entries outside the valid storage area, causing slab out-of-bounds reads of adjacent kernel heap objects that can disclose kernel pointers and sensitive kernel data.
- I:HIntegrity impact, high
- Although the immediate fault is a read past bounds rather than a write, this is kernel heap memory corruption class behavior; adjacent-slab reads are routinely chained into further kernel exploitation via heap grooming for arbitrary write and code execution, so I:H applies when uncertain.
- A:HAvailability impact, high
- Reading xattr entry fields beyond the kmalloc-allocated buffer can fault the kernel with a slab out-of-bounds access or oops under KASAN/hardening; f2fs_handle_error may log corruption but does not prevent the out-of-bounds read from destabilizing the system on each listxattr invocation.