ovl: skip copy up of empty security.capability

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

ovl: skip copy up of empty security.capability

ovl_copy_xattr() gives up if it can't read an attribute that listxattr() has named. An empty security.capability, which anybody has been able to store on any file for a long time, is such a case: it is listed, and getxattr() has nothing to return for it. A file in a lower layer that carries one can't be copied up: it can't be written to, renamed or have its mode changed.

There is nothing to copy if there are no data. Go on with the next one.

[amir: treat -EINVAL as no capability too, and do the same in ovl_copy_up_meta_inode_data()]

ProductVersions
Linux Linux8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 5c1a0c08f4725d8cf70bfc260ad0ba5ac962d246 Affected8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 7cb6f7c291caca7594d73aa6cea16df60afaa9b1 Affected8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before ce8fa086d095141675801bb9dea81d24fb43c5ef Affected8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 5c6a8b2f2f4dc3a0da89c7379ae64962850ba1e3 Affected8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before f46a6fdbe8ccc4f64e2e8a8d8cd3a6bd753552be Affected8db6c34f1dbc8e06aa016a9b829b06902c3e1340 to before 50912a1715b8a7c614b654011a0db750e372b43e Affected
Linux Linux4.14 Affectedbefore 4.14 Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.