Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: iommufd: Use sizeof(hdr) instead of sizeof(hdr) in veventq read The bound-check… (CVE-2026-64293)
A vulnerability in the Linux kernel's iommufd component involves an incorrect use of sizeof on a pointer instead of the pointed-to structure in a bound check during a read operation. This causes an underestimation of the header size on 32-bit systems, potentially leading to a buffer overflow when copying data to user space. The issue has been resolved by correcting the sizeof usage to match the actual structure size.
AI Analysis
Technical Summary
The Linux kernel's iommufd_veventq_fops_read() function incorrectly uses sizeof(hdr) where hdr is a pointer to struct iommufd_vevent_header, causing the bound check to use the size of the pointer rather than the size of the structure. On 32-bit systems, this results in an under-count of the header size by 4 bytes, allowing a vEVENT with certain data lengths to pass the check improperly and potentially write beyond the user buffer during copy_to_user. On 64-bit systems, the sizes match by coincidence, but the code is fragile and could break if the structure size changes. The fix is to use sizeof(*hdr) consistently to ensure the correct size is checked and copied.
Potential Impact
This vulnerability can lead to a buffer overflow in user space on 32-bit systems or future 64-bit systems if the structure size grows beyond pointer size. The CVSS score of 7.8 indicates high impact on confidentiality, integrity, and availability, meaning an attacker with local privileges could exploit this to cause memory corruption, potentially leading to privilege escalation or denial of service.
Mitigation Recommendations
A fix is available that corrects the sizeof usage in the iommufd_veventq_fops_read() function. Users should apply the official Linux kernel patches that address CVE-2026-64293. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No alternative mitigations are specified.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: iommufd: Use sizeof(hdr) instead of sizeof(hdr) in veventq read The bound-check… (CVE-2026-64293)
Description
A vulnerability in the Linux kernel's iommufd component involves an incorrect use of sizeof on a pointer instead of the pointed-to structure in a bound check during a read operation. This causes an underestimation of the header size on 32-bit systems, potentially leading to a buffer overflow when copying data to user space. The issue has been resolved by correcting the sizeof usage to match the actual structure size.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's iommufd_veventq_fops_read() function incorrectly uses sizeof(hdr) where hdr is a pointer to struct iommufd_vevent_header, causing the bound check to use the size of the pointer rather than the size of the structure. On 32-bit systems, this results in an under-count of the header size by 4 bytes, allowing a vEVENT with certain data lengths to pass the check improperly and potentially write beyond the user buffer during copy_to_user. On 64-bit systems, the sizes match by coincidence, but the code is fragile and could break if the structure size changes. The fix is to use sizeof(*hdr) consistently to ensure the correct size is checked and copied.
Potential Impact
This vulnerability can lead to a buffer overflow in user space on 32-bit systems or future 64-bit systems if the structure size grows beyond pointer size. The CVSS score of 7.8 indicates high impact on confidentiality, integrity, and availability, meaning an attacker with local privileges could exploit this to cause memory corruption, potentially leading to privilege escalation or denial of service.
Mitigation Recommendations
A fix is available that corrects the sizeof usage in the iommufd_veventq_fops_read() function. Users should apply the official Linux kernel patches that address CVE-2026-64293. Since this is a kernel vulnerability, updating to a patched kernel version is the recommended remediation. No alternative mitigations are specified.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rq5j-2985-g74r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64293"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420e9c2644c7f8086303
Added to database: 07/25/2026, 23:09:02 UTC
Last enriched: 08/15/2026, 03:14:06 UTC
Last updated: 09/07/2026, 10:52:10 UTC
Views: 60
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.