thermal/drivers/hisi: Drop second sensor hi3660 (Linux Linux)

CVE-2023-53242
HIGH 7.1

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/hisi: Drop second sensor hi3660 The commit 74c8e6bffbe1 ("driver core: Add __alloc_size hint to devm allocators") exposes a panic "BRK handler: Fatal exception" on the hi3660_thermal_probe funciton. This is because the function allocates memory for only one sensors array entry, but tries to fill up a second one. Fix this by removing the unneeded second access.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/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

ProductVersions
Linux · Linuxaffected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < 3cf2181e438f43ed24e12424fe36d156cca233b9 ; affected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < e02bc492883abf751fd1a8d89fc025fbce6744c6 ; affected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < f5aaf140ab1c02889c088e1b1098adad600541af ; affected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < 9f6756cd09889c7201ee31e6f76fbd914fb0b80d ; affected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < 68e675a9b69cfc34dd915d91a4650e3ee53421f4 ; affected 7d3a2a2bbadb4bf5856ed394ba09b8fbb7a80460 < 15cc25829a97c3957e520e971868aacc84341317
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.235 ≤ 5.4.* ; unaffected 5.10.173 ≤ 5.10.* ; unaffected 5.15.99 ≤ 5.15.* ; unaffected 6.1.16 ≤ 6.1.*

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