Skip to content
Heist/ feed
Back to feed
UnratedFix available

media: s2255: check firmware size before reading trailing marker

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: media: s2255: check firmware size before reading trailing marker s2255_probe() reads a 4-byte marker and version from the last 8 bytes of the firmware blob (fw->data[fw_size - 8] and [fw_size - 4]). If the firmware file is shorter than 8 bytes, fw_size - 8 underflows and the access reads out of bounds. Validate the firmware size before indexing.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-89878
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:58 UTC · Revision 1

Source evidence

media: s2255: check firmware size before reading trailing marker

core-osv · Original source

Published 16 Sept 2026, 10:31 UTC

In the Linux kernel, the following vulnerability has been resolved: media: s2255: check firmware size before reading trailing marker s2255_probe() reads a 4-byte marker and version from the last 8 bytes of the firmware blob (fw->data[fw_size - 8] and [fw_size - 4]). If the firmware file is shorter than 8 bytes, fw_size - 8 underflows and the access reads out of bounds. Validate the firmware size before indexing.

osv:CVE-2026-89878

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "a8361d7bfedaf2a15950d8a23ad8ebf85ab4b81105c0066cd00406cff7bf60cc",
  "url": "https://osv.dev/vulnerability/CVE-2026-89878",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: s2255: check firmware size before reading trailing marker",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: media: s2255: check firmware size before reading trailing marker s2255_probe() reads a 4-byte marker and version from the last 8 bytes of the firmware blob (fw->data[fw_size - 8] and [fw_size - 4]). If the firmware file is shorter than 8 bytes, fw_size - 8 underflows and the access reads out of bounds. Validate the firmware size before indexing.",
    "evidence": "osv:CVE-2026-89878",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89878",
      "aliases": [
        "CVE-2026-89878"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "14d962602c8bf86e63c9b9272be1f0360d0a448a"
                },
                {
                  "fixed": "6f6a5b0b0a84c2de0e152f2841e57bc226db924f"
                },
                {
                  "fixed": "8eca0f85eeb0789be40e637bcf9a21c4265b6c6f"
                },
                {
                  "fixed": "ffc27411ea60b8a09f1fea3d664b65210fdeb454"
                },
                {
                  "fixed": "5626785b0e4665326e4d96736c106161da09b2f0"
                },
                {
                  "fixed": "3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d"
                },
                {
                  "fixed": "342632a4d8ba3fafc1556deee0b7a48dd7860336"
                },
                {
                  "fixed": "7d221859ba45d7228d0138c9a3e55bd3bb31e14e"
                },
                {
                  "fixed": "330f2936ab768c7215322a476f033143e8891d28"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89878.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.28"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89878.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.053243360Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/330f2936ab768c7215322a476f033143e8891d28",
        "https://git.kernel.org/stable/c/342632a4d8ba3fafc1556deee0b7a48dd7860336",
        "https://git.kernel.org/stable/c/3e03f1209c1c8a45a7bc559f4ecd79d9b33f706d",
        "https://git.kernel.org/stable/c/5626785b0e4665326e4d96736c106161da09b2f0",
        "https://git.kernel.org/stable/c/6f6a5b0b0a84c2de0e152f2841e57bc226db924f",
        "https://git.kernel.org/stable/c/7d221859ba45d7228d0138c9a3e55bd3bb31e14e",
        "https://git.kernel.org/stable/c/8eca0f85eeb0789be40e637bcf9a21c4265b6c6f",
        "https://git.kernel.org/stable/c/ffc27411ea60b8a09f1fea3d664b65210fdeb454",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89878.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89878",
        "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/2026/89xxx/CVE-2026-89878.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89878",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517567,
  "published_at": "2026-09-16T10:31:44.876+00:00"
}