UBUNTU-CVE-2026-10645
A vulnerability in the Zephyr ext2 filesystem driver allows crafted or corrupted ext2 images on attacker-controlled storage to cause out-of-bounds reads and writes when processing directory entries. This can leak adjacent kernel heap memory or cause denial of service via infinite loops. The issue affects Zephyr ext2 from version 3.5.0 through 4.4.0 and is triggered by any path-based operation or directory listing on a mounted ext2 volume. The vulnerability is due to improper validation of directory entry fields de_rec_len and de_name_len. A fix has been implemented to validate these fields and reject malformed entries.
AI Analysis
Technical Summary
The Zephyr ext2 filesystem driver trusted on-disk directory entry fields de_rec_len and de_name_len without proper validation. The check on de_name_len was ineffective because it is a uint8_t and compared against 255, making the condition always false. This allowed memcpy operations to read up to 255 bytes and directory traversal to advance by an unvalidated de_rec_len, potentially reading or writing beyond the block buffer into adjacent heap memory. This leads to information leakage of kernel heap memory and denial of service via infinite loops caused by zero de_rec_len. The vulnerability is triggered by any filesystem operation on a mounted ext2 volume with crafted or corrupted images. The affected versions are Zephyr ext2 from v3.5.0 through v4.4.0. The fix validates rec_len and name_len, rejecting entries that do not fit within the block boundaries.
Potential Impact
An attacker supplying a crafted or corrupted ext2 filesystem image on removable or mounted storage can cause out-of-bounds reads and writes in kernel memory, leading to leakage of adjacent kernel heap memory. Additionally, a zero de_rec_len value can cause an infinite loop, resulting in denial of service. The vulnerability affects all path-based operations and directory listings on the mounted ext2 volume.
Mitigation Recommendations
A fix is available that validates the rec_len and name_len fields in directory entries and rejects malformed entries that do not fit within the block boundaries. Users should update to a fixed version of the Zephyr ext2 filesystem driver beyond v4.4.0. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
UBUNTU-CVE-2026-10645
Description
A vulnerability in the Zephyr ext2 filesystem driver allows crafted or corrupted ext2 images on attacker-controlled storage to cause out-of-bounds reads and writes when processing directory entries. This can leak adjacent kernel heap memory or cause denial of service via infinite loops. The issue affects Zephyr ext2 from version 3.5.0 through 4.4.0 and is triggered by any path-based operation or directory listing on a mounted ext2 volume. The vulnerability is due to improper validation of directory entry fields de_rec_len and de_name_len. A fix has been implemented to validate these fields and reject malformed entries.
CVSS v3.1
Score 4.9medium
Affected software
pkg:deb/ubuntu/[email protected]?arch=source&distro=xenialpkg:deb/ubuntu/[email protected]?arch=source&distro=bionicpkg:deb/ubuntu/[email protected]?arch=source&distro=noblepkg:deb/ubuntu/[email protected]?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Zephyr ext2 filesystem driver trusted on-disk directory entry fields de_rec_len and de_name_len without proper validation. The check on de_name_len was ineffective because it is a uint8_t and compared against 255, making the condition always false. This allowed memcpy operations to read up to 255 bytes and directory traversal to advance by an unvalidated de_rec_len, potentially reading or writing beyond the block buffer into adjacent heap memory. This leads to information leakage of kernel heap memory and denial of service via infinite loops caused by zero de_rec_len. The vulnerability is triggered by any filesystem operation on a mounted ext2 volume with crafted or corrupted images. The affected versions are Zephyr ext2 from v3.5.0 through v4.4.0. The fix validates rec_len and name_len, rejecting entries that do not fit within the block boundaries.
Potential Impact
An attacker supplying a crafted or corrupted ext2 filesystem image on removable or mounted storage can cause out-of-bounds reads and writes in kernel memory, leading to leakage of adjacent kernel heap memory. Additionally, a zero de_rec_len value can cause an infinite loop, resulting in denial of service. The vulnerability affects all path-based operations and directory listings on the mounted ext2 volume.
Mitigation Recommendations
A fix is available that validates the rec_len and name_len fields in directory entries and rejects malformed entries that do not fit within the block boundaries. Users should update to a fixed version of the Zephyr ext2 filesystem driver beyond v4.4.0. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-10645
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:25.10","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a58b4fe68715ace43db23e9
Added to database: 07/16/2026, 10:39:58 UTC
Last enriched: 07/16/2026, 14:04:35 UTC
Last updated: 07/31/2026, 19:24:50 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.