CVE-2025-40208

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40208
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40208.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40208
Downstream
Published
2025-11-12T21:56:36.261Z
Modified
2025-11-17T04:30:26.421943Z
Summary
media: iris: fix module removal if firmware download failed
Details

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

media: iris: fix module removal if firmware download failed

Fix remove if firmware failed to load: qcom-iris aa00000.video-codec: Direct firmware load for qcom/vpu/vpu33_p4.mbn failed with error -2 qcom-iris aa00000.video-codec: firmware download failed qcom-iris aa00000.video-codec: core init failed

then: $ echo aa00000.video-codec > /sys/bus/platform/drivers/qcom-iris/unbind

Triggers: genpd genpd:1:aa00000.video-codec: Runtime PM usage count underflow! ------------[ cut here ]------------ videoccmvs0clk already disabled WARNING: drivers/clk/clk.c:1206 at clkcoredisable+0xa4/0xac, CPU#1: sh/542 <snip> pc : clkcoredisable+0xa4/0xac lr : clkcoredisable+0xa4/0xac <snip> Call trace: clkcoredisable+0xa4/0xac (P) clkdisable+0x30/0x4c irisdisableunprepareclock+0x20/0x48 [qcomiris] irisvpupoweroffhw+0x48/0x58 [qcomiris] irisvpu33poweroffhardware+0x44/0x230 [qcomiris] irisvpupoweroff+0x34/0x84 [qcomiris] iriscoredeinit+0x44/0xc8 [qcomiris] irisremove+0x20/0x48 [qcomiris] platformremove+0x20/0x30 deviceremove+0x4c/0x80 <snip> ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ videoccmvs0clk already unprepared WARNING: drivers/clk/clk.c:1065 at clkcoreunprepare+0xf0/0x110, CPU#2: sh/542 <snip> pc : clkcoreunprepare+0xf0/0x110 lr : clkcoreunprepare+0xf0/0x110 <snip> Call trace: clkcoreunprepare+0xf0/0x110 (P) clkunprepare+0x2c/0x44 irisdisableunprepareclock+0x28/0x48 [qcomiris] irisvpupoweroffhw+0x48/0x58 [qcomiris] irisvpu33poweroffhardware+0x44/0x230 [qcomiris] irisvpupoweroff+0x34/0x84 [qcomiris] iriscoredeinit+0x44/0xc8 [qcomiris] irisremove+0x20/0x48 [qcomiris] platformremove+0x20/0x30 deviceremove+0x4c/0x80 <snip> ---[ end trace 0000000000000000 ]--- genpd genpd:0:aa00000.video-codec: Runtime PM usage count underflow! ------------[ cut here ]------------ gccvideoaxi0clk already disabled WARNING: drivers/clk/clk.c:1206 at clkcoredisable+0xa4/0xac, CPU#4: sh/542 <snip> pc : clkcoredisable+0xa4/0xac lr : clkcoredisable+0xa4/0xac <snip> Call trace: clkcoredisable+0xa4/0xac (P) clkdisable+0x30/0x4c irisdisableunprepareclock+0x20/0x48 [qcomiris] irisvpu33poweroffcontroller+0x17c/0x428 [qcomiris] irisvpupoweroff+0x48/0x84 [qcomiris] iriscoredeinit+0x44/0xc8 [qcomiris] irisremove+0x20/0x48 [qcomiris] platformremove+0x20/0x30 deviceremove+0x4c/0x80 <snip> ------------[ cut here ]------------ gccvideoaxi0clk already unprepared WARNING: drivers/clk/clk.c:1065 at clkcoreunprepare+0xf0/0x110, CPU#4: sh/542 <snip> pc : clkcoreunprepare+0xf0/0x110 lr : clkcoreunprepare+0xf0/0x110 <snip> Call trace: clkcoreunprepare+0xf0/0x110 (P) clkunprepare+0x2c/0x44 irisdisableunprepareclock+0x28/0x48 [qcomiris] irisvpu33poweroffcontroller+0x17c/0x428 [qcomiris] irisvpupoweroff+0x48/0x84 [qcomiris] iriscoredeinit+0x44/0xc8 [qcomiris] irisremove+0x20/0x48 [qcomiris] platformremove+0x20/0x30 deviceremove+0x4c/0x80 <snip> ---[ end trace 0000000000000000 ]---

Skip deinit if initialization never succeeded.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d7378f84e94e14998b3469dcc0d8ce609d049ccc
Fixed
7a0a77b936ff28f59c271172e81cefebf7b2b7a6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d7378f84e94e14998b3469dcc0d8ce609d049ccc
Fixed
fde38008fc4f43db8c17869491870df24b501543

Affected versions

v6.*

v6.14
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.17.4