CVE-2022-49427

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49427
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49427.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49427
Related
Published
2025-02-26T07:01:19Z
Modified
2025-02-26T07:01:19Z
Downstream
Summary
[none]
Details

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

iommu/mediatek: Remove clkdisable in mtkiommu_remove

After the commit b34ea31fe013 ("iommu/mediatek: Always enable the clk on resume"), the iommu clock is controlled by the runtime callback. thus remove the clk control in the mtkiommuremove.

Otherwise, it will warning like:

echo 14018000.iommu > /sys/bus/platform/drivers/mtk-iommu/unbind

[ 51.413044] ------------[ cut here ]------------ [ 51.413648] vpp0smiiommu already disabled [ 51.414233] WARNING: CPU: 2 PID: 157 at */v5.15-rc1/kernel/mediatek/ drivers/clk/clk.c:952 clkcoredisable+0xb0/0xb8 [ 51.417174] Hardware name: MT8195V/C(ENG) (DT) [ 51.418635] pc : clkcoredisable+0xb0/0xb8 [ 51.419177] lr : clkcoredisable+0xb0/0xb8 ... [ 51.429375] Call trace: [ 51.429694] clkcoredisable+0xb0/0xb8 [ 51.430193] clkcoredisablelock+0x24/0x40 [ 51.430745] clkdisable+0x20/0x30 [ 51.431189] mtkiommuremove+0x58/0x118 [ 51.431705] platformremove+0x28/0x60 [ 51.432197] devicereleasedriverinternal+0x110/0x1f0 [ 51.432873] devicedriverdetach+0x18/0x28 [ 51.433418] unbindstore+0xd4/0x108 [ 51.433886] drvattrstore+0x24/0x38 [ 51.434363] sysfskfwrite+0x40/0x58 [ 51.434843] kernfsfopwriteiter+0x164/0x1e0

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.18.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}