CVE-2026-90042

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/09/2026
Last modified:
21/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ceph: properly decrypt filenames in vmalloc() buffers<br /> <br /> The fscrypt subsystem uses the scatterlist crypto API, inheriting its<br /> requirement that any buffers are in the linear mapping region. However,<br /> the messenger client uses kvmalloc() to create buffers for messages,<br /> which will occasionally place those buffers in the vmalloc() region when<br /> physical memory fragmentation doesn&amp;#39;t permit a large enough kmalloc().<br /> The various callers of ceph_fname_to_usr() directly pass (slices of) raw<br /> messages from the MDS without considering that the messages may be in<br /> vmalloc() buffers, resulting in oopses especially on non-x86 platforms<br /> (see &amp;#39;Closes:&amp;#39; for more details and a reproducer).<br /> <br /> Make ceph_fname_to_usr() explicitly tolerant of vmalloc()-allocated<br /> fname-&gt;ctext, fname-&gt;name, and/or oname-&gt;name buffers, using `tname`<br /> (which, when non-null, must be a linear address; when null, is briefly<br /> allocated as necessary) as a bounce buffer to avoid passing any<br /> inappropriate addresses to fscrypt_fname_disk_to_usr().<br /> <br /> Additionally change parse_reply_info_readdir() -- the only function to<br /> supply its own `tname` -- to follow the new "tname must never come from<br /> vmalloc()" rule by passing NULL when the message is not in the linear<br /> region. Though this causes a per-dentry kmalloc()+kfree(), this overhead<br /> exists only when processing the minority of messages that spill into<br /> vmalloc(). My (crude) testing puts this at only about 1 in 8,000 readdir<br /> messages. Still, if the overhead proves unreasonable in the future, it<br /> is easy enough to mitigate: a future change could allocate a bounce<br /> buffer in parse_reply_info_readdir() and use that as `tname` instead.