# CVE-2022-49841: serial: imx: Add missing .thaw\_noirq hook

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-05-01T14:09:56.980Z
- **Modified:** 2026-11-05T20:17:16.030Z

## Who should check

- Anyone running Linux \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e401312ca6e180ee1bd65f6a766e99dd40aa95e7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 476b09e07bd519ec7ba5941a6a6f9a02256dbb21; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 0a3160f4ffc70ee4bfa1521f698dace06e6091fd; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< ae22294e213a402a70fa1731538367d1b758ffe7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e3f9d87d6f0732827c443bd1474df21c2fad704b; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 4561d8008a467cb05ac632a215391d6b787f40aa
- Anyone running Linux 4.16

## Description

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

serial: imx: Add missing .thaw\_noirq hook

The following warning is seen with non-console UART instance when
system hibernates.

\[   37.371969\] ------------\[ cut here \]------------
\[   37.376599\] uart3\_root\_clk already disabled
\[   37.380810\] WARNING: CPU: 0 PID: 296 at drivers/clk/clk.c:952 clk\_core\_disable+0xa4/0xb0
...
\[   37.506986\] Call trace:
\[   37.509432\]  clk\_core\_disable+0xa4/0xb0
\[   37.513270\]  clk\_disable+0x34/0x50
\[   37.516672\]  imx\_uart\_thaw+0x38/0x5c
\[   37.520250\]  platform\_pm\_thaw+0x30/0x6c
\[   37.524089\]  dpm\_run\_callback.constprop.0+0x3c/0xd4
\[   37.528972\]  device\_resume+0x7c/0x160
\[   37.532633\]  dpm\_resume+0xe8/0x230
\[   37.536036\]  hibernation\_snapshot+0x288/0x430
\[   37.540397\]  hibernate+0x10c/0x2e0
\[   37.543798\]  state\_store+0xc4/0xd0
\[   37.547203\]  kobj\_attr\_store+0x1c/0x30
\[   37.550953\]  sysfs\_kf\_write+0x48/0x60
\[   37.554619\]  kernfs\_fop\_write\_iter+0x118/0x1ac
\[   37.559063\]  new\_sync\_write+0xe8/0x184
\[   37.562812\]  vfs\_write+0x230/0x290
\[   37.566214\]  ksys\_write+0x68/0xf4
\[   37.569529\]  \_\_arm64\_sys\_write+0x20/0x2c
\[   37.573452\]  invoke\_syscall.constprop.0+0x50/0xf0
\[   37.578156\]  do\_el0\_svc+0x11c/0x150
\[   37.581648\]  el0\_svc+0x30/0x140
\[   37.584792\]  el0t\_64\_sync\_handler+0xe8/0xf0
\[   37.588976\]  el0t\_64\_sync+0x1a0/0x1a4
\[   37.592639\] ---\[ end trace 56e22eec54676d75 \]---

On hibernating, pm core calls into related hooks in sequence like:

    .freeze
    .freeze\_noirq
    .thaw\_noirq
    .thaw

With .thaw\_noirq hook being absent, the clock will be disabled in a
unbalanced call which results the warning above.

    imx\_uart\_freeze()
        clk\_prepare\_enable()
    imx\_uart\_suspend\_noirq()
        clk\_disable()
    imx\_uart\_thaw
        clk\_disable\_unprepare()

Adding the missing .thaw\_noirq hook as imx\_uart\_resume\_noirq() will have
the call sequence corrected as below and thus fix the warning.

    imx\_uart\_freeze()
        clk\_prepare\_enable()
    imx\_uart\_suspend\_noirq()
        clk\_disable()
    imx\_uart\_resume\_noirq()
        clk\_enable()
    imx\_uart\_thaw
        clk\_disable\_unprepare()

## Affected and fixed versions

- Linux: \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e401312ca6e180ee1bd65f6a766e99dd40aa95e7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 476b09e07bd519ec7ba5941a6a6f9a02256dbb21; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 0a3160f4ffc70ee4bfa1521f698dace06e6091fd; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< ae22294e213a402a70fa1731538367d1b758ffe7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e3f9d87d6f0732827c443bd1474df21c2fad704b; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 4561d8008a467cb05ac632a215391d6b787f40aa (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- Upgrade Linux to 4561d8008a467cb05ac632a215391d6b787f40aa 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-49841. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49841.md
Affected: Linux >= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, < e401312ca6e180ee1bd65f6a766e99dd40aa95e7; >= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, < 476b09e07bd519ec7ba5941a6a6f9a02256dbb21; >= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, < 0a3160f4ffc70ee4bfa1521f698dace06e6091fd; >= 09df0b3464e528c6a4ca2c4…
Fixed in: Linux 476b09e07bd519ec7ba5941a6a6f9a02256dbb21, Linux 0a3160f4ffc70ee4bfa1521f698dace06e6091fd, Linux 4561d8008a467cb05ac632a215391d6b787f40aa

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-49841 being exploited?

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

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

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

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

Linux \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e401312ca6e180ee1bd65f6a766e99dd40aa95e7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 476b09e07bd519ec7ba5941a6a6f9a02256dbb21; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 0a3160f4ffc70ee4bfa1521f698dace06e6091fd; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< ae22294e213a402a70fa1731538367d1b758ffe7; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< e3f9d87d6f0732827c443bd1474df21c2fad704b; \>= 09df0b3464e528c6a4ca2c48d9ff6d2fd7cbd775, \< 4561d8008a467cb05ac632a215391d6b787f40aa; Linux 4.16.

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

Yes. Fixed in Linux 476b09e07bd519ec7ba5941a6a6f9a02256dbb21, Linux 0a3160f4ffc70ee4bfa1521f698dace06e6091fd, Linux 4561d8008a467cb05ac632a215391d6b787f40aa. Upgrade Linux to 4561d8008a467cb05ac632a215391d6b787f40aa or later.

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

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/e401312ca6e180ee1bd65f6a766e99dd40aa95e7>
- patch: <https://git.kernel.org/stable/c/476b09e07bd519ec7ba5941a6a6f9a02256dbb21>
- patch: <https://git.kernel.org/stable/c/0a3160f4ffc70ee4bfa1521f698dace06e6091fd>
- patch: <https://git.kernel.org/stable/c/ae22294e213a402a70fa1731538367d1b758ffe7>
- patch: <https://git.kernel.org/stable/c/e3f9d87d6f0732827c443bd1474df21c2fad704b>
- patch: <https://git.kernel.org/stable/c/4561d8008a467cb05ac632a215391d6b787f40aa>

## 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-49841>

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