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: 2024-11-21 19:03 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

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


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