CVE-2026-143294: zloop: reject mismatched conventional zone files on restore
In the Linux kernel, the following vulnerability has been resolved:
zloop: reject mismatched conventional zone files on restore
When restoring a zloop device, zloopinitzone() checks that the size of each conventional zone file matches the configured zone size. The check prints an error and then jumps to outfput, which releases the zone file and returns the value left in "ret" by the preceding vfsgetattr() call, that is, zero. zloopctladd() therefore treats the zone as initialized and continues with a zone->file pointer that was already released; any I/O to that zone then dereferences it.
Return -EINVAL, like the sequential zone path does for the same kind of inconsistency.
While at it, print the zone size that is actually compared instead of the zone capacity, which may be smaller and only made the message confusing.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Systems restoring a zloop device are exposed only when a conventional zone file's size does not match the configured zone size. The issue occurs in the conventional-zone restore path.
What happens after a mismatched conventional zone file is accepted during restore?
The add operation can treat the zone as initialized even though its file has been released. Subsequent I/O to that zone can dereference the released file pointer.
What should be done if the fix cannot be applied immediately?
Do not restore zloop devices using conventional zone files whose sizes differ from the configured zone size. Validate the file size against the configured zone size before restoring the device.
How does the corrected behavior handle an inconsistent zone file?
The corrected code rejects the restore with -EINVAL, matching the handling already used for inconsistent sequential zones. It also reports the zone size being compared rather than the zone capacity.