CVE-2026-43256

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

State
Published
Severity
7.8 High
Published
May 6, 2026
Updated
Aug 5, 2026
Reserved
May 1, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before e6cbf765686fb6c1d8f2530b3daf6c66efc92f5dAffected
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before 0c074e80921fd18984b75836730d76c768c84f65Affected
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before 1b103307df6d461a0731be25aca69ad0335b0933Affected
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before fade67c88870f497a13ed450ba01f7236c92dd9bAffected
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before e7a38ecda2498e7ce998793ac2a46ca47317635dAffected
  • 4edc8eae715cecf5f8bf12a0c77c281f336c37db to before d965919af524e68cb2ab1a685872050ad2ee933dAffected
LinuxLinux
  • 5.18Affected
  • before 5.18Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.