# CVE-2022-50399: media: atomisp: prevent integer overflow in sh_css_set_black_frame()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:16.647Z
- Modified: 2026-08-05T08:58:33.676Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: atomisp: prevent integer overflow in sh_css_set_black_frame()

The "height" and "width" values come from the user so the "height * width"
multiplication can overflow.

(As written by CVE List.)

## Affected

- Linux Linux: from a49d25364dfb9f8a64037488a39ab1f56c5fa419 before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654; from ad85094b293e40e7a2f831b0311a389d952ebd5e before a560aeac2f2d284903b5900774765d7fc61547bc; from ad85094b293e40e7a2f831b0311a389d952ebd5e before a549517e4b761f3940011db30320cb8c9badde54; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 3ad290194bb06979367622e47357462836c1d3b4; 4.12; 5.8 (not affected: before 4.12; from 4.18 before 5.8; from 5.15.77 up to 5.15.*; from 6.0.7 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 4.12 before 4.18; from 5.8 before 5.15.77; from 5.16 before 6.0.7; 6.1

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654> (patch)
- <https://git.kernel.org/stable/c/a560aeac2f2d284903b5900774765d7fc61547bc> (patch)
- <https://git.kernel.org/stable/c/a549517e4b761f3940011db30320cb8c9badde54> (patch)
- <https://git.kernel.org/stable/c/3ad290194bb06979367622e47357462836c1d3b4> (patch)

## Sources

- CVE List: [CVE-2022-50399](https://www.cve.org/CVERecord?id=CVE-2022-50399), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50399](https://nvd.nist.gov/vuln/detail/CVE-2022-50399), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50399 · Whole record: https://cve.day/CVE-2022-50399.json · Rebuilt by cve.day 2026-11-25T22:58:21.200Z
