# CVE-2022-50030: scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-06-18T11:01:33.345Z
- Modified: 2026-06-17T05:22:35.923Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input

Malformed user input to debugfs results in buffer overflow crashes.  Adapt
input string lengths to fit within internal buffers, leaving space for NULL
terminators.

(As written by CVE List.)

## Affected

- Linux Linux: from bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424 before 927907f1cbb3408cadde637fccfc17bb6b10a87d; from bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424 before c29a4baaad38a332c0ae480cf6d6c5bf75ac1828; from bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424 before b92506dc51f81741eb26609175ac206c20f06e0a; from bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424 before 2d544e9d19c109dfe34b3dc1253a8b2971abe060; from bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424 before f8191d40aa612981ce897e66cda6a88db8df17bb; 4.11 (not affected: before 4.11; from 5.4.211 up to 5.4.*; from 5.10.138 up to 5.10.*; from 5.15.63 up to 5.15.*; from 5.19.4 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: before 5.4.211; from 5.5 before 5.10.138; from 5.11 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/927907f1cbb3408cadde637fccfc17bb6b10a87d> (patch)
- <https://git.kernel.org/stable/c/c29a4baaad38a332c0ae480cf6d6c5bf75ac1828> (patch)
- <https://git.kernel.org/stable/c/b92506dc51f81741eb26609175ac206c20f06e0a> (patch)
- <https://git.kernel.org/stable/c/2d544e9d19c109dfe34b3dc1253a8b2971abe060> (patch)
- <https://git.kernel.org/stable/c/f8191d40aa612981ce897e66cda6a88db8df17bb> (patch)

## Sources

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

---

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