CVE-2022-50301

HIGH

Linux Kernel - Out-of-bounds Write in OMAP IOMMU Debugfs

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0017
EPSS Percentile 6.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (29)
linux/Kernel 3.19.0 - 4.9.331linux
linux/Kernel 4.10.0 - 4.14.296linux
linux/Kernel 4.15.0 - 4.19.262linux
linux/Kernel 4.20.0 - 5.4.220linux
linux/Kernel 5.11.0 - 5.15.75linux
linux/Kernel 5.16.0 - 5.19.17linux
linux/Kernel 5.20.0 - 6.0.3linux
linux/Kernel 5.5.0 - 5.10.150linux
Linux/Linux < 3.19
Linux/Linux 3.19
... and 19 more
Published Sep 15, 2025
Tracked Since Feb 18, 2026