fbdev: kyro: Validate overlay viewport coordinates
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: fbdev: kyro: Validate overlay viewport coordinates The overlay viewport end coordinates are computed from the viewport origin and dimensions using 32-bit unsigned arithmetic. Large input values can cause these calculations to wrap around before the resulting coordinates are passed to SetOverlayViewPort(). SetOverlayViewPort() packs the viewport coordinates into 16-bit register fields. The X coordinates are additionally adjusted by +2 and +1 before being written. Validate the coordinate calculations for 32-bit wraparound and ensure that the adjusted coordinates fit within their 16-bit register fields before calling SetOverlayViewPort(). Found by Linux Verification Center (linuxtesting.org) with SVACE.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in d8c1a9579cbd8f4ac5cbd5a10f1afb5ee64adf30; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 2ac6e30a552e6f9932c21c865a5c69f40c8aef64; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 413d763439ba68e5d547538e6b6c7de97d5818a5; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in e8d4e4cf388daeb49704f3de10b203034f28eb90; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in a6decd4e72fc5846d3b268bd085a2089213fd5ee; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 33e54e3e0b2ca959304e62c3d84f0ad49bbe1afe; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 7bf36dc23bcf3496dec274a46ae0aaff4961ea03; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 7b5c7bc55e13e7f5ac7b1eaf5c6d690389ea5ee3
- Linux Linux
2.6.12
- KernelLinux
From 2.6.12 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/d8c1a9579cbd8f4ac5cbd5a10f1afb5ee64adf30
- stable/c/2ac6e30a552e6f9932c21c865a5c69f40c8aef64
- stable/c/413d763439ba68e5d547538e6b6c7de97d5818a5
- stable/c/e8d4e4cf388daeb49704f3de10b203034f28eb90
- stable/c/a6decd4e72fc5846d3b268bd085a2089213fd5ee
- stable/c/33e54e3e0b2ca959304e62c3d84f0ad49bbe1afe
- stable/c/7bf36dc23bcf3496dec274a46ae0aaff4961ea03
- stable/c/7b5c7bc55e13e7f5ac7b1eaf5c6d690389ea5ee3