CVE-2026-31573 (GCVE-0-2026-31573)

Vulnerability from cvelistv5 – Published: 2026-04-24 14:35 – Updated: 2026-10-30 12:24
VLAI
Title
media: verisilicon: Fix kernel panic due to __initconst misuse
Summary
In the Linux kernel, the following vulnerability has been resolved: media: verisilicon: Fix kernel panic due to __initconst misuse Fix a kernel panic when probing the driver as a module: Unable to handle kernel paging request at virtual address ffffd9c18eb05000 of_find_matching_node_and_match+0x5c/0x1a0 hantro_probe+0x2f4/0x7d0 [hantro_vpu] The imx8mq_vpu_shared_resources array is referenced by variant structures through their shared_devices field. When built as a module, __initconst causes this data to be freed after module init, but it's later accessed during probe, causing a page fault. The imx8mq_vpu_shared_resources is referenced from non-init code, so keeping __initconst or __initconst_or_module here is wrong. Drop the __initconst annotation and let it live in the normal .rodata section. A bug of __initconst called from regular non-init probe code leading to bugs during probe deferrals or during unbind-bind cycles.
Impacted products
Vendor Product Version
Linux Linux Affected: 42a9fbccb33a38c5a9e0a84680939da8eae4f60e , < 53b88097bb0e0b895a691ae7da4a54b567c0d375 (git)
Affected: f2efc1e8ab65bdb9b892af132887323e4df92f02 , < 5d177ff5eb235de9cc0b8e877466f5a3af6f573e (git)
Affected: 5133ef7c893c2c3aee7dd12503dc480de9dbfbb5 , < 07861e84b766c6db8014bc34138f3be4a62aad2a (git)
Affected: 286d629d10640bc22f3bf46aa4f356eb7975e862 , < 1e7e9119cf9b0d8585b27653b1a6dc31397c252e (git)
Affected: e0203ddf9af7c8e170e1e99ce83b4dc07f0cd765 , < e8d97c270cb46a2a88739019d0f8547adc7d97da (git)
Affected: f988fbf0536b42f6a05ccc1ac709d60236ec1aa6 (git)
Affected: 6.6.160 , < 6.7 (semver)
Create a notification for this product.
Linux Linux Affected: 6.19.6 , < 6.19.11 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/verisilicon/imx8m_vpu_hw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "53b88097bb0e0b895a691ae7da4a54b567c0d375",
              "status": "affected",
              "version": "42a9fbccb33a38c5a9e0a84680939da8eae4f60e",
              "versionType": "git"
            },
            {
              "lessThan": "5d177ff5eb235de9cc0b8e877466f5a3af6f573e",
              "status": "affected",
              "version": "f2efc1e8ab65bdb9b892af132887323e4df92f02",
              "versionType": "git"
            },
            {
              "lessThan": "07861e84b766c6db8014bc34138f3be4a62aad2a",
              "status": "affected",
              "version": "5133ef7c893c2c3aee7dd12503dc480de9dbfbb5",
              "versionType": "git"
            },
            {
              "lessThan": "1e7e9119cf9b0d8585b27653b1a6dc31397c252e",
              "status": "affected",
              "version": "286d629d10640bc22f3bf46aa4f356eb7975e862",
              "versionType": "git"
            },
            {
              "lessThan": "e8d97c270cb46a2a88739019d0f8547adc7d97da",
              "status": "affected",
              "version": "e0203ddf9af7c8e170e1e99ce83b4dc07f0cd765",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f988fbf0536b42f6a05ccc1ac709d60236ec1aa6",
              "versionType": "git"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.160",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/platform/verisilicon/imx8m_vpu_hw.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6.19.11",
              "status": "affected",
              "version": "6.19.6",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.11",
                  "versionStartIncluding": "6.19.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.160",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: Fix kernel panic due to __initconst misuse\n\nFix a kernel panic when probing the driver as a module:\n\n  Unable to handle kernel paging request at virtual address\n  ffffd9c18eb05000\n  of_find_matching_node_and_match+0x5c/0x1a0\n  hantro_probe+0x2f4/0x7d0 [hantro_vpu]\n\nThe imx8mq_vpu_shared_resources array is referenced by variant\nstructures through their shared_devices field. When built as a\nmodule, __initconst causes this data to be freed after module\ninit, but it\u0027s later accessed during probe, causing a page fault.\n\nThe imx8mq_vpu_shared_resources is referenced from non-init code,\nso keeping __initconst or __initconst_or_module here is wrong.\n\nDrop the __initconst annotation and let it live in the normal .rodata\nsection.\n\nA bug of __initconst called from regular non-init probe code\nleading to bugs during probe deferrals or during unbind-bind cycles."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:24:23.572Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/53b88097bb0e0b895a691ae7da4a54b567c0d375"
        },
        {
          "url": "https://git.kernel.org/stable/c/5d177ff5eb235de9cc0b8e877466f5a3af6f573e"
        },
        {
          "url": "https://git.kernel.org/stable/c/07861e84b766c6db8014bc34138f3be4a62aad2a"
        },
        {
          "url": "https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da"
        }
      ],
      "title": "media: verisilicon: Fix kernel panic due to __initconst misuse",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31573",
    "datePublished": "2026-04-24T14:35:51.421Z",
    "dateReserved": "2026-03-09T15:48:24.119Z",
    "dateUpdated": "2026-10-30T12:24:23.572Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-31573",
      "date": "2026-11-17",
      "epss": "0.00155",
      "percentile": "0.04663"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/platform/verisilicon/imx8m_vpu_hw.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "53b88097bb0e0b895a691ae7da4a54b567c0d375",
                    "status": "affected",
                    "version": "42a9fbccb33a38c5a9e0a84680939da8eae4f60e",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5d177ff5eb235de9cc0b8e877466f5a3af6f573e",
                    "status": "affected",
                    "version": "f2efc1e8ab65bdb9b892af132887323e4df92f02",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "07861e84b766c6db8014bc34138f3be4a62aad2a",
                    "status": "affected",
                    "version": "5133ef7c893c2c3aee7dd12503dc480de9dbfbb5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1e7e9119cf9b0d8585b27653b1a6dc31397c252e",
                    "status": "affected",
                    "version": "286d629d10640bc22f3bf46aa4f356eb7975e862",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e8d97c270cb46a2a88739019d0f8547adc7d97da",
                    "status": "affected",
                    "version": "e0203ddf9af7c8e170e1e99ce83b4dc07f0cd765",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "f988fbf0536b42f6a05ccc1ac709d60236ec1aa6",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/platform/verisilicon/imx8m_vpu_hw.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6.19.11",
                    "status": "affected",
                    "version": "6.19.6",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1BFE33C3-C605-4CC2-9F15-3494BA78E2C9",
                    "versionEndExcluding": "6.19.11",
                    "versionStartIncluding": "6.19.6",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: verisilicon: Fix kernel panic due to __initconst misuse\n\nFix a kernel panic when probing the driver as a module:\n\n  Unable to handle kernel paging request at virtual address\n  ffffd9c18eb05000\n  of_find_matching_node_and_match+0x5c/0x1a0\n  hantro_probe+0x2f4/0x7d0 [hantro_vpu]\n\nThe imx8mq_vpu_shared_resources array is referenced by variant\nstructures through their shared_devices field. When built as a\nmodule, __initconst causes this data to be freed after module\ninit, but it\u0027s later accessed during probe, causing a page fault.\n\nThe imx8mq_vpu_shared_resources is referenced from non-init code,\nso keeping __initconst or __initconst_or_module here is wrong.\n\nDrop the __initconst annotation and let it live in the normal .rodata\nsection.\n\nA bug of __initconst called from regular non-init probe code\nleading to bugs during probe deferrals or during unbind-bind cycles."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: verisilicon: Corrige un p\u00e1nico del kernel debido al uso indebido de __initconst\n\nCorrige un p\u00e1nico del kernel al sondear el controlador como un m\u00f3dulo:\n\n  No se puede manejar la solicitud de paginaci\u00f3n del kernel en la direcci\u00f3n virtual\n  ffffd9c18eb05000\n  of_find_matching_node_and_match+0x5c/0x1a0\n  hantro_probe+0x2f4/0x7d0 [hantro_vpu]\n\nEl array imx8mq_vpu_shared_resources es referenciado por estructuras variantes a trav\u00e9s de su campo shared_devices. Cuando se construye como un m\u00f3dulo, __initconst hace que estos datos sean liberados despu\u00e9s de la inicializaci\u00f3n del m\u00f3dulo, pero se accede a ellos m\u00e1s tarde durante el sondeo, causando un fallo de p\u00e1gina.\n\nEl imx8mq_vpu_shared_resources es referenciado desde c\u00f3digo no de inicializaci\u00f3n, por lo que mantener __initconst o __initconst_or_module aqu\u00ed es incorrecto.\n\nElimina la anotaci\u00f3n __initconst y deja que resida en la secci\u00f3n normal .rodata.\n\nUn error de __initconst llamado desde c\u00f3digo de sondeo regular no de inicializaci\u00f3n que lleva a errores durante aplazamientos de sondeo o durante ciclos de desvinculaci\u00f3n-vinculaci\u00f3n."
          }
        ],
        "id": "CVE-2026-31573",
        "lastModified": "2026-11-11T23:10:00.263",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-04-24T15:16:31.857",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/07861e84b766c6db8014bc34138f3be4a62aad2a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/53b88097bb0e0b895a691ae7da4a54b567c0d375"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5d177ff5eb235de9cc0b8e877466f5a3af6f573e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "None",
      "current_release_date": "2026-11-07T04:15:48+00:00",
      "cve": "CVE-2026-31573",
      "id": "CVE-2026-31573",
      "initial_release_date": "2026-04-24T00:00:00+00:00",
      "product_status:known_not_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: media: verisilicon: Fix kernel panic due to __initconst misuse",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31573.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-04-28T23:28:33Z",
      "cve": "CVE-2026-31573",
      "id": "CVE-2026-31573",
      "initial_release_date": "2026-04-25T01:39:05Z",
      "product_status:known_not_affected": "248",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-31573",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-31573.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…