CVE-2022-50301: Linux Kernel
High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: iommu/omap: Fix buffer overflow in debugfs There are two issues here: 1) The "len" variable needs to be checked before the very first write. Otherwise if omap2_iommu_dump_ctx() with "bytes" less than 32 it is a buffer overflow. 2) The snprintf() function returns the number of bytes that *would* have been copied if there were enough space. But we want to know the number of bytes which were *actually* copied so use scnprintf() instead.
Affected products
- Linux Linux Kernel: from 3.19, before 4.9.331 (fixed in 4.9.331); from 4.10, before 4.14.296 (fixed in 4.14.296); from 4.15, before 4.19.262 (fixed in 4.19.262); from 4.20, before 5.4.220 (fixed in 5.4.220); from 5.5, before 5.10.150 (fixed in 5.10.150); from 5.11, before 5.15.75 (fixed in 5.15.75); …
Published 2025-09-15. Last modified 2026-06-17.