AZL-117382: CVE-2026-99904 affecting package kernel 6.6.161.1-1

Published Nov 30, 2026
·
Updated

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

ceph: fix longname buffer overflow in cephfnametousr()

Snapshot longname reconstruction formats "<name><inode>" via snprintf() and memcpy()s the result into oname->name. Checking the length against NAMEMAX only protects the LOOKUPNAME/export callers, whose buffer is allocated with fscryptfnameallocbuffer(NAMEMAX). The readdir path points oname->name straight at the altname in the MDS reply, whose capacity is altnamelen; the reconstructed name can exceed that while still fitting under NAMEMAX, overflowing the in-place destination.

Save the actual oname->len before the decryption overwrites it, and fail with -ENAMETOOLONG when the reconstructed name would not fit.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Nov 30, 2026
Advisory Published
via OSV·02:20 PM
Data Sourced
via OSV·02:20 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which Ceph operation is exposed to the overflow condition?

The affected path is directory enumeration (readdir) when reconstructing snapshot long names. In this path, the output name points directly to an alternate-name buffer from the MDS reply, sized according to altname_len.

2

Why does the existing NAME_MAX check not protect this path?

The NAME_MAX check protects LOOKUPNAME and export callers because they allocate a NAME_MAX-sized buffer. The readdir destination can be smaller than NAME_MAX, so a reconstructed name may pass that check but still exceed the alternate-name buffer capacity.

3

What happens when an oversized reconstructed name is encountered after the fix?

The code retains the actual destination length before decryption changes it and returns -ENAMETOOLONG if the reconstructed name will not fit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203