data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-89497 in the interactive tracker

CVE-2026-89497

orangefs: skip leading spaces before parsing client debug masks

7.8 EPSS 0.1% AV:L

Published 2026-09-11 (37 days ago) by the Linux kernel CNA. Subsystem fs/orangefs. Debian urgency: not yet assigned.

What to do, per Debian release

Debian's own status for CVE-2026-89497 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

ReleaseStatus VersionWhat this means
Debian 12bookwormfixedDLA-4841-1 · 2026-10-17 · text6.1.190-1Update the kernel and reboot. DLA-4841-1 shipped the fix on 2026-10-17, in 6.1.190-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixedDSA-6528-1 · 2026-09-29 · text6.12.111-1Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4817-1 · 2026-10-04 · text6.12.111-1~deb12u1Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

orangefs_prepare_cdm_array() sizes each client debug keyword buffer with strcspn(cds_head, " "), but then parses the keyword with %s. The %s conversion skips leading whitespace, while strcspn() does not. If a client debug entry starts with a space, the allocation can be sized for an empty keyword while sscanf() copies the following non-empty token. This can write past the end of the allocated keyword buffer. Skip leading spaces before computing the keyword length so the allocation matches the string parsed by sscanf().

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/orangefs/orangefs-debugfs.c

What this is
ORANGEFS FILESYSTEMMAINTAINERS section matched on fs/orangefs/ · devel@lists.orangefs.org · Supported
Kernel module
orangefs

Check it on the machine

grep -w CONFIG_ORANGEFS_FS /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 orangefs

Prints 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 as a loadable module. Every release below compiles it as a module on every flavour, so whether the code is in the running kernel depends on whether that module is loaded.

  • bookworm, trixie, forky, sid, bookworm · linux-6.12m
m
a loadable module on every flavour - check lsmod, can be blacklisted
Build switch
CONFIG_ORANGEFS_FS

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-09-11 (37 days 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.13%, higher than 2.3% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
not yet assignedsource
Subsystem
fs/orangefs

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
4.65.10.270173bfd696968
4.65.15.221995f4d05589f
4.66.1.1880ef38d53bca5
4.66.6.157ce748ae1181d
4.66.12.10915d79c806231
4.66.18.50116d14f29a05
4.67.2.41774c5b3713a
4.67.3d410cd5303ec

Debian advisories

AdvisoryDateShipped toDebian
DLA-4841-12026-10-17bookworm 6.1.190-1tracker
DLA-4817-12026-10-04bookworm 6.12.111-1~deb12u1tracker
DSA-6528-12026-09-29trixie 6.12.111-1tracker

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 overflow is reached only via ioctl(ORANGEFS_DEV_CLIENT_STRING) on /dev/pvfs2-req after orangefs_devreq_open(); orangefs_debugfs_new_client_string() copy_from_user()s the client debug-mask table from that local fd into orangefs_prepare_cdm_array(). Unlike readdir trailers, this string is not supplied by an OrangeFS server over the network.
AC:LAttack complexity, low
A single CLIENT_STRING ioctl whose first newline-delimited entry begins with spaces then a long non-whitespace token deterministically makes strcspn() return 0 while sscanf("%s") copies that token; the attacker fully controls the 2048-byte buffer and needs no race, heap layout, or other state outside their control.
PR:LPrivileges required, low
orangefs_devreq_open() checks only init_user_ns, O_NONBLOCK, and exclusive open—no capability. The kernel documents mknod /dev/pvfs2-req, which is typically world-readable, and ioctl works on O_RDONLY, so an unprivileged local user can open the node when client-core is not holding it; user namespaces cannot open it, but init-ns DAC is enough.
UI:NUser interaction, none
The attacker opens /dev/pvfs2-req and issues the crafted CLIENT_STRING ioctl themselves. No victim must mount OrangeFS, start pvfs2-client-core, or otherwise interact; an already-loaded module and device node are deployment state, not user interaction.
S:UScope, unchanged
The heap overflow and any resulting kernel memory corruption or oops occur in the same kernel that services the ioctl. This is a standard local kernel compromise, not a VM/IOMMU/sandbox boundary crossing.
C:HConfidentiality impact, high
sscanf("%s") with no field width copies an attacker-chosen token (up to the 2048-byte ioctl buffer) into a kzalloc(1) keyword, a large heap overflow that can overwrite adjacent slab objects and pointers, yielding an arbitrary read primitive per CNA memory-corruption guidance.
I:HIntegrity impact, high
The same unbounded out-of-bounds write smashes heap metadata and neighboring objects with attacker-controlled bytes, which is sufficient for arbitrary write and control-flow hijack; CNA guidance rates heap buffer overflows High for integrity.
A:HAvailability impact, high
Overflowing a 1-byte slab allocation by up to ~2KB of attacker data reliably corrupts the heap and can oops/panic the kernel even without a full exploit, so availability impact is High.