driver: soc: xilinx: use _safe loop iterator to avoid a use after free (Linux Linux)

CVE-2023-54101
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: driver: soc: xilinx: use _safe loop iterator to avoid a use after free The hash_for_each_possible() loop dereferences "eve_data" to get the next item on the list. However the loop frees eve_data so it leads to a use after free. Use hash_for_each_possible_safe() instead.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected c7fdb2404f66131bc9c22e06f712717288826487 < 49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0 ; affected c7fdb2404f66131bc9c22e06f712717288826487 < f16599e638073ef0b2828bb64f5e99138e9381b5 ; affected c7fdb2404f66131bc9c22e06f712717288826487 < 256aace3a5d8c987183ba4832dffb36f48ea7d3b ; affected c7fdb2404f66131bc9c22e06f712717288826487 < c58da0ba3e5c86e51e2c1557afaf6f71e00c4533
Linux · Linuxaffected 5.17 ; unaffected 0 < 5.17 ; unaffected 6.1.39 ≤ 6.1.* ; unaffected 6.3.13 ≤ 6.3.* ; unaffected 6.4.4 ≤ 6.4.* ; unaffected 6.5 ≤ *

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