ALSA: line6: Fix racy access to midibuf (Linux Linux)

CVE-2024-44954
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Fix racy access to midibuf There can be concurrent accesses to line6 midibuf from both the URB completion callback and the rawmidi API access. This could be a cause of KMSAN warning triggered by syzkaller below (so put as reported-by here). This patch protects the midibuf call of the former code path with a spinlock for avoiding the possible races.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 705ececd1c60d0f5d6ef2a719008847883516970 < 643293b68fbb6c03f5e907736498da17d43f0d81 ; affected 705ececd1c60d0f5d6ef2a719008847883516970 < 40f3d5cb0e0cbf7fa697913a27d5d361373bdcf5 ; affected 705ececd1c60d0f5d6ef2a719008847883516970 < e7e7d2b180d8f297cea6db43ea72402fd33e1a29 ; affected 705ececd1c60d0f5d6ef2a719008847883516970 < a54da4b787dcac60b598da69c9c0072812b8282d ; affected 705ececd1c60d0f5d6ef2a719008847883516970 < c80f454a805443c274394b1db0d1ebf477abd94e ; affected 705ececd1c60d0f5d6ef2a719008847883516970 < 535df7f896a568a8a1564114eaea49d002cb1747
Linux · Linuxaffected 2.6.30 ; unaffected 0 < 2.6.30 ; unaffected 4.19.320 ≤ 4.19.* ; unaffected 5.4.282 ≤ 5.4.* ; unaffected 5.10.224 ≤ 5.10.* ; unaffected 5.15.165 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD