7.8
/ 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
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.
Basic Information
ID
CVE-2026-43256
Source
Linux
Published
May 6, 2026 at 11:28
Modified
May 8, 2026 at 12:41
Affected Product
Vendor
Linux
Product
Linux
Version
4edc8eae715cecf5f8bf12a0c77c281f336c37db
Affected Versions
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 5.18
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 4edc8eae715cecf5f8bf12a0c77c281f336c37db
Linux Linux 5.18
References
- git.kernel.org /stable/c/e6cbf765686fb6c1d8f2530b3daf6c66efc92f5d
- git.kernel.org /stable/c/0c074e80921fd18984b75836730d76c768c84f65
- git.kernel.org /stable/c/1b103307df6d461a0731be25aca69ad0335b0933
- git.kernel.org /stable/c/fade67c88870f497a13ed450ba01f7236c92dd9b
- git.kernel.org /stable/c/e7a38ecda2498e7ce998793ac2a46ca47317635d
- git.kernel.org /stable/c/d965919af524e68cb2ab1a685872050ad2ee933d