CVE-2022-50159
publishedof: check previous kernel's ima-kexec-buffer against memory bounds
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux467d27824920e866af148132f555d40ca1fb199e to < beb5bba5dd132650c073f815c685c60c3e5b783b · 467d27824920e866af148132f555d40ca1fb199e to < dc3b8525f83ac6bbc885bb24bbb8a76f4622200e · 467d27824920e866af148132f555d40ca1fb199e to < 1b2263d6c86fca8f30e18231778393bfc287bb27 · 467d27824920e866af148132f555d40ca1fb199e to < cbf9c4b9617b6767886a913705ca14b7600c77db · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.10 (affected) · 0 to < 4.10 (unaffected · semver) · 5.15.61 through 5.15.* (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64kaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debugaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-develaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modulesaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-64k-debuginfoaarch64 | Advisory build | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: of: check previous kernel's ima-kexec-buffer against memory bounds Presently ima_get_kexec_buffer() doesn't check if the previous kernel's ima-kexec-buffer lies outside the addressable memory range. This can result in a kernel panic if the new kernel is booted with 'mem=X' arg and the ima-kexec-buffer was allocated beyond that range by the previous kernel. The panic is usually of the form below: $ sudo kexec --initrd initrd vmlinux --append='mem=16G' <snip> BUG: Unable to handle kernel data access on read at 0xc000c01fff7f0000 Faulting instruction address: 0xc000000000837974 Oops: Kernel access of bad area, sig: 11 [#1] <snip> NIP [c000000000837974] ima_restore_measurement_list+0x94/0x6c0 LR [c00000000083b55c] ima_load_kexec_buffer+0xac/0x160 Call Trace: [c00000000371fa80] [c00000000083b55c] ima_load_kexec_buffer+0xac/0x160 [c00000000371fb00] [c0000000020512c4] ima_init+0x80/0x108 [c00000000371fb70] [c0000000020514dc] init_ima+0x4c/0x120 [c00000000371fbf0] [c000000000012240] do_one_initcall+0x60/0x2c0 [c00000000371fcc0] [c000000002004ad0] kernel_init_freeable+0x344/0x3ec [c00000000371fda0] [c0000000000128a4] kernel_init+0x34/0x1b0 [c00000000371fe10] [c00000000000ce64] ret_from_kernel_thread+0x5c/0x64 Instruction dump: f92100b8 f92100c0 90e10090 910100a0 4182050c 282a0017 3bc00000 40810330 7c0802a6 fb610198 7c9b2378 f80101d0 <a1240000> 2c090001 40820614 e9240010 ---[ end trace 0000000000000000 ]--- Fix this issue by checking returned PFN range of previous kernel's ima-kexec-buffer with page_is_ram() to ensure correct memory bounds.
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 | 467d27824920e866af148132f555d40ca1fb199e to < beb5bba5dd132650c073f815c685c60c3e5b783b (affected · git)467d27824920e866af148132f555d40ca1fb199e to < dc3b8525f83ac6bbc885bb24bbb8a76f4622200e (affected · git)467d27824920e866af148132f555d40ca1fb199e to < 1b2263d6c86fca8f30e18231778393bfc287bb27 (affected · git)467d27824920e866af148132f555d40ca1fb199e to < cbf9c4b9617b6767886a913705ca14b7600c77db (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.10 (affected)0 to < 4.10 (unaffected · semver)5.15.61 through 5.15.* (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
of: check previous kernel's ima-kexec-buffer against memory bounds
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e39139375c1cc8f509fd6eb285e2a645775af2408ed67356e160e730af14d61a
- Ingested
- 07 Nov 2026, 23:07:48 UTC
- Source record
- Official CVE record