PT-2025-49454 · Linux+1 · Linux Kernel+1
Published
2022-11-14
·
Updated
2026-04-20
·
CVE-2022-50583
CVSS v2.0
6.0
Medium
| Vector | AV:L/AC:H/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A flaw exists in the Linux kernel’s md/raid0 and raid10 subsystems related to discard sector handling. The issue arises because the code incorrectly sets the maximum discard sectors, potentially leading to warning messages during operations like filesystem creation with
mkfs.xfs. Specifically, the code should utilize disk stack limits to determine the appropriate maximum discard sectors, but instead sets a value based on stack drivers. This can result in an incorrect value being reported for devices that are not solid-state drives (SSD) or NVMe devices, while raid0/raid10 incorrectly exports the wrong value. The issue manifests as warnings during discard operations, as observed in the blkdev issue discard function.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Stack Overflow
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Debian
Linux Kernel