CVE-2024-35827

CVE Details

Release Date:2024-05-17

Description


In the Linux kernel, the following vulnerability has been resolved:\nio_uring/net: fix overflow check in io_recvmsg_mshot_prep()\nThe 'controllen' variable is type size_t (unsigned long). Casting it\nto int could lead to an integer underflow.\nThe check_add_overflow() function considers the type of the destination\nwhich is type int. If we add two positive values and the result cannot\nfit in an integer then that's counted as an overflow.\nHowever, if we cast 'controllen' to an int and it turns negative, then\nnegative values *can* fit into an int type so there is no overflow.\nGood: 100 + (unsigned long)-4 = 96 <-- overflow\nBad: 100 + (int)-4 = 96 <-- no overflow\nI deleted the cast of the sizeof() as well. That's not a bug but the\ncast is unnecessary.

See more information about CVE-2024-35827 from MITRE CVE dictionary and NIST NVD


CVSS Scoring


NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.

Base Score: 5.5 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector: Local network Attack Complexity: Low
Privileges Required: Low User Interaction: None
Scope: Unchanged Confidentiality Impact: None
Integrity Impact: None Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 9 (kernel)ELSA-2024-93152024-11-14


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete