In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Add checking nr_subbufs to persistent ring buffer validation Sashiko reported that the code was using meta->nr_subbufs without making sure that it matched the nr_pages + 1 on data that was assuming the two were the same. Add a check to the persistent ring buffer validation code to make sure that the saved nr_subbufs matches what we expect.
https://git.kernel.org/stable/c/f0467190e6a9fc61e343c8064ef16aad513788c3
https://git.kernel.org/stable/c/6c001a62c34f13fe1c6a24304c289b387d9e697d
https://git.kernel.org/stable/c/69d502457e3f76142f7fcf6e2625e80e0ce8a60f