CVE-2025-71291
misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()
Check your servers for CVE-2025-71291
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-71291 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
misc: bcm_vk: Fix possible null-pointer dereferences in bcm_vk_read()
In the function bcm_vk_read(), 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 vk_msg_blk tmp_msg = entry->to_h_msg[0]; set_msg_id(&tmp_msg, entry->usr_msg_id); tmp_msg.size = entry->to_h_blks - 1;
To prevent these possible null-pointer dereferences, copy to_h_msg, usr_msg_id, and to_h_blks from iter into temporary variables, and return these temporary variables to the application instead of accessing them through a potentially NULL entry.
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.20% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before 741c5a3a0cd893a4218fc0fc8c18403e54fcfb22 affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before ece3722169ba93734bfd1f06255e8ab7f19fe964 affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before 3842f93e6e29d5cc1dcb9e5bda70587b444bed69 affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before 20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd affected from 88517757a829e9ce146a6c7233ad5dcdc66fcbb0, before ba75ecb97d3f4e95d59002c13afb6519205be6cb
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.16 up to and including 6.18.* unaffected from 6.19.6 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-71291 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-71291
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-71291
trivy image --scanners vuln IMAGE | grep CVE-2025-71291
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/741c5a3a0cd893a4218fc0fc8c18403e54fcfb22 git.kernel.org
- https://git.kernel.org/stable/c/ece3722169ba93734bfd1f06255e8ab7f19fe964 git.kernel.org
- https://git.kernel.org/stable/c/aa97ccc3dc1eba9f4537f0410e9dbb0b05ccf2fb git.kernel.org
- https://git.kernel.org/stable/c/3842f93e6e29d5cc1dcb9e5bda70587b444bed69 git.kernel.org
- https://git.kernel.org/stable/c/20f2d9dbe5e972516f8f9948d7ae5b95d1ad77bd git.kernel.org
- https://git.kernel.org/stable/c/ba75ecb97d3f4e95d59002c13afb6519205be6cb git.kernel.org
Source: the record CVE-2025-71291 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse