# CVE-2026-43256: media: qcom: camss: vfe: Fix out-of-bounds access in vfe_isr_reg_update()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T11:28:45.209Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

media: qcom: camss: vfe: Fix out-of-bounds access in vfe_isr_reg_update()

vfe_isr() iterates using MSM_VFE_IMAGE_MASTERS_NUM(7) as the loop
bound and passes the index to vfe_isr_reg_update(). However,
vfe->line[] array is defined with VFE_LINE_NUM_MAX(4):

    struct vfe_line line[VFE_LINE_NUM_MAX];

When index is 4, 5, 6, the access to vfe->line[line_id] exceeds
the array bounds and resulting in out-of-bounds memory access.

Fix this by using separate loops for output lines and write masters.

(As written by CVE List.)

## Affected

- Linux Linux: from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before e6cbf765686fb6c1d8f2530b3daf6c66efc92f5d; from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before 0c074e80921fd18984b75836730d76c768c84f65; from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before 1b103307df6d461a0731be25aca69ad0335b0933; from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before fade67c88870f497a13ed450ba01f7236c92dd9b; from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before e7a38ecda2498e7ce998793ac2a46ca47317635d; from 4edc8eae715cecf5f8bf12a0c77c281f336c37db before d965919af524e68cb2ab1a685872050ad2ee933d; 5.18 (not affected: before 5.18; from 6.1.167 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.18 before 6.1.167; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/e6cbf765686fb6c1d8f2530b3daf6c66efc92f5d> (patch)
- <https://git.kernel.org/stable/c/0c074e80921fd18984b75836730d76c768c84f65> (patch)
- <https://git.kernel.org/stable/c/1b103307df6d461a0731be25aca69ad0335b0933> (patch)
- <https://git.kernel.org/stable/c/fade67c88870f497a13ed450ba01f7236c92dd9b> (patch)
- <https://git.kernel.org/stable/c/e7a38ecda2498e7ce998793ac2a46ca47317635d> (patch)
- <https://git.kernel.org/stable/c/d965919af524e68cb2ab1a685872050ad2ee933d> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-43256 · Whole record: https://cve.day/CVE-2026-43256.json · Rebuilt by cve.day 2026-11-25T22:59:20.754Z
