pstore/ram: Fix crash when setting number of cpus to an odd number (Linux Linux)

CVE-2023-52619
MEDIUM 5.5

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: pstore/ram: Fix crash when setting number of cpus to an odd number When the number of cpu cores is adjusted to 7 or other odd numbers, the zone size will become an odd number. The address of the zone will become: addr of zone0 = BASE addr of zone1 = BASE + zone_size addr of zone2 = BASE + zone_size*2 ... The address of zone1/3/5/7 will be mapped to non-alignment va. Eventually crashes will occur when accessing these va. So, use ALIGN_DOWN() to make sure the zone size is even to avoid this bug.

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 de83209249d64bad993f25d3ea4bba57683e2e2e < 8b69c30f4e8b69131d92096cb296dc1f217101e4 ; affected de83209249d64bad993f25d3ea4bba57683e2e2e < e9f6ac50890104fdf8194f2865680689239d30fb ; affected de83209249d64bad993f25d3ea4bba57683e2e2e < a63e48cd835c34c38ef671d344cc029b1ea5bf10 ; affected de83209249d64bad993f25d3ea4bba57683e2e2e < 2a37905d47bffec61e95d99f0c1cc5dc6377956c ; affected de83209249d64bad993f25d3ea4bba57683e2e2e < 75b0f71b26b3ad833c5c0670109c0af6e021e86a ; affected de83209249d64bad993f25d3ea4bba57683e2e2e < 0593cfd321df9001142a9d2c58d4144917dff7ee
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; 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