BreachSpiderVerified, not vibes

CVE-2022-50657 in Kernel products

No CVSS score published

In the Linux kernel, the following vulnerability has been resolved: riscv: mm: add missing memcpy in kasan_init Hi Atish, It seems that the panic is due to the missing memcpy during kasan_init. Could you please check whether this patch is helpful? When doing kasan_populate, the new allocated base_pud/base_p4d sh...

Affects 0 products from 5 vendors. Facts below cite their sources.

EPSS0.3%
EPSS percentile11th
FixUnknown

Affected products and versions

VendorProductAffected versions
Kernel — —
Linux — —
Panic — —
Qemu — —
Risc-V — —
Linux Linux Firmware 5.18

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In the Linux kernel, the following vulnerability has been resolved: riscv: mm: add missing memcpy in kasan_init Hi Atish, It seems that the panic is due to the missing memcpy during kasan_init. Could you please check whether this patch is helpful? When doing kasan_populate, the new allocated base_pud/base_p4d should contain kasan_early_shadow_{pud, p4d}'s content. Add the missing memcpy to avoid page fault when read/write kasan shadow region. Tested on: - qemu with sv57 and CONFIG_KASAN on. - qemu with sv48 and CONFIG_KASAN on.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-50657
BreachSpider IDBS-2025-GLOBAL-340915-I
Published2025-12-09
Last modified2026-11-10
SourceNVD

Analysis AI-written, not human-reviewed

A vulnerability in the Linux kernel's RISC-V memory management module (mm) was identified where a missing memcpy operation during kasan_init could lead to incorrect memory initialization, potentially causing system instability or security issues.

The vulnerability arises from a missing memcpy operation in the kasan_init function, which is responsible for initializing the Kernel Address Sanitizer (KASAN) shadow memory. This omission can lead to uninitialized memory being used, which might be exploited by an attacker to cause a denial of service or potentially execute arbitrary code, depending on the context in which the uninitialized memory is accessed.

Questions

What is CVE-2022-50657?

A vulnerability in the Linux kernel's RISC-V memory management module (mm) was identified where a missing memcpy operation during kasan_init could lead to incorrect memory initialization, potentially causing system instability or security issues.

Is CVE-2022-50657 actively exploited?

No confirmed active exploitation of CVE-2022-50657 as of 2026-11-11.

How do I remediate CVE-2022-50657?

Priority: MEDIUM.

What systems are affected by CVE-2022-50657?

CVE-2022-50657 affects Kernel; Linux; Panic; Qemu; Risc-V.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Kernel","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.