CVE-2024-38543

lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure

References

Notes

 carnil> Introduced in b2ef9f5a5cb3 ("mm/hmm/test: add selftest driver for HMM").
 carnil> Vulnerable versions: 5.8-rc1.

Bugs

Status

Branch Status
upstream released (6.10-rc1) [c2af060d1c18beaec56351cf9c9bcbbc5af341a3]
6.18-upstream-stable N/A "Fixed before branching point"
6.17-upstream-stable N/A "Fixed before branching point"
6.12-upstream-stable N/A "Fixed before branching point"
6.9-upstream-stable released (6.9.3) [3b20d18f475bd17309db640dbe7d7c7ebb5bc2bc]
6.6-upstream-stable released (6.6.33) [65e528a69cb3ed4a286c45b4afba57461c8b5b33]
6.1-upstream-stable released (6.1.93) [1a21fdeea502658e315bd939409b755974f4fb64]
5.10-upstream-stable needed
4.19-upstream-stable N/A "Vulnerable code not present"
sid released (6.8.12-1)
6.12-trixie-security N/A "Fixed before branching point"
6.1-bookworm-security released (6.1.94-1)
5.10-bullseye-security needed
4.19-buster-security N/A "Vulnerable code not present"