CVE-2026-53174

published 25 Jun 2026 · updated 5 Aug 2026

ovl: keep err zero after successful ovl_cache_get()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1711b6ed6953cee5940ca4c3a6e77f1b3798cee2 and Kernel e7051909a01bfb883bfa78b27514854068ac4b85.

In the Linux kernel, the following vulnerability has been resolved: ovl: keep err zero after successful ovl_cache_get() ovl_iterate_merged() stores PTR_ERR(cache) in err before checking IS_ERR(cache). On success err holds the truncated cache pointer and can be returned as a bogus non-zero error. The syzbot reproducer reaches this through overlay-on-overlay readdir: getdents64 iterate_dir(outer overlay file) ovl_iterate_merged() ovl_cache_get() ovl_dir_read_merged() ovl_dir_read() iterate_dir(inner overlay file) ovl_iterate_merged() Only compute PTR_ERR(cache) on the error path.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.19, >=d25e4b739f8378419f990983f2542160e79738c5 <1711b6ed6953cee5940ca4c3a6e77f1b3798cee2, >=d25e4b739f8378419f990983f2542160e79738c5 <e7051909a01bfb883bfa78b27514854068ac4b851711b6ed6953cee5940ca4c3a6e77f1b3798cee2, e7051909a01bfb883bfa78b27514854068ac4b85

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-53174 severity on Zeptric[![CVE-2026-53174](https://zeptric.io/badge/cve/CVE-2026-53174.svg)](https://zeptric.io/cve/CVE-2026-53174)