i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data. (Linux Linux)

CVE-2023-52763
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data. The `i3c_master_bus_init` function may attach the I2C devices before the I3C bus initialization. In this flow, the DAT `alloc_entry`` will be used before the DAT `init`. Additionally, if the `i3c_master_bus_init` fails, the DAT `cleanup` will execute before the device is detached, which will execue DAT `free_entry` function. The above scenario can cause the driver to use DAT_data when it is NULL.

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 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < 39c71357e68e2f03766f9321b9f4882e49ff1442 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < e64d23dc65810be4e3395d72df0c398f60c991f9 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < 3cb79a365e7cce8f121bba91312e2ddd206b9781 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < eed74230435c61eeb58abaa275b1820e6a4b7f02 ; affected 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0 < b53e9758a31c683fc8615df930262192ed5f034b
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.*

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