CVE-2022-50301: iommu/omap: Fix buffer overflow in debugfs
Vulnerability summary
CVE-2022-50301 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 8.6% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.19%
Chance of exploitation in the next 30 days
Percentile
9%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.18% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu119 products
- linuxAll versions (No fix recorded) | < 4.15.0-204.215 | < 5.4.0-139.156 | < 5.15.0-60.66
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 4.15.0-1150.163 | < 5.4.0-1096.104 | < 5.15.0-1030.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 706e359cf046c142db290244c3f4938b20fbe805 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < ec53b99b6b9da8b501f001595a6260c03b42d5b7 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 648472df221f2bbffb433b964bcb87baccc586d8 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 4010a1afaae1c0fb9c2cac5de703bed29b1f1782 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 2fee0dbfaeaaa4bda04279ce772c4572b1429d04 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 0c7043a5b5c3b35f5dc8875757f71e7f491d64d4 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < bd0438f534b2e31b12f0b39b355c5dc2bbdaf854 | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 9814cc350e0765ce69244bf55ae4c8b29facd27e | ≥ bd4396f09a4a9e77423e92ec9448217ab46f6edf, < 184233a5202786b20220acd2d04ddf909ef18f29 | 3.19
- linux_kernel≥ 3.19, < 4.9.331 | ≥ 4.10, < 4.14.296 | ≥ 4.15, < 4.19.262 | ≥ 4.20, < 5.4.220 | ≥ 5.5, < 5.10.150 | ≥ 5.11, < 5.15.75 | ≥ 5.16, < 5.19.17 | ≥ 6.0, < 6.0.3
Debian1 product
- linux< 6.0.3-1
3 vendors · 122 products