« Volver al listado

CVE-2022-48987

Estado: AnalizadaMedia (5.5)—

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

media: v4l2-dv-timings.c: fix too strict blanking sanity checks

Sanity checks were added to verify the v4l2_bt_timings blanking fields in order to avoid integer overflows when userspace passes weird values.

But that assumed that userspace would correctly fill in the front porch, backporch and sync values, but sometimes all you know is the total blanking, which is then assigned to just one of these fields.

And that can fail with these checks.

So instead set a maximum for the total horizontal and vertical blanking and check that each field remains below that.

Leer descripción completaMostrar menos

That is still sufficient to avoid integer overflows, but it also allows for more flexibility in how userspace fills in these fields.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2022-48987",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2022-48987",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2024-10-22T13:17:04.941322Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 5.5,
          "attackVector": "LOCAL",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "integrityImpact": "NONE",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "NONE"
        },
        "impactScore": 3.6,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "15ded23db134da975b49ea99770de0346c193b24",
              "lessThan": "0d73b49c4037199472b29574ae21c21aef493971",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3d43b2b8a3cdadd6cef9ac8ef5d156b6214a01c8",
              "lessThan": "a2b56627c0d13009e02f6f2c0206c0451ed19a0e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9cf9211635b68e8e0c8cb88d43ca7dc83e4632aa",
              "lessThan": "2572ab14b73aa45b6ae7e4c089ccf119fed5cf89",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "b4a3a01762ae072c7f6ff2ff53b5019761288346",
              "lessThan": "4afc77068e36cee45b39d4fdc7513de26980f72c",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "683015ae163481457a16fad2317af66360dc4762",
              "lessThan": "32f01f0306a98629508f84d7ef0d1d037bc274a2",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "491c0959f01d87bcbd5a1498bc70e0a3382c65a8",
              "lessThan": "6fb8bc29bfa80707994a63cc97e2f9920e0b0608",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "dc7276c3f6ca008be1faf531f84b49906c9bcf7f",
              "lessThan": "d3d14cdf1c7ae2caa3e999bae95ba99e955fb7c3",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "4b6d66a45ed34a15721cb9e11492fa1a24bc83df",
              "lessThan": "5eef2141776da02772c44ec406d6871a790761ee",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/media/v4l2-core/v4l2-dv-timings.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9.332",
              "lessThan": "4.9.336",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.14.298",
              "lessThan": "4.14.302",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "4.19.264",
              "lessThan": "4.19.269",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.4.223",
              "lessThan": "5.4.227",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.10.153",
              "lessThan": "5.10.159",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.15.77",
              "lessThan": "5.15.83",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.0.7",
              "lessThan": "6.0.13",
              "versionType": "semver"
            }
          ],
          "programFiles": [
            "drivers/media/v4l2-core/v4l2-dv-timings.c"
          ],
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2024-10-21T20:15:10.617",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/0d73b49c4037199472b29574ae21c21aef493971",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2572ab14b73aa45b6ae7e4c089ccf119fed5cf89",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/32f01f0306a98629508f84d7ef0d1d037bc274a2",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4afc77068e36cee45b39d4fdc7513de26980f72c",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/5eef2141776da02772c44ec406d6871a790761ee",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/6fb8bc29bfa80707994a63cc97e2f9920e0b0608",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a2b56627c0d13009e02f6f2c0206c0451ed19a0e",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d3d14cdf1c7ae2caa3e999bae95ba99e955fb7c3",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-190"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-dv-timings.c: fix too strict blanking sanity checks\n\nSanity checks were added to verify the v4l2_bt_timings blanking fields\nin order to avoid integer overflows when userspace passes weird values.\n\nBut that assumed that userspace would correctly fill in the front porch,\nbackporch and sync values, but sometimes all you know is the total\nblanking, which is then assigned to just one of these fields.\n\nAnd that can fail with these checks.\n\nSo instead set a maximum for the total horizontal and vertical\nblanking and check that each field remains below that.\n\nThat is still sufficient to avoid integer overflows, but it also\nallows for more flexibility in how userspace fills in these fields."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: v4l2-dv-timings.c: se corrigen comprobaciones de cordura de borrado demasiado estrictas Se añadieron comprobaciones de cordura para verificar los campos de borrado de v4l2_bt_timings para evitar desbordamientos de enteros cuando el espacio de usuario pasa valores extraños. Pero eso suponía que el espacio de usuario rellenaría correctamente los valores de front porch, back porch y sync, pero a veces todo lo que sabes es el borrado total, que luego se asigna a solo uno de estos campos. Y eso puede fallar con estas comprobaciones. Así que, en su lugar, establece un máximo para el borrado horizontal y vertical total y comprueba que cada campo permanezca por debajo de eso. Eso sigue siendo suficiente para evitar desbordamientos de enteros, pero también permite más flexibilidad en cómo el espacio de usuario rellena estos campos."
    }
  ],
  "lastModified": "2026-06-17T05:16:47.227",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1EA5E6E0-F60E-4B95-AE97-C3027AA27388",
              "versionEndExcluding": "4.9.336",
              "versionStartIncluding": "4.9.332"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "8951F556-AF07-4129-996D-5BB44778FC95",
              "versionEndExcluding": "4.14.302",
              "versionStartIncluding": "4.14.298"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "74A39CCD-7EBA-4ED1-A24C-C1C0F8902BDD",
              "versionEndExcluding": "4.19.269",
              "versionStartIncluding": "4.19.264"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "72E8F2FD-FA28-4184-BEFD-92915760FB87",
              "versionEndExcluding": "5.4.227",
              "versionStartIncluding": "5.4.226"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "F188CD3F-F2C5-4C45-A3C3-B105BFD832E5",
              "versionEndExcluding": "5.10.159",
              "versionStartIncluding": "5.10.153"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "60E56598-983B-4E47-B87D-9B08693E8368",
              "versionEndExcluding": "5.15.83",
              "versionStartIncluding": "5.15.77"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "143D804C-0BEB-4434-B48B-1CA625157A7C",
              "versionEndExcluding": "6.0.13",
              "versionStartIncluding": "6.0.7"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}