tools/nolibc/stdlib: fix memory error in realloc() (Linux Linux)

CVE-2024-38585
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: tools/nolibc/stdlib: fix memory error in realloc() Pass user_p_len to memcpy() instead of heap->len to prevent realloc() from copying an extra sizeof(heap) bytes from beyond the allocated region.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0e0ff638400be8f497a35b51a4751fd823f6bd6a < 5996b2b2dac739f2a27da13de8eee5b85b2550b3 ; affected 0e0ff638400be8f497a35b51a4751fd823f6bd6a < f678c3c336559cf3255a32153e9a17c1be4e7c15 ; affected 0e0ff638400be8f497a35b51a4751fd823f6bd6a < 8019d3dd921f39a237a9fab6d2ce716bfac0f983 ; affected 0e0ff638400be8f497a35b51a4751fd823f6bd6a < 4e6f225aefeb712cdb870176b6621f02cf235b8c ; affected 0e0ff638400be8f497a35b51a4751fd823f6bd6a < 791f4641142e2aced85de082e5783b4fb0b977c2
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.93 ≤ 6.1.* ; unaffected 6.6.33 ≤ 6.6.* ; unaffected 6.8.12 ≤ 6.8.* ; unaffected 6.9.3 ≤ 6.9.*

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