# CVE-2022-50380: mm: /proc/pid/smaps_rollup: fix no vma's null-deref

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:02.472Z
- Modified: 2026-06-17T05:23:23.173Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 258f669e7e88c18edbc23fe5ce00a476b924551f before dbe863bce7679c7f5ec0e993d834fe16c5e687b5; from 258f669e7e88c18edbc23fe5ce00a476b924551f before 6bb8769326c46db3058780c0640dcc49d8187b24; from 258f669e7e88c18edbc23fe5ce00a476b924551f before a50ed2d28727ff605d95fb9a53be8ff94e8eaaf4; from 258f669e7e88c18edbc23fe5ce00a476b924551f before 33fc9e26b7cb39f0d4219c875a2451802249c225; from 258f669e7e88c18edbc23fe5ce00a476b924551f before 97898139ca9b81ba9322a585e07490983c53b55a; from 258f669e7e88c18edbc23fe5ce00a476b924551f before c4c84f06285e48f80e9843d0775ad92714ffc35a; 4.19 (not affected: before 4.19; from 4.19.264 up to 4.19.*; from 5.4.221 up to 5.4.*; from 5.10.152 up to 5.10.*; from 5.15.76 up to 5.15.*; from 6.0.6 up to 6.0.*; from 6.1 up to *)
- linux 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

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dbe863bce7679c7f5ec0e993d834fe16c5e687b5> (patch)
- <https://git.kernel.org/stable/c/6bb8769326c46db3058780c0640dcc49d8187b24> (patch)
- <https://git.kernel.org/stable/c/a50ed2d28727ff605d95fb9a53be8ff94e8eaaf4> (patch)
- <https://git.kernel.org/stable/c/33fc9e26b7cb39f0d4219c875a2451802249c225> (patch)
- <https://git.kernel.org/stable/c/97898139ca9b81ba9322a585e07490983c53b55a> (patch)
- <https://git.kernel.org/stable/c/c4c84f06285e48f80e9843d0775ad92714ffc35a> (patch)

## Sources

- CVE List: [CVE-2022-50380](https://www.cve.org/CVERecord?id=CVE-2022-50380), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50380](https://nvd.nist.gov/vuln/detail/CVE-2022-50380), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50380 · Whole record: https://cve.day/CVE-2022-50380.json · Rebuilt by cve.day 2026-11-25T22:58:21.189Z
