Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50635

published

powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()

Published
09 Dec 2025, 00:00:08 UTC
Updated
11 May 2026, 19:22:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb4657f7650babc9bfb41ce875abe41b18604a105 to < 7f536a8cb62dd5c084f112373fc34cdb5168a813 · b4657f7650babc9bfb41ce875abe41b18604a105 to < 4eac4f6a86ae73ef4b772d37398beeba2fbfde4e · b4657f7650babc9bfb41ce875abe41b18604a105 to < 5fd1b369387c53ee6c774ab86e32e362a1e537ac · b4657f7650babc9bfb41ce875abe41b18604a105 to < 97f88a3d723162781d6cbfdc7b9617eefab55b19 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.15.75 through 5.15.* (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 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-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftools390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftoolx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 bpftool-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelsrc Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernelx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-abi-stablelistsnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debugx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-coreppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-corex86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debug-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-aarch64aarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-ppc64leppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-s390xs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-debuginfo-common-x86_64x86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-docnoarch Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modulesx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extraaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrappc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-modules-extrax86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolss390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-toolsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libsx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-tools-libs-develx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdumps390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-cores390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-devels390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-moduless390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 kernel-zfcpdump-modules-extras390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfs390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perfx86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoaarch64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfoppc64le Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfos390x Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-8 python3-perf-debuginfox86_64 Advisory build 4.18.0-553.el8_10 RHSA-2024:3138
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.0.0-284.11.1.el9_2 RHSA-2023:2458

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe() I found a null pointer reference in arch_prepare_kprobe(): # echo 'p cmdline_proc_show' > kprobe_events # echo 'p cmdline_proc_show+16' >> kprobe_events Kernel attempted to read user page (0) - exploit attempt? (uid: 0) BUG: Kernel NULL pointer dereference on read at 0x00000000 Faulting instruction address: 0xc000000000050bfc Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA PowerNV Modules linked in: CPU: 0 PID: 122 Comm: sh Not tainted 6.0.0-rc3-00007-gdcf8e5633e2e #10 NIP: c000000000050bfc LR: c000000000050bec CTR: 0000000000005bdc REGS: c0000000348475b0 TRAP: 0300 Not tainted (6.0.0-rc3-00007-gdcf8e5633e2e) MSR: 9000000000009033 <SF,HV,EE,ME,IR,DR,RI,LE> CR: 88002444 XER: 20040006 CFAR: c00000000022d100 DAR: 0000000000000000 DSISR: 40000000 IRQMASK: 0 ... NIP arch_prepare_kprobe+0x10c/0x2d0 LR arch_prepare_kprobe+0xfc/0x2d0 Call Trace: 0xc0000000012f77a0 (unreliable) register_kprobe+0x3c0/0x7a0 __register_trace_kprobe+0x140/0x1a0 __trace_kprobe_create+0x794/0x1040 trace_probe_create+0xc4/0xe0 create_or_delete_trace_kprobe+0x2c/0x80 trace_parse_run_command+0xf0/0x210 probes_write+0x20/0x40 vfs_write+0xfc/0x450 ksys_write+0x84/0x140 system_call_exception+0x17c/0x3a0 system_call_vectored_common+0xe8/0x278 --- interrupt: 3000 at 0x7fffa5682de0 NIP: 00007fffa5682de0 LR: 0000000000000000 CTR: 0000000000000000 REGS: c000000034847e80 TRAP: 3000 Not tainted (6.0.0-rc3-00007-gdcf8e5633e2e) MSR: 900000000280f033 <SF,HV,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE> CR: 44002408 XER: 00000000 The address being probed has some special: cmdline_proc_show: Probe based on ftrace cmdline_proc_show+16: Probe for the next instruction at the ftrace location The ftrace-based kprobe does not generate kprobe::ainsn::insn, it gets set to NULL. In arch_prepare_kprobe() it will check for: ... prev = get_kprobe(p->addr - 1); preempt_enable_no_resched(); if (prev && ppc_inst_prefixed(ppc_inst_read(prev->ainsn.insn))) { ... If prev is based on ftrace, 'ppc_inst_read(prev->ainsn.insn)' will occur with a null pointer reference. At this point prev->addr will not be a prefixed instruction, so the check can be skipped. Check if prev is ftrace-based kprobe before reading 'prev->ainsn.insn' to fix this problem. [mpe: Trim oops]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b4657f7650babc9bfb41ce875abe41b18604a105 to < 7f536a8cb62dd5c084f112373fc34cdb5168a813 (affected · git)b4657f7650babc9bfb41ce875abe41b18604a105 to < 4eac4f6a86ae73ef4b772d37398beeba2fbfde4e (affected · git)b4657f7650babc9bfb41ce875abe41b18604a105 to < 5fd1b369387c53ee6c774ab86e32e362a1e537ac (affected · git)b4657f7650babc9bfb41ce875abe41b18604a105 to < 97f88a3d723162781d6cbfdc7b9617eefab55b19 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.15.75 through 5.15.* (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

powerpc/kprobes: Fix null pointer reference in arch_prepare_kprobe()

Provenance

Schema
5.2
Searchable
yes
Content hash
25ac3fa701de3801a3db743c9077f7b770012000ea56526064a729af212b809c
Ingested
23 Sep 2026, 08:04:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected