# CVE-2025-23159: media: venus: hfi: add a check to handle OOB in sfr region

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-05-01T12:55:44.695Z
- Modified: 2026-08-05T11:57:10.567Z
- Weaknesses: CWE-787
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; from d96d3f30c0f2f564f6922bf4ccdf4464992e31fb before f4b211714bcc70effa60c34d9fa613d182e3ef1e; 4.13 (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.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 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.3
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/4dd109038d513b92d4d33524ffc89ba32e02ba48> (patch)
- <https://git.kernel.org/stable/c/8879397c0da5e5ec1515262995e82cdfd61b282a> (patch)
- <https://git.kernel.org/stable/c/1b8fb257234e7d2d4b3f48af07c5aa5e11c71634> (patch)
- <https://git.kernel.org/stable/c/4e95233af57715d81830fe82b408c633edff59f4> (patch)
- <https://git.kernel.org/stable/c/5af611c70fb889d46d2f654b8996746e59556750> (patch)
- <https://git.kernel.org/stable/c/530f623f56a6680792499a8404083e17f8ec51f4> (patch)
- <https://git.kernel.org/stable/c/a062d8de0be5525ec8c52f070acf7607ec8cbfe4> (patch)
- <https://git.kernel.org/stable/c/d78a8388a27b265fcb2b8d064f088168ac9356b0> (patch)
- <https://git.kernel.org/stable/c/f4b211714bcc70effa60c34d9fa613d182e3ef1e> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-23159](https://www.cve.org/CVERecord?id=CVE-2025-23159), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-23159](https://nvd.nist.gov/vuln/detail/CVE-2025-23159), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-23159 · Whole record: https://cve.day/CVE-2025-23159.json · Rebuilt by cve.day 2026-11-25T22:58:57.273Z
