Bug 2327189 (CVE-2024-50272) - CVE-2024-50272 kernel: filemap: Fix bounds checking in filemap_read()
Summary: CVE-2024-50272 kernel: filemap: Fix bounds checking in filemap_read()
Keywords:
Status: NEW
Alias: CVE-2024-50272
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2327231
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-19 02:02 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:35 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:35:16 UTC

Description OSIDB Bzimport 2024-11-19 02:02:47 UTC
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.

Comment 1 Avinash Hanwate 2024-11-19 05:01:40 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024111930-CVE-2024-50272-5691@gregkh/T

Comment 2 errata-xmlrpc 2025-05-13 08:35:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.