GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2022-50719 (GCVE-0-2022-50719)

Vulnerability from cvelistv5 – Published: 2025-12-24 12:22 – Updated: 2026-08-05 08:59
VLAI
Title
ALSA: line6: fix stack overflow in line6_midi_transmit
Summary
In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: fix stack overflow in line6_midi_transmit Correctly calculate available space including the size of the chunk buffer. This fixes a buffer overflow when multiple MIDI sysex messages are sent to a PODxt device.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < b026af92b2cea907c780f7168c730c816cd33311 (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 49cb7737e733013ec86aa77ed2e19b94a68eaa05 (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 0c76087449ee4ed45a88b10017d02c6694caedb1 (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 25e8c6ecb46843a955f254b8f0d77894e4a53dc4 (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 66f359ad66d49f75d39ac729f9114dabf90b81bb (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 0c9118e381ff538874e00fd4e66a768273c150fb (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 61e4be4a60cc6de723f8c574ddbcb3025eb44cac (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < 389d34c2a8b52acc351fd932ed4bea41fee5a39b (git)
Affected: f2459201c72e8f8553644505eed19954d4c3a023 , < b8800d324abb50160560c636bfafe2c81001b66c (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.15
Unaffected: 0 , < 3.15 (semver)
Unaffected: 4.9.337 , ≤ 4.9.* (semver)
Unaffected: 4.14.303 , ≤ 4.14.* (semver)
Unaffected: 4.19.270 , ≤ 4.19.* (semver)
Unaffected: 5.4.229 , ≤ 5.4.* (semver)
Unaffected: 5.10.163 , ≤ 5.10.* (semver)
Unaffected: 5.15.87 , ≤ 5.15.* (semver)
Unaffected: 6.0.17 , ≤ 6.0.* (semver)
Unaffected: 6.1.3 , ≤ 6.1.* (semver)
Unaffected: 6.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/line6/midi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b026af92b2cea907c780f7168c730c816cd33311",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "49cb7737e733013ec86aa77ed2e19b94a68eaa05",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "0c76087449ee4ed45a88b10017d02c6694caedb1",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "25e8c6ecb46843a955f254b8f0d77894e4a53dc4",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "66f359ad66d49f75d39ac729f9114dabf90b81bb",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "0c9118e381ff538874e00fd4e66a768273c150fb",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "61e4be4a60cc6de723f8c574ddbcb3025eb44cac",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "389d34c2a8b52acc351fd932ed4bea41fee5a39b",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            },
            {
              "lessThan": "b8800d324abb50160560c636bfafe2c81001b66c",
              "status": "affected",
              "version": "f2459201c72e8f8553644505eed19954d4c3a023",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "sound/usb/line6/midi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.15"
            },
            {
              "lessThan": "3.15",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.87",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.87",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.17",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.3",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "3.15",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: line6: fix stack overflow in line6_midi_transmit\n\nCorrectly calculate available space including the size of the chunk\nbuffer. This fixes a buffer overflow when multiple MIDI sysex\nmessages are sent to a PODxt device."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Reached by writing MIDI/sysex to the local ALSA rawmidi node (/dev/snd/midiC*D*) once a Line 6 CONTROL_MIDI device is bound; presence of the device is an environmental precondition, not a physical attack vector (same model as CVE-2024-44954).\nAC:L - An unprivileged local user can deterministically overflow the 16-byte stack chunk by sending MIDI data whenever max_packet_size exceeds LINE6_FALLBACK_MAXPACKETSIZE (as on a real PODxt); no race or uncontrollable layout is required.\nPR:L - Only ordinary access to the ALSA rawmidi character device is needed, which desktop/session users get via udev ACLs or audio group membership; no CAP_SYS_ADMIN or root is required.\nUI:N - The attacker opens the rawmidi node and writes the overflowing MIDI payload themselves; no separate victim action such as mounting a filesystem is required.\nS:U - Stack corruption and any resulting privilege escalation remain within the host kernel\u0027s security authority; this is not a VM escape or IOMMU/DMA boundary bypass.\nC:H - Attacker-controlled stack overflow is memory corruption that can be leveraged for information disclosure (e.g., via corrupted stack frames or subsequent primitives), so Confidentiality is High per OOB-write guidance.\nI:H - The out-of-bounds write into the stack chunk with attacker-controlled MIDI bytes can overwrite return addresses and locals, yielding a control-flow hijack / arbitrary-write primitive.\nA:H - Stack buffer overflow reliably corrupts kernel stack state and can oops/panic the kernel even when not fully weaponized, so Availability is High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T08:59:28.963Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b026af92b2cea907c780f7168c730c816cd33311"
        },
        {
          "url": "https://git.kernel.org/stable/c/49cb7737e733013ec86aa77ed2e19b94a68eaa05"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c76087449ee4ed45a88b10017d02c6694caedb1"
        },
        {
          "url": "https://git.kernel.org/stable/c/25e8c6ecb46843a955f254b8f0d77894e4a53dc4"
        },
        {
          "url": "https://git.kernel.org/stable/c/66f359ad66d49f75d39ac729f9114dabf90b81bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/0c9118e381ff538874e00fd4e66a768273c150fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/61e4be4a60cc6de723f8c574ddbcb3025eb44cac"
        },
        {
          "url": "https://git.kernel.org/stable/c/389d34c2a8b52acc351fd932ed4bea41fee5a39b"
        },
        {
          "url": "https://git.kernel.org/stable/c/b8800d324abb50160560c636bfafe2c81001b66c"
        }
      ],
      "title": "ALSA: line6: fix stack overflow in line6_midi_transmit",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50719",
    "datePublished": "2025-12-24T12:22:42.697Z",
    "dateReserved": "2025-12-24T12:20:40.329Z",
    "dateUpdated": "2026-08-05T08:59:28.963Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-50719",
      "date": "2026-09-15",
      "epss": "0.00221",
      "percentile": "0.12744"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50719\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-24T13:15:58.560\",\"lastModified\":\"2026-08-04T10:18:22.053\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nALSA: line6: fix stack overflow in line6_midi_transmit\\n\\nCorrectly calculate available space including the size of the chunk\\nbuffer. This fixes a buffer overflow when multiple MIDI sysex\\nmessages are sent to a PODxt device.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"sound/usb/line6/midi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"b026af92b2cea907c780f7168c730c816cd33311\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"49cb7737e733013ec86aa77ed2e19b94a68eaa05\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"0c76087449ee4ed45a88b10017d02c6694caedb1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"25e8c6ecb46843a955f254b8f0d77894e4a53dc4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"66f359ad66d49f75d39ac729f9114dabf90b81bb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"0c9118e381ff538874e00fd4e66a768273c150fb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"61e4be4a60cc6de723f8c574ddbcb3025eb44cac\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"389d34c2a8b52acc351fd932ed4bea41fee5a39b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f2459201c72e8f8553644505eed19954d4c3a023\",\"lessThan\":\"b8800d324abb50160560c636bfafe2c81001b66c\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"sound/usb/line6/midi.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.15\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.15\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.9.337\",\"lessThanOrEqual\":\"4.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.303\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.270\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.229\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.163\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.87\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.0.17\",\"lessThanOrEqual\":\"6.0.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.3\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0c76087449ee4ed45a88b10017d02c6694caedb1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0c9118e381ff538874e00fd4e66a768273c150fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/25e8c6ecb46843a955f254b8f0d77894e4a53dc4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/389d34c2a8b52acc351fd932ed4bea41fee5a39b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/49cb7737e733013ec86aa77ed2e19b94a68eaa05\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/61e4be4a60cc6de723f8c574ddbcb3025eb44cac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/66f359ad66d49f75d39ac729f9114dabf90b81bb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b026af92b2cea907c780f7168c730c816cd33311\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b8800d324abb50160560c636bfafe2c81001b66c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-04T22:59:16+00:00",
      "cve": "CVE-2022-50719",
      "id": "CVE-2022-50719",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "90",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: ALSA: line6: fix stack overflow in line6_midi_transmit",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50719.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-31T01:21:24Z",
      "cve": "CVE-2022-50719",
      "id": "CVE-2022-50719",
      "initial_release_date": "2025-12-25T01:05:01Z",
      "product_status:known_affected": "522",
      "product_status:known_not_affected": "155",
      "product_status:recommended": "233",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2022-50719",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2022-50719.json",
      "version": "31"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…