CVE-2026-31573

Source
https://cve.org/CVERecord?id=CVE-2026-31573
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31573.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31573
Downstream
Published
2026-04-24T14:35:51.421Z
Modified
2026-07-08T08:12:26.628174940Z
Summary
media: verisilicon: Fix kernel panic due to __initconst misuse
Details

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 offindmatchingnodeandmatch+0x5c/0x1a0 hantroprobe+0x2f4/0x7d0 [hantro_vpu]

The imx8mqvpusharedresources array is referenced by variant structures through their shareddevices 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 imx8mqvpushared_resources is referenced from non-init code, so keeping __initconst or __initconstormodule 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31573.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
286d629d10640bc22f3bf46aa4f356eb7975e862
Fixed
1e7e9119cf9b0d8585b27653b1a6dc31397c252e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e0203ddf9af7c8e170e1e99ce83b4dc07f0cd765
Fixed
e8d97c270cb46a2a88739019d0f8547adc7d97da

Affected versions

v6.*
v6.19.10
v6.19.6
v6.19.7
v6.19.8
v6.19.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31573.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.6
Fixed
6.19.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31573.json"