Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-90042

ceph: properly decrypt filenames in vmalloc() buffers
Back to all
CVE

CVE-2026-90042

ceph: properly decrypt filenames in vmalloc() buffers

In the Linux kernel, the following vulnerability has been resolved:

ceph: properly decrypt filenames in vmalloc() buffers

The fscrypt subsystem uses the scatterlist crypto API, inheriting its

requirement that any buffers are in the linear mapping region. However,

the messenger client uses kvmalloc() to create buffers for messages,

which will occasionally place those buffers in the vmalloc() region when

physical memory fragmentation doesn't permit a large enough kmalloc().

The various callers of cephfnameto_usr() directly pass (slices of) raw

messages from the MDS without considering that the messages may be in

vmalloc() buffers, resulting in oopses especially on non-x86 platforms

(see 'Closes:' for more details and a reproducer).

Make cephfnameto_usr() explicitly tolerant of vmalloc()-allocated

fname->ctext, fname->name, and/or oname->name buffers, using tname

(which, when non-null, must be a linear address; when null, is briefly

allocated as necessary) as a bounce buffer to avoid passing any

inappropriate addresses to fscryptfnamedisktousr().

Additionally change parsereplyinfo_readdir() -- the only function to

supply its own tname -- to follow the new "tname must never come from

vmalloc()" rule by passing NULL when the message is not in the linear

region. Though this causes a per-dentry kmalloc()+kfree(), this overhead

exists only when processing the minority of messages that spill into

vmalloc(). My (crude) testing puts this at only about 1 in 8,000 readdir

messages. Still, if the overhead proves unreasonable in the future, it

is easy enough to mitigate: a future change could allocate a bounce

buffer in parsereplyinfo_readdir() and use that as tname instead.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/110747ff535e3d98ac17d68dbd056bb6ef000e23, https://git.kernel.org/stable/c/3b467c68803d7c7e82678289e598afd44faa6101, https://git.kernel.org/stable/c/93729594af506557a86f8b603be7ac5f3370eeca, https://git.kernel.org/stable/c/e939fc6a7bd969a58a150b7f188c1047138403e3, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90042.json, https://nvd.nist.gov/vuln/detail/CVE-2026-90042, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.00502%
EPSS Percentile
0.41185%
Introduced Version
457117f077c6749d1e28469eae91fb69c9806768,6.6.0,6.13.0,6.19.0,0
Fix Available
e939fc6a7bd969a58a150b7f188c1047138403e3,6.12.111,6.18.51,7.2.5,6.12.111-1~deb12u1,6.12.111-1,0:6.12.0-207.111.5.1.el9uek,0:6.12.0-207.111.5.1.el10uek

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading