Bug 2337099 (CVE-2024-49571)

Summary: CVE-2024-49571 kernel: net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dfreiber, drow, jburrell, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-01-11 13:01:36 UTC
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.

Comment 1 Avinash Hanwate 2025-01-13 08:24:25 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011142-CVE-2024-49571-c86d@gregkh/T

Comment 2 Avinash Hanwate 2025-01-13 11:23:23 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011142-CVE-2024-49571-c86d@gregkh/T