CVE-2025-71291: misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()

Published May 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

misc: bcmvk: Fix possible null-pointer dereferences in bcmvkread()

In the function bcmvkread(), the pointer entry is checked, indicating that it can be NULL. If entry is NULL and rc is set to -EMSGSIZE, the following code may cause null-pointer dereferences:

struct vkmsgblk tmpmsg = entry->tohmsg[0]; setmsgid(&tmpmsg, entry->usrmsgid); tmpmsg.size = entry->tohblks - 1;

To prevent these possible null-pointer dereferences, copy tohmsg, usrmsgid, and tohblks from iter into temporary variables, and return these temporary variables to the application instead of accessing them through a potentially NULL entry.

Affected Software

6 affected components
Linux Linux kernel (bcm_vk driver)
Linux Linux kernel>=5.19<6.1.165
Linux Linux kernel>=6.2<6.6.128
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.16
Linux Linux kernel>=6.19<6.19.6

Event History

May 6, 2026
CVE Published
via MITRE·11:32 AM
Data Sourced
via MITRE·11:32 AM
Description
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-71291?

The severity of CVE-2025-71291 is classified as medium due to the potential for null-pointer dereferences.

2

How do I fix CVE-2025-71291?

To fix CVE-2025-71291, users should update their Linux kernel to the latest version where the vulnerability has been patched.

3

Which software is affected by CVE-2025-71291?

CVE-2025-71291 affects the Linux kernel specifically involving the bcm_vk driver.

4

What is the impact of CVE-2025-71291 on system security?

CVE-2025-71291 could allow for application crashes or unintentional system behavior due to null-pointer dereferences.

5

When was CVE-2025-71291 reported?

CVE-2025-71291 was identified and reported as a vulnerability in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203