CVE-2023-53172
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
15/09/2025
Last modified:
15/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
fsverity: reject FS_IOC_ENABLE_VERITY on mode 3 fds<br />
<br />
Commit 56124d6c87fd ("fsverity: support enabling with tree block size f_mode & FMODE_READ))&#39; in __kernel_read() became<br />
reachable by fuzz tests. This happens if FS_IOC_ENABLE_VERITY is called<br />
on a fd opened with access mode 3, which means "ioctl access only".<br />
<br />
Arguably, FS_IOC_ENABLE_VERITY should work on ioctl-only fds. But<br />
ioctl-only fds are a weird Linux extension that is rarely used and that<br />
few people even know about. (The documentation for FS_IOC_ENABLE_VERITY<br />
even specifically says it requires O_RDONLY.) It&#39;s probably not<br />
worthwhile to make the ioctl internally open a new fd just to handle<br />
this case. Thus, just reject the ioctl on such fds for now.