Linux
orangefs: keep the readdir entry size 64-bit in fill_from_part()
In the Linux kernel, the following vulnerability has been resolved: orangefs: keep the readdir entry size 64-bit in fill_from_part() fill_from_part() computes the size of a directory entry in size_t but stores it in a __u32. An entry length near U32_MAX wraps it to a small value, bypasses the bounds check, and is then used to index the entry, reading far past the directory part -- an out-of-bounds read that oopses the kernel. Compute the size as a u64 so it cannot truncate; the bounds check then rejects the entry. The trailer is supplied by the userspace client.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < 1679780f482feeb82acb5995587d4fb1d1fe82fd
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < a72bbb43689591c9d36e3bb45c2d4e688cf92682
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < 36723b28e3293047f087f4501f1ef4ead418dd84
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < 07c05601a9a8e5d4481b2a4a16dc0e3c5bc63ad9
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < fdf06a1b66ff39664b01c6bb6a2aa98d81e8ebe1
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < 82fc886e244c76fadf05ef1958aaf8815478ccde
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < e3d325c0bdb7bc5d1b4cc8d8441d79794cd03729
- >= 480e3e532e31666a18520a7964bb4095d7a16b9a, < 18227a6bc98bd0ba96ed3ce9d5b28776a5a28dfc
Fixed in 1679780f482feeb82acb5995587d4fb1d1fe82fd, a72bbb43689591c9d36e3bb45c2d4e688cf92682, 36723b28e3293047f087f4501f1ef4ead418dd84, 07c05601a9a8e5d4481b2a4a16dc0e3c5bc63ad9, fdf06a1b66ff39664b01c6bb6a2aa98d81e8ebe1, 82fc886e244c76fadf05ef1958aaf8815478ccde, e3d325c0bdb7bc5d1b4cc8d8441d79794cd03729, 18227a6bc98bd0ba96ed3ce9d5b28776a5a28dfc
- 4.12
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 1679780f482feeb82acb5995587d4fb1d1fe82fd or a72bbb43689591c9d36e3bb45c2d4e688cf92682 or 36723b28e3293047f087f4501f1ef4ead418dd84 or 07c05601a9a8e5d4481b2a4a16dc0e3c5bc63ad9 or fdf06a1b66ff39664b01c6bb6a2aa98d81e8ebe1 or 82fc886e244c76fadf05ef1958aaf8815478ccde or e3d325c0bdb7bc5d1b4cc8d8441d79794cd03729 or 18227a6bc98bd0ba96ed3ce9d5b28776a5a28dfc or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.