CVE-2022-50406

iomap: iomap: fix memory corruption when recording errors during writeback

References

Notes

 carnil> Introduced in e735c0079465 ("iomap: Convert iomap_add_to_ioend() to take a
 carnil> folio") # 5.17 onward
 carnil> 598ecfbaa742 ("iomap: lift the xfs writeback code to iomap") # 5.5-5.16, needs
 carnil> backporting
 carnil> 150d5be09ce4 ("xfs: remove xfs_cancel_ioend") # 4.6-5.4, needs backporting.
 carnil> Vulnerable versions: 4.6.

Bugs

Status

Branch Status
upstream released (6.1-rc1) [3d5f3ba1ac28059bdf7000cae2403e4e984308d2]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.16-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.6-upstream-stable N/A "Fixed before branching point"
6.1-upstream-stable N/A "Fixed before branching point"
5.10-upstream-stable needed
sid released (6.0.3-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security N/A "Fixed before branching point"
5.10-bullseye-security needed