Skip to content
Heist/ feed
Back to feed
HighFix available

media: atomisp: prevent integer overflow in sh_css_set_black_frame()

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.18, 5.15.77, 6.0.7
CVEs
CVE-2022-50399
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:49 UTC · Revision 1

Source evidence

media: atomisp: prevent integer overflow in sh_css_set_black_frame()

core-osv · Original source

Published 18 Sept 2025, 13:33 UTC

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.

osv:CVE-2022-50399

Kernel

Fixed versions: 4.18, 5.15.77, 6.0.7

Complete source record
{
  "id": "4ae255cb9266f58d0dbeb0fad89ba34424a53eec7a8d900c564a432b12f364ae",
  "url": "https://osv.dev/vulnerability/CVE-2022-50399",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: atomisp: prevent integer overflow in sh_css_set_black_frame()",
    "summary": "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.",
    "evidence": "osv:CVE-2022-50399",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.18",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.77",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-50399",
      "aliases": [
        "CVE-2022-50399"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a49d25364dfb9f8a64037488a39ab1f56c5fa419"
                },
                {
                  "fixed": "51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ad85094b293e40e7a2f831b0311a389d952ebd5e"
                },
                {
                  "fixed": "a560aeac2f2d284903b5900774765d7fc61547bc"
                },
                {
                  "fixed": "a549517e4b761f3940011db30320cb8c9badde54"
                },
                {
                  "fixed": "3ad290194bb06979367622e47357462836c1d3b4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50399.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.12.0"
                },
                {
                  "fixed": "4.18"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.8.0"
                },
                {
                  "fixed": "5.15.77"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50399.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.382969687Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3ad290194bb06979367622e47357462836c1d3b4",
        "https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654",
        "https://git.kernel.org/stable/c/a549517e4b761f3940011db30320cb8c9badde54",
        "https://git.kernel.org/stable/c/a560aeac2f2d284903b5900774765d7fc61547bc",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50399.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50399",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50399.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50399",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489391,
  "published_at": "2025-09-18T13:33:16.647+00:00"
}