CVE-2022-49265
publishedPM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux718072ceb211833f3c71724f49d733d636067191 to < 2039163c30f886cf5638afd6993705ae9bb34a06 · 718072ceb211833f3c71724f49d733d636067191 to < d1b6840d8fb9b35193d45d8fe6b4d830bfd20c3c · 718072ceb211833f3c71724f49d733d636067191 to < fee777ea77769cc5392a34805d9d73099a223fae · 718072ceb211833f3c71724f49d733d636067191 to < f6bfe8b5b2c2a5ac8bd2fc7bca3706e6c3fc26d8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.15.33 through 5.15.* (unaffected · semver) · 5.16.19 through 5.16.* (unaffected · semver) · 5.17.2 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugs390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-coreppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-cores390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-corex86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-devels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-develx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-moduless390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modulesx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extraaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrappc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extras390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debug-modules-extrax86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-s390xs390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-devels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-develx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-docnoarch | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-moduless390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modulesx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extraaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrappc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extras390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-modules-extrax86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolss390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-toolsx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-tools-libsx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdumps390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-cores390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-devels390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-moduless390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-zfcpdump-modules-extras390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perfaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perfppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perfs390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perfx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | perf-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfs390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perfx86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfoaarch64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfoppc64le | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfos390x | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-8 | python3-perf-debuginfox86_64 | Advisory build | 4.18.0-425.3.1.el8 | RHSA-2022:7683 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 5.14.0-162.6.1.el9_1 | RHSA-2022:8267 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove() When a genpd with GENPD_FLAG_IRQ_SAFE gets removed, the following sleep-in-atomic bug will be seen, as genpd_debug_remove() will be called with a spinlock being held. [ 0.029183] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1460 [ 0.029204] in_atomic(): 1, irqs_disabled(): 128, non_block: 0, pid: 1, name: swapper/0 [ 0.029219] preempt_count: 1, expected: 0 [ 0.029230] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.17.0-rc4+ #489 [ 0.029245] Hardware name: Thundercomm TurboX CM2290 (DT) [ 0.029256] Call trace: [ 0.029265] dump_backtrace.part.0+0xbc/0xd0 [ 0.029285] show_stack+0x3c/0xa0 [ 0.029298] dump_stack_lvl+0x7c/0xa0 [ 0.029311] dump_stack+0x18/0x34 [ 0.029323] __might_resched+0x10c/0x13c [ 0.029338] __might_sleep+0x4c/0x80 [ 0.029351] down_read+0x24/0xd0 [ 0.029363] lookup_one_len_unlocked+0x9c/0xcc [ 0.029379] lookup_positive_unlocked+0x10/0x50 [ 0.029392] debugfs_lookup+0x68/0xac [ 0.029406] genpd_remove.part.0+0x12c/0x1b4 [ 0.029419] of_genpd_remove_last+0xa8/0xd4 [ 0.029434] psci_cpuidle_domain_probe+0x174/0x53c [ 0.029449] platform_probe+0x68/0xe0 [ 0.029462] really_probe+0x190/0x430 [ 0.029473] __driver_probe_device+0x90/0x18c [ 0.029485] driver_probe_device+0x40/0xe0 [ 0.029497] __driver_attach+0xf4/0x1d0 [ 0.029508] bus_for_each_dev+0x70/0xd0 [ 0.029523] driver_attach+0x24/0x30 [ 0.029534] bus_add_driver+0x164/0x22c [ 0.029545] driver_register+0x78/0x130 [ 0.029556] __platform_driver_register+0x28/0x34 [ 0.029569] psci_idle_init_domains+0x1c/0x28 [ 0.029583] do_one_initcall+0x50/0x1b0 [ 0.029595] kernel_init_freeable+0x214/0x280 [ 0.029609] kernel_init+0x2c/0x13c [ 0.029622] ret_from_fork+0x10/0x20 It doesn't seem necessary to call genpd_debug_remove() with the lock, so move it out from locking to fix the problem.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 718072ceb211833f3c71724f49d733d636067191 to < 2039163c30f886cf5638afd6993705ae9bb34a06 (affected · git)718072ceb211833f3c71724f49d733d636067191 to < d1b6840d8fb9b35193d45d8fe6b4d830bfd20c3c (affected · git)718072ceb211833f3c71724f49d733d636067191 to < fee777ea77769cc5392a34805d9d73099a223fae (affected · git)718072ceb211833f3c71724f49d733d636067191 to < f6bfe8b5b2c2a5ac8bd2fc7bca3706e6c3fc26d8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.15.33 through 5.15.* (unaffected · semver)5.16.19 through 5.16.* (unaffected · semver)5.17.2 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a36ceff207ada8138ba1d75d7feb11fa94d70cb8f7be5d1f5e2056266a574689
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record