In the Linux kernel, the following vulnerability has been resolved:
iomap: Fix possible overflow condition in iomapwritedelalloc_scan
folionextindex() returns an unsigned long value which left shifted by PAGESHIFT could possibly cause an overflow on 32-bit system. Instead use foliopos(folio) + folio_size(folio), which does this correctly.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54285.json",
"cna_assigner": "Linux"
}[
{
"target": {
"file": "fs/iomap/buffered-io.c"
},
"id": "CVE-2023-54285-16b315e5",
"digest": {
"line_hashes": [
"23699527162202826417039158523948215229",
"308539140903303735631338584533250641626",
"127250389720151152148948625744889027783",
"162034620703906287266226588741276444814"
],
"threshold": 0.9
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line"
},
{
"target": {
"function": "iomap_write_delalloc_scan",
"file": "fs/iomap/buffered-io.c"
},
"id": "CVE-2023-54285-de1ee0ac",
"digest": {
"function_hash": "134207726451548627621827634555375326658",
"length": 690.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240",
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54285.json"