CVE-2026-31573 media: verisilicon: Fix kernel panic due to __initconst misuse

Medium 5.5 Published Updated

A kernel panic occurs in the Verisilicon media driver when probing as a module due to accessing freed memory, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31573?

CVE-2026-31573 is a medium-severity vulnerability in Linux kernel, published on 24 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-31573?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31573?

Apply the vendor's patch.

Is CVE-2026-31573 being exploited?

There is no known exploitation of CVE-2026-31573 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-31573, GHSA-2pqc-qvpf-mwm4, UBUNTU-CVE-2026-31573.

Is CVE-2026-31573 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free