Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-50272

filemap: Fix bounds checking in filemap_read()

Description

In the Linux kernel, the following vulnerability has been resolved: filemap: Fix bounds checking in filemap_read() If the caller supplies an iocb->ki_pos value that is close to the filesystem upper limit, and an iterator with a count that causes us to overflow that limit, then filemap_read() enters an infinite loop. This behaviour was discovered when testing xfstests generic/525 with the "localio" optimisation for loopback NFS mounts.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • c2a9737f45e27d8263ff9643f994bda9bac0b944 to < 6cc52df69e8464811f9f6fc12f7aaa78451eb0b8affected
  • c2a9737f45e27d8263ff9643f994bda9bac0b944 to < 26530b757c81f1389fb33ae0357500150933161baffected
  • c2a9737f45e27d8263ff9643f994bda9bac0b944 to < a2746ab3bbc9c6408da5cd072653ec8c24749235affected
  • c2a9737f45e27d8263ff9643f994bda9bac0b944 to < 6450e73f4c86d481ac2e22e1bc848d346e140826affected
  • c2a9737f45e27d8263ff9643f994bda9bac0b944 to < ace149e0830c380ddfce7e466fe860ca502fe4eeaffected
  • 272830350bb1bb5bb39395966ea63b9864b135d1affected
  • fbc7b803831e5c8a42c1f3427a17e55a814d6b3caffected
  • 3d549dcfbbb0ecdaa571431a27ee5da9f2466716affected
  • 3.16.40 to < 3.17affected
  • 4.7.10 to < 4.8affected
  • 4.8.4 to < 4.9affected

Linux Linux

Default version status: affected

  • 4.9affected
  • 0 to < 4.9unaffected
  • 5.15.181 to ≤ 5.15.*unaffected
  • 6.1.117 to ≤ 6.1.*unaffected
  • 6.6.61 to ≤ 6.6.*unaffected
  • 6.11.8 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References