What’s Vulnerable › Vulnerabilities
CVE-2022-50380: mm: /proc/pid/smaps_rollup: fix no vma's null-deref
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-18 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: mm: /proc/pid/smaps_rollup: fix no vma's null-deref Commit 258f669e7e88 ("mm: /proc/pid/smaps_rollup: convert to single value seq_file") introduced a null-deref if there are no vma's in the task in show_smaps_rollup.
Affected products
- Linux kernel: from 4.19 before 4.19.264; from 4.20 before 5.4.221; from 5.5 before 5.10.152; from 5.11 before 5.15.76; from 5.16 before 6.0.6 — fixed in 4.19.264, 5.10.152, 5.15.76, 5.4.221, 6.0.6
How to fix
Upgrade to a fixed version: Linux kernel 4.19.264, 5.10.152, 5.15.76, 5.4.221. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/33fc9e26b7cb39f0d4219c875a2451802249c225
- https://git.kernel.org/stable/c/6bb8769326c46db3058780c0640dcc49d8187b24
- https://git.kernel.org/stable/c/97898139ca9b81ba9322a585e07490983c53b55a
- https://git.kernel.org/stable/c/a50ed2d28727ff605d95fb9a53be8ff94e8eaaf4
- https://git.kernel.org/stable/c/c4c84f06285e48f80e9843d0775ad92714ffc35a
- https://git.kernel.org/stable/c/dbe863bce7679c7f5ec0e993d834fe16c5e687b5
Get alerted when CVE-2022-50380 or the next vulnerability affects your stack