[SRU][Q][PATCH 0/1] crash when reading from /sys/kernel/tracing/rv/enabled_monitors (LP: #2131136)
Edoardo Canepa
edoardo.canepa at canonical.com
Wed Nov 12 11:59:15 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2131136
[ Impact ]
* As reported in https://lore.kernel.org/linux-trace-kernel/20250923002004.GA2836051@ax162/,
commit "rv: Fix wrong type cast in enabled_monitors_next()" introduces a crash when
accessing the sys node /sys/kernel/tracing/rv/enabled_monitors in Questing.
* The crash is induced by a a wrong type cast and fixed in upstream commit
103541e6a5854b08a25e4caa61e990af1009a52e:
"rv: Fully convert enabled_monitors to use list_head as iterator"
* The issue was originally detected while running ubuntu_ltp fs:read_all_sys as reported
in LP#2129834
[ Test Plan ]
* The issue can be reproduced by reading /sys/kernel/tracing/rv/enabled_monitors
node: no crash should occur
* Regression test ubuntu_ltp fs:read_all_sys will trigger the issue: the test
should be now able to complete
[ Where problems could occur ]
* Changes only affect the /sys/kernel/tracing/rv facility. It is therefore
highly unlikely that this change will cause regressions on anything else
[ Other Info ]
* Patch applies on questing without any conflicts
* Depends on "rv: Fix wrong type cast in enabled_monitors_next()" https://lkml.org/lkml/2025/8/6/599
More information about the kernel-team
mailing list