CVE-2024-35827

CVE Details

Release Date:2024-05-17
Impact:Low What is this?

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


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


CVSS v3 metrics

Base Score: 5.5
Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Version: 3.1
Attack Vector: Local
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