A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
References
- git.kernel.org /stable/c/1711b6ed6953cee5940ca4c3a6e77f1b3798cee2
- git.kernel.org /stable/c/e7051909a01bfb883bfa78b27514854068ac4b85
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning