CVE-2022-50030

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

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:01 AM UTC
Updated: June 17, 2026 at 05:22 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2114.11 ≤ v < 5.10.1384.11 ≤ v < 5.15.634.11 ≤ v < 5.19.44.11 ≤ v < 5.4.2114.11 ≤ v < 6.05.11 ≤ v < 5.15.635.16 ≤ v < 5.19.45.5 ≤ v < 5.10.1384.11bd2cdd5e400f5914bc30d5cfb0a0185cf51e4424
Vendor states this is fixed in 2d544e9d19c109dfe34b3dc1253a8b2971abe060 (fixed)
Vendor states this is fixed in 927907f1cbb3408cadde637fccfc17bb6b10a87d (fixed)
Vendor states this is fixed in b92506dc51f81741eb26609175ac206c20f06e0a (fixed)
Vendor states this is fixed in c29a4baaad38a332c0ae480cf6d6c5bf75ac1828 (fixed)
Vendor states this is fixed in f8191d40aa612981ce897e66cda6a88db8df17bb (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 5.10.138 (unaffected)
Vendor states this is fixed in 5.15.63 (unaffected)
Vendor states this is fixed in 5.19.4 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2d544e9d19c109dfe34b3dc1253a8b2971abe060
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/927907f1cbb3408cadde637fccfc17bb6b10a87d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b92506dc51f81741eb26609175ac206c20f06e0a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c29a4baaad38a332c0ae480cf6d6c5bf75ac1828
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f8191d40aa612981ce897e66cda6a88db8df17bb

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card