# CVE-2022-49458: drm/msm: don't free the IRQ if it was not requested

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T02:13:06.202Z
- **Modified:** 2026-06-17T05:18:06.570Z

## Who should check

- Anyone running Linux \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< beb81c13d020ceb7f8693e65464162e5f249218e; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< b288ec4439c1dad304c1862bf6b0be78d9b1b2b2; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 59023c4fb1ab3de0fa001681650f662c253c7fd7; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb
- Anyone running Linux 5.15

## Description

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

drm/msm: don't free the IRQ if it was not requested

As msm\_drm\_uninit() is called from the msm\_drm\_init() error path,
additional care should be necessary as not to call the free\_irq() for
the IRQ that was not requested before (because an error occured earlier
than the request\_irq() call).

This fixed the issue reported with the following backtrace:

\[    8.571329\] Trying to free already-free IRQ 187
\[    8.571339\] WARNING: CPU: 0 PID: 76 at kernel/irq/manage.c:1895 free\_irq+0x1e0/0x35c
\[    8.588746\] Modules linked in: pmic\_glink pdr\_interface fastrpc qrtr\_smd snd\_soc\_hdmi\_codec msm fsa4480 gpu\_sched drm\_dp\_aux\_bus qrtr i2c\_qcom\_geni crct10dif\_ce qcom\_stats qcom\_q6v5\_pas drm\_display\_helper gpi qcom\_pil\_info drm\_kms\_helper qcom\_q6v5 qcom\_sysmon qcom\_common qcom\_glink\_smem qcom\_rng mdt\_loader qmi\_helpers phy\_qcom\_qmp ufs\_qcom typec qnoc\_sm8350 socinfo rmtfs\_mem fuse drm ipv6
\[    8.624154\] CPU: 0 PID: 76 Comm: kworker/u16:2 Not tainted 5.18.0-rc5-next-20220506-00033-g6cee8cab6089-dirty \#419
\[    8.624161\] Hardware name: Qualcomm Technologies, Inc. SM8350 HDK (DT)
\[    8.641496\] Workqueue: events\_unbound deferred\_probe\_work\_func
\[    8.647510\] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
\[    8.654681\] pc : free\_irq+0x1e0/0x35c
\[    8.658454\] lr : free\_irq+0x1e0/0x35c
\[    8.662228\] sp : ffff800008ab3950
\[    8.665642\] x29: ffff800008ab3950 x28: 0000000000000000 x27: ffff16350f56a700
\[    8.672994\] x26: ffff1635025df080 x25: ffff16350251badc x24: ffff16350251bb90
\[    8.680343\] x23: 0000000000000000 x22: 00000000000000bb x21: ffff16350e8f9800
\[    8.687690\] x20: ffff16350251ba00 x19: ffff16350cbd5880 x18: ffffffffffffffff
\[    8.695039\] x17: 0000000000000000 x16: ffffa2dd12179434 x15: ffffa2dd1431d02d
\[    8.702391\] x14: 0000000000000000 x13: ffffa2dd1431d028 x12: 662d79646165726c
\[    8.709740\] x11: ffffa2dd13fd2438 x10: 000000000000000a x9 : 00000000000000bb
\[    8.717111\] x8 : ffffa2dd13fd23f0 x7 : ffff800008ab3750 x6 : 00000000fffff202
\[    8.724487\] x5 : ffff16377e870a18 x4 : 00000000fffff202 x3 : ffff735a6ae1b000
\[    8.731851\] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff1635015f8000
\[    8.739217\] Call trace:
\[    8.741755\]  free\_irq+0x1e0/0x35c
\[    8.745198\]  msm\_drm\_uninit.isra.0+0x14c/0x294 \[msm\]
\[    8.750548\]  msm\_drm\_bind+0x28c/0x5d0 \[msm\]
\[    8.755081\]  try\_to\_bring\_up\_aggregate\_device+0x164/0x1d0
\[    8.760657\]  \_\_component\_add+0xa0/0x170
\[    8.764626\]  component\_add+0x14/0x20
\[    8.768337\]  dp\_display\_probe+0x2a4/0x464 \[msm\]
\[    8.773242\]  platform\_probe+0x68/0xe0
\[    8.777043\]  really\_probe.part.0+0x9c/0x28c
\[    8.781368\]  \_\_driver\_probe\_device+0x98/0x144
\[    8.785871\]  driver\_probe\_device+0x40/0x140
\[    8.790191\]  \_\_device\_attach\_driver+0xb4/0x120
\[    8.794788\]  bus\_for\_each\_drv+0x78/0xd0
\[    8.798751\]  \_\_device\_attach+0xdc/0x184
\[    8.802713\]  device\_initial\_probe+0x14/0x20
\[    8.807031\]  bus\_probe\_device+0x9c/0xa4
\[    8.810991\]  deferred\_probe\_work\_func+0x88/0xc0
\[    8.815667\]  process\_one\_work+0x1d0/0x320
\[    8.819809\]  worker\_thread+0x14c/0x444
\[    8.823688\]  kthread+0x10c/0x110
\[    8.827036\]  ret\_from\_fork+0x10/0x20

Patchwork: https://patchwork.freedesktop.org/patch/485422/

## Affected and fixed versions

- Linux: \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< beb81c13d020ceb7f8693e65464162e5f249218e; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< b288ec4439c1dad304c1862bf6b0be78d9b1b2b2; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 59023c4fb1ab3de0fa001681650f662c253c7fd7; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49458. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49458.md
Affected: Linux >= f026e431cf861197dc03217d1920b38b80b31dd9, < beb81c13d020ceb7f8693e65464162e5f249218e; >= f026e431cf861197dc03217d1920b38b80b31dd9, < b288ec4439c1dad304c1862bf6b0be78d9b1b2b2; >= f026e431cf861197dc03217d1920b38b80b31dd9, < 59023c4fb1ab3de0fa001681650f662c253c7fd7; >= f026e431cf861197dc03217…
Fixed in: Linux 59023c4fb1ab3de0fa001681650f662c253c7fd7, Linux 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49458 being exploited?

There is no confirmed exploitation: CVE-2022-49458 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49458?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49458?

Linux \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< beb81c13d020ceb7f8693e65464162e5f249218e; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< b288ec4439c1dad304c1862bf6b0be78d9b1b2b2; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 59023c4fb1ab3de0fa001681650f662c253c7fd7; \>= f026e431cf861197dc03217d1920b38b80b31dd9, \< 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb; Linux 5.15.

### Is there a fix for CVE-2022-49458?

Yes. Fixed in Linux 59023c4fb1ab3de0fa001681650f662c253c7fd7, Linux 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb. Upgrade Linux to 577e2a9dfc8fba7938aaf75db63fae7e328cc3cb or later.

### How do I check if I'm affected by CVE-2022-49458?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/beb81c13d020ceb7f8693e65464162e5f249218e>
- patch: <https://git.kernel.org/stable/c/b288ec4439c1dad304c1862bf6b0be78d9b1b2b2>
- patch: <https://git.kernel.org/stable/c/59023c4fb1ab3de0fa001681650f662c253c7fd7>
- patch: <https://git.kernel.org/stable/c/577e2a9dfc8fba7938aaf75db63fae7e328cc3cb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49458>

HTML: <https://flawdb.com/CVE-2022-49458> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49458>
