diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-09-03 13:27:28 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-09-03 14:32:49 -0400 |
| commit | 6c001a62c34f13fe1c6a24304c289b387d9e697d (patch) | |
| tree | 43d8ad94a833393d7a0a9e1fb4198e93e25dfbbf /scripts/Makefile.thinlto | |
| parent | 6365c44a824ff138e7926413932bb5c2e28a4c8c (diff) | |
| download | linux-6c001a62c34f13fe1c6a24304c289b387d9e697d.tar.gz linux-6c001a62c34f13fe1c6a24304c289b387d9e697d.zip | |
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.
Link: https://patch.msgid.link/20260903132728.7fb27d34@gandalf.local.home
Fixes: f5b95f1fa2ef3 ("ring-buffer: Validate the persistent meta data subbuf array")
Reported-by: sashiko-bot@kernel.org
Closes: https://lore.kernel.org/all/20260901164836.D962D1F000E9@smtp.kernel.org/
Reviewed-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
