net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg (Linux Linux)

CVE-2024-49571
CRITICAL 9.1

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg When receiving proposal msg in server, the field iparea_offset and the field ipv6_prefixes_cnt in proposal msg are from the remote client and can not be fully trusted. Especially the field iparea_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen. This patch checks iparea_offset and ipv6_prefixes_cnt before using them.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/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 e7b7a64a8493d47433fd003efbe6543e3f676294 < 846bada23bfcdeb83621b045ed85dc06c7833ff0 ; affected e7b7a64a8493d47433fd003efbe6543e3f676294 < f10635268a0a49ee902a3b63b5dbb76f4fed498e ; affected e7b7a64a8493d47433fd003efbe6543e3f676294 < 62056d1592e63d85e82357ee2ae6a6a294f440b0 ; affected e7b7a64a8493d47433fd003efbe6543e3f676294 < 91a7c27c1444ed4677b83fd5308d2cf03f5f0851 ; affected e7b7a64a8493d47433fd003efbe6543e3f676294 < 47ce46349672a7e0c361bfe39ed0b22e824ef4fb ; affected e7b7a64a8493d47433fd003efbe6543e3f676294 < a29e220d3c8edbf0e1beb0f028878a4a85966556
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 5.10.233 ≤ 5.10.* ; unaffected 5.15.176 ≤ 5.15.* ; unaffected 6.1.122 ≤ 6.1.* ; unaffected 6.6.68 ≤ 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