iomap: Fix possible overflow condition in iomap_write_delalloc_scan (Linux Linux)

CVE-2023-54285
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: iomap: Fix possible overflow condition in iomap_write_delalloc_scan folio_next_index() returns an unsigned long value which left shifted by PAGE_SHIFT could possibly cause an overflow on 32-bit system. Instead use folio_pos(folio) + folio_size(folio), which does this correctly.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 38be53c3fd7f4f4bd5de319a323d72f9f6beb16d < 0c6cf409093f307ee05114f834516730c0da5b21 ; affected f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 < 5c281b0c5d18c8eeb1cfd5023f4adb153e6d1240 ; affected f43dc4dc3eff028b5ddddd99f3a66c5a6bdd4e78 < eee2d2e6ea5550118170dbd5bb1316ceb38455fb ; affected 6.1.92 < 6.1.162
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.1.162 ≤ 6.1.* ; unaffected 6.5.5 ≤ 6.5.* ; unaffected 6.6 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD