CVE-2021-47039
In the Linux kernel, the following vulnerability has been resolved: ataflop: potential out of bounds in do_format() The function uses "type" as an array index: q = unit[drive].disk[type]->queue; Unfortunately the bounds check on "type" isn't done until…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
In the Linux kernel, the following vulnerability has been resolved: ataflop: potential out of bounds in do_format() The function uses "type" as an array index: q = unit[drive].disk[type]->queue; Unfortunately the bounds check on "type" isn't done until later in the function. Fix this by moving the bounds check to the start.
- CVSS 3.1
- 7.1 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- EPSS
- 0.24% probability · 16th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-125
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671Patch
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1Patch
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957Patch
- https://git.kernel.org/stable/c/07f86aa8f4fe077be1b018cc177eb8c6573e5671Patch
- https://git.kernel.org/stable/c/1ffec389a6431782a8a28805830b6fae9bf00af1Patch
- https://git.kernel.org/stable/c/2a3a8bbca28b899806844c00d49ed1b7ccb50957Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.