ksmbd: check outstanding simultaneous SMB operations (Linux Linux)

CVE-2024-50285
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.61 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: check outstanding simultaneous SMB operations If Client send simultaneous SMB operations to ksmbd, It exhausts too much memory through the "ksmbd_work_cache”. It will cause OOM issue. ksmbd has a credit mechanism but it can't handle this problem. This patch add the check if it exceeds max credits to prevent this problem by assuming that one smb request consumes at least one credit.

Weaknesses (CWE)

  • CWE-770 — Allocation of Resources Without Limits or Throttling

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf < d2e2830c19824c221b6f5e17bf272438cc0e601c
affected : ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf < 1f993777275cbd8f74765c4f9d9285cb907c9be5
affected : ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf < e257ac6fe138623cf59fca8898abdf659dbc8356
affected : ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf < 0a77d947f599b1f39065015bec99390d0c0022ee
Other versions : unaffected
Linux · Linux
affected : 5.15
unaffected : ≥ 0 < 5.15
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.61 ≤ 6.6.*
unaffected : ≥ 6.11.8 ≤ 6.11.*
unaffected : ≥ 6.12 ≤ *
Other versions : affected

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