Cloudanix VulnDB

CVE-2025-38237

Medium · 5.5

CVSS

5.5

EPSS

0.2%

Published

Jul 8, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A timing flaw in Linux camera software on certain chips can let nearby users accidentally crash the system or corrupt pictures by starting new tasks before the hardware finishes the last one.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Denial Of Service
Component
OS kernel
Class
Race Condition
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Race condition in fimc_is_hw_change_mode allows camera mode changes to proceed without hardware synchronization via fimc_is_hw_wait_intmsr0_intmsd0, enabling corrupted data or system hangs on subsequent operations.

Why it matters to the business

Embedded Linux systems using Exynos camera hardware face risk of instability, crashes, or data loss during camera operations, increasing downtime on affected devices with high ecosystem prevalence in LTS kernels.

How an attack unfolds

A local attacker invokes the vulnerable mode-change path in the exynos4-is driver; without the hardware wait, the race allows operations to continue before the device is ready, resulting in hangs or corruption.

How to fix it

Upgrade linux-lts (Alpaquita:stream) to 6.6.58-r0 or 6.12.41-r0 and org/pub/scm/linux/kernel/git/stable/linux.git to commit b0d92b94278561f43057003a73a17ce13b7c1a1a; rebuild and reboot with the patched kernel.

How to confirm the fix worked

Confirm kernel version matches a fixed release, inspect source for the added fimc_is_hw_wait_intmsr0_intmsd0 call after mode configuration, and test camera mode transitions for stability.

Typical attack path

  1. Gain local user access on an affected Linux system
  2. Load or interact with the exynos4-is media driver to trigger fimc_is_hw_change_mode
  3. Perform subsequent operations before hardware completion to induce the race
  4. Observe or exploit resulting data corruption or system hang

How to detect it

Review kernel logs for exynos4-is or fimc_is errors around mode changes, look for unexpected hangs or interrupt handling failures in camera subsystems.

What your security team should do

  • Apply the listed fixed kernel versions as highest priority
  • Restrict local access to camera-related drivers where possible
  • Monitor EPSS trend and re-evaluate if exploit maturity increases

The record

In the Linux kernel, the following vulnerability has been resolved: media: platform: exynos4-is: Add hardware sync wait to fimc_is_hw_change_mode() In fimc_is_hw_change_mode(), the function changes camera modes without waiting for hardware completion, risking corrupted data or system hangs if subsequent operations proceed before the hardware is ready. Add fimc_is_hw_wait_intmsr0_intmsd0() after mode configuration, ensuring hardware state synchronization and stable interrupt handling.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard hyperv-daemons-6.12 0 6.12.63-r0
Chainguard linux-aws-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-aws-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-aws-6.12-headers 0 6.12.63-r0
Chainguard linux-aws-6.12-modules 0 6.12.63-r0
Chainguard linux-azure-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-azure-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-azure-6.12-headers 0 6.12.63-r0
Chainguard linux-azure-6.12-modules 0 6.12.63-r0
Chainguard linux-gcp-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-gcp-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-gcp-6.12-headers 0 6.12.63-r0
Chainguard linux-gcp-6.12-modules 0 6.12.63-r0
Chainguard linux-qemu-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-qemu-6.12-headers 0 6.12.63-r0
Chainguard linux-qemu-6.12-modules 0 6.12.63-r0
Chainguard linux-vmware-6.12 0 6.12.67-r0
Chainguard linux-vmware-6.12-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-fips-boot-installed 0 6.12.63-r0
Chainguard linux-vmware-6.12-headers 0 6.12.63-r0
Chainguard linux-vmware-6.12-modules 0 6.12.63-r0
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix
Debian:14 linux 0 6.16.3-1
Linux Kernel 3.10.0 5.4.295

Related vulnerabilities