5.5
MEDIUM CVSS 3.1
CVE-2026-31573
media: verisilicon: Fix kernel panic due to __initconst misuse
Description

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.

INFO

Published Date :

April 24, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 11:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-31573 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
Remove __initconst annotation from shared resources array to prevent access after free.
  • Drop __initconst annotation for shared resources array.
  • Place array in normal .rodata section.
  • Rebuild and deploy the Linux kernel.
  • Apply the vendor patch.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-31573 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-31573 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-31573 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-31573 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: verisilicon: Corrige un pánico del kernel debido al uso indebido de __initconst Corrige un pánico del kernel al sondear el controlador como un módulo: No se puede manejar la solicitud de paginación del kernel en la dirección virtual ffffd9c18eb05000 of_find_matching_node_and_match+0x5c/0x1a0 hantro_probe+0x2f4/0x7d0 [hantro_vpu] El array imx8mq_vpu_shared_resources es referenciado por estructuras variantes a través de su campo shared_devices. Cuando se construye como un módulo, __initconst hace que estos datos sean liberados después de la inicialización del módulo, pero se accede a ellos más tarde durante el sondeo, causando un fallo de página. El imx8mq_vpu_shared_resources es referenciado desde código no de inicialización, por lo que mantener __initconst o __initconst_or_module aquí es incorrecto. Elimina la anotación __initconst y deja que resida en la sección normal .rodata. Un error de __initconst llamado desde código de sondeo regular no de inicialización que lleva a errores durante aplazamientos de sondeo o durante ciclos de desvinculación-vinculación.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 30, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31573.json">CVE-2026-31573</a>
    Added Reference https://git.kernel.org/stable/c/53b88097bb0e0b895a691ae7da4a54b567c0d375
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31573.json">CVE-2026-31573</a>
    Added Reference https://git.kernel.org/stable/c/5d177ff5eb235de9cc0b8e877466f5a3af6f573e
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 15, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31573.json">CVE-2026-31573</a>
    Added Reference https://git.kernel.org/stable/c/07861e84b766c6db8014bc34138f3be4a62aad2a
    Added Reference https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e
    Added Reference https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da
    Removed Reference https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e
    Removed Reference https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da
    Removed Reference Type https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '286d629d10640bc22f3bf46aa4f356eb7975e862', 'lessThan': '1e7e9119cf9b0d8585b27653b1a6dc31397c252e', 'versionType': 'git'}, {'status': 'affected', 'version': 'e0203ddf9af7c8e170e1e99ce83b4dc07f0cd765', 'lessThan': 'e8d97c270cb46a2a88739019d0f8547adc7d97da', 'versionType': 'git'}], 'programFiles': ['drivers/media/platform/verisilicon/imx8m_vpu_hw.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.19.6', 'lessThan': '6.19.11', 'versionType': 'semver'}], 'programFiles': ['drivers/media/platform/verisilicon/imx8m_vpu_hw.c'], 'defaultStatus': 'unaffected'}]
  • Initial Analysis by [email protected]

    Apr. 27, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Added CWE NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19.6 up to (excluding) 6.19.11
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da Types: Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Apr. 24, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Reference https://git.kernel.org/stable/c/1e7e9119cf9b0d8585b27653b1a6dc31397c252e
    Added Reference https://git.kernel.org/stable/c/e8d97c270cb46a2a88739019d0f8547adc7d97da
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.