CVE-2025-23159

media: venus: hfi: add a check to handle OOB in sfr region

8.4 high EPSS 0.23%

Published 1 May 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2025-23159

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

Check my servers

Description

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

media: venus: hfi: add a check to handle OOB in sfr region

sfr->buf_size is in shared memory and can be modified by malicious user. OOB write is possible when the size is made higher than actual sfr data buffer. Cap the size to allocated size for such cases.

Severity (CVSS)

8.4 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.0% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 4dd109038d513b92d4d33524ffc89ba32e02ba48
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 8879397c0da5e5ec1515262995e82cdfd61b282a
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 1b8fb257234e7d2d4b3f48af07c5aa5e11c71634
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 4e95233af57715d81830fe82b408c633edff59f4
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 5af611c70fb889d46d2f654b8996746e59556750
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before 530f623f56a6680792499a8404083e17f8ec51f4
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before a062d8de0be5525ec8c52f070acf7607ec8cbfe4
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before d78a8388a27b265fcb2b8d064f088168ac9356b0
affected from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb, before f4b211714bcc70effa60c34d9fa613d182e3ef1e
Other versions: unaffected
Linux
affected 4.13
unaffected before 4.13
unaffected from 5.4.293 up to and including 5.4.*
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.181 up to and including 5.15.*
unaffected from 6.1.135 up to and including 6.1.*
unaffected from 6.6.88 up to and including 6.6.*
unaffected from 6.12.24 up to and including 6.12.*
unaffected from 6.13.12 up to and including 6.13.*
unaffected from 6.14.3 up to and including 6.14.*
unaffected 6.15 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-23159 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-23159

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-23159
trivy image --scanners vuln IMAGE | grep CVE-2025-23159

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

Source: the record CVE-2025-23159 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.