CVE-2024-50188

medium

Description

In the Linux kernel, the following vulnerability has been resolved: net: phy: dp83869: fix memory corruption when enabling fiber When configuring the fiber port, the DP83869 PHY driver incorrectly calls linkmode_set_bit() with a bit mask (1 << 10) rather than a bit number (10). This corrupts some other memory location -- in case of arm64 the priv pointer in the same structure. Since the advertising flags are updated from supported at the end of the function the incorrect line isn't needed at all and can be removed.

References

https://git.kernel.org/stable/c/e3f2de32dae35bc7d173377dc97b5bc9fcd9fc84

https://git.kernel.org/stable/c/c1944b4253649fc6f2fb53e7d6302eb414d2182c

https://git.kernel.org/stable/c/ad0d76b8ee5db063791cc2e7a30ffc9852ac37c4

https://git.kernel.org/stable/c/a842e443ca8184f2dc82ab307b43a8b38defd6a5

https://git.kernel.org/stable/c/9ca634676ff66e1d616259e136f96f96b2a1759a

https://git.kernel.org/stable/c/21b5af7f0c99b3bf1fd02016e6708b613acbcaf4

Details

Source: Mitre, NVD

Published: 2024-11-08

Updated: 2024-11-27

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium