Description
In the Linux kernel, the following vulnerability has been resolved:
zloop: reject mismatched conventional zone files on restore
When restoring a zloop device, zloop_init_zone() checks that the size of
each conventional zone file matches the configured zone size. The check
prints an error and then jumps to out_fput, which releases the zone file
and returns the value left in "ret" by the preceding vfs_getattr() call,
that is, zero. zloop_ctl_add() 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.
zloop: reject mismatched conventional zone files on restore
When restoring a zloop device, zloop_init_zone() checks that the size of
each conventional zone file matches the configured zone size. The check
prints an error and then jumps to out_fput, which releases the zone file
and returns the value left in "ret" by the preceding vfs_getattr() call,
that is, zero. zloop_ctl_add() 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.
Published:
2026-12-03
Score:
n/a
EPSS:
< 1% Very Low
KEV:
No
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
No advisories yet.
References
History
Thu, 03 Dec 2026 09:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | In the Linux kernel, the following vulnerability has been resolved: zloop: reject mismatched conventional zone files on restore When restoring a zloop device, zloop_init_zone() checks that the size of each conventional zone file matches the configured zone size. The check prints an error and then jumps to out_fput, which releases the zone file and returns the value left in "ret" by the preceding vfs_getattr() call, that is, zero. zloop_ctl_add() 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. | |
| Title | zloop: reject mismatched conventional zone files on restore | |
| First Time appeared |
Linux
Linux linux Kernel |
|
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Linux
Linux linux Kernel |
|
| References |
|
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2026-12-03T09:21:28.533Z
Reserved: 2026-12-03T03:10:28.365Z
Link: CVE-2026-143294
No data.
Status : Received
Published: 2026-12-03T10:18:14.787
Modified: 2026-12-03T10:18:14.787
Link: CVE-2026-143294
No data.
OpenCVE Enrichment
No data.
Weaknesses
No weakness.