CVE-2025-23159

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 12:55 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.13 ≤ v < 5.10.2374.13 ≤ v < 5.15.1814.13 ≤ v < 5.4.2934.13 ≤ v < 6.1.1354.13 ≤ v < 6.12.244.13 ≤ v < 6.13.124.13 ≤ v < 6.14.34.13 ≤ v < 6.154.13 ≤ v < 6.6.885.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1355.5 ≤ v < 5.10.2376.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.244.13d96d3f30c0f2f564f6922bf4ccdf4464992e31fb
Vendor states this is fixed in 1b8fb257234e7d2d4b3f48af07c5aa5e11c71634 (fixed)
Vendor states this is fixed in 4dd109038d513b92d4d33524ffc89ba32e02ba48 (fixed)
Vendor states this is fixed in 4e95233af57715d81830fe82b408c633edff59f4 (fixed)
Vendor states this is fixed in 530f623f56a6680792499a8404083e17f8ec51f4 (fixed)
Vendor states this is fixed in 5af611c70fb889d46d2f654b8996746e59556750 (fixed)
Vendor states this is fixed in 8879397c0da5e5ec1515262995e82cdfd61b282a (fixed)
Vendor states this is fixed in a062d8de0be5525ec8c52f070acf7607ec8cbfe4 (fixed)
Vendor states this is fixed in d78a8388a27b265fcb2b8d064f088168ac9356b0 (fixed)
Vendor states this is fixed in f4b211714bcc70effa60c34d9fa613d182e3ef1e (fixed)
Vendor states this is fixed in 4.13 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 5.4.293 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b8fb257234e7d2d4b3f48af07c5aa5e11c71634
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4dd109038d513b92d4d33524ffc89ba32e02ba48
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e95233af57715d81830fe82b408c633edff59f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/530f623f56a6680792499a8404083e17f8ec51f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5af611c70fb889d46d2f654b8996746e59556750
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8879397c0da5e5ec1515262995e82cdfd61b282a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a062d8de0be5525ec8c52f070acf7607ec8cbfe4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d78a8388a27b265fcb2b8d064f088168ac9356b0

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card