CVE-2025-23159
JSON

8.4high

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

Severity
8.4high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 4dd109038d513b92d4d33524ffc89ba32e02ba48, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 8879397c0da5e5ec1515262995e82cdfd61b282a, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 1b8fb257234e7d2d4b3f48af07c5aa5e11c71634, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 4e95233af57715d81830fe82b408c633edff59f4, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 5af611c70fb889d46d2f654b8996746e59556750, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before 530f623f56a6680792499a8404083e17f8ec51f4, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before a062d8de0be5525ec8c52f070acf7607ec8cbfe4, from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before d78a8388a27b265fcb2b8d064f088168ac9356b0 and 2 more
Not affected: before 4.13, from 5.4.293 up to 5.4.*, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.135 up to 6.1.*, from 6.6.88 up to 6.6.*
CVE List
linux linux_kernelfrom 4.13 before 5.4.293, from 5.5 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.135, from 6.2 before 6.6.88, from 6.7 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3NVD
debian debian_linux11.0NVD

All scores

Linux8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: media: venus: hfi: se ha añadido una comprobación para gestionar la escritura OOB en la región sfr. sfr->buf_size se encuentra en memoria compartida y puede ser modificado por un usuario malintencionado. Es posible escribir OOB cuando el tamaño es mayor que el del búfer de datos sfr. En estos casos, limite el tamaño al tamaño asignado.

References

https://git.kernel.org/stable/c/4dd109038d513b92d4d33524ffc89ba32e02ba48patch
https://git.kernel.org/stable/c/8879397c0da5e5ec1515262995e82cdfd61b282apatch
https://git.kernel.org/stable/c/1b8fb257234e7d2d4b3f48af07c5aa5e11c71634patch
https://git.kernel.org/stable/c/4e95233af57715d81830fe82b408c633edff59f4patch
https://git.kernel.org/stable/c/5af611c70fb889d46d2f654b8996746e59556750patch
https://git.kernel.org/stable/c/530f623f56a6680792499a8404083e17f8ec51f4patch
https://git.kernel.org/stable/c/a062d8de0be5525ec8c52f070acf7607ec8cbfe4patch
https://git.kernel.org/stable/c/d78a8388a27b265fcb2b8d064f088168ac9356b0patch
https://git.kernel.org/stable/c/f4b211714bcc70effa60c34d9fa613d182e3ef1epatch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.htmlmailing-list
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.htmlmailing-list

Sources

SourceRecordLicence
CVE ListCVE-2025-23159 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-23159 changed 2026-07-30Public domain