usb-storage: alauda: Check whether the media is initialized (Linux Linux)

CVE-2024-38619
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: usb-storage: alauda: Check whether the media is initialized The member "uzonesize" of struct alauda_info will remain 0 if alauda_init_media() fails, potentially causing divide errors in alauda_read_data() and alauda_write_lba(). - Add a member "media_initialized" to struct alauda_info. - Change a condition in alauda_check_media() to ensure the first initialization. - Add an error check for the return value of alauda_init_media().

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/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 e80b0fade09ef1ee67b0898d480d4c588f124d5f < e0aab7b07a9375337847c9d74a5ec044071e01c8 ; affected e80b0fade09ef1ee67b0898d480d4c588f124d5f < 51fe16c058acb22f847e69bc598066ed0bcd5c15 ; affected e80b0fade09ef1ee67b0898d480d4c588f124d5f < f68820f1256b21466ff094dd97f243b7e708f9c1 ; affected e80b0fade09ef1ee67b0898d480d4c588f124d5f < 3eee13ab67f65606faa66e0c3c729e4f514838fd ; affected e80b0fade09ef1ee67b0898d480d4c588f124d5f < e0e2eec76920a133dd49a4fbe4656d83596a1361 ; affected e80b0fade09ef1ee67b0898d480d4c588f124d5f < 2cc32639ec347e3365075b130f9953ef16cb13f1
Linux · Linuxaffected 2.6.16 ; unaffected 0 < 2.6.16 ; unaffected 4.19.317 ≤ 4.19.* ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 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