powerpc/lib: Validate size for vector operations (Linux Linux)

CVE-2023-52606
HIGH 7.8

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: powerpc/lib: Validate size for vector operations Some of the fp/vmx code in sstep.c assume a certain maximum size for the instructions being emulated. The size of those operations however is determined separately in analyse_instr(). Add a check to validate the assumption on the maximum size of the operations, so as to prevent any unintended kernel stack corruption.

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < 42084a428a139f1a429f597d44621e3a18f3e414 ; affected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < 0580f4403ad33f379eef865c2a6fe94de37febdf ; affected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < beee482cc4c9a6b1dcffb2e190b4fd8782258678 ; affected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < de4f5ed63b8a199704d8cdcbf810309d7eb4b36b ; affected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < abd26515d4b767ba48241eea77b28ce0872aef3e ; affected c22435a5f3d8f85ea162ae523a6ba60a58521ba5 < 28b8ba8eebf26f66d9f2df4ba550b6b3b136082c
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 4.19.307 ≤ 4.19.* ; unaffected 5.4.269 ≤ 5.4.* ; unaffected 5.10.210 ≤ 5.10.* ; unaffected 5.15.149 ≤ 5.15.*

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